Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

改进建立引用索引 #7320

Closed
88250 opened this issue Feb 10, 2023 · 0 comments
Closed

改进建立引用索引 #7320

88250 opened this issue Feb 10, 2023 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Feb 10, 2023

https://ld246.com/article/1675994955668

之前的实现是从数据库中搜索存在引用的块,这样可能会导致遗漏,因为数据库是异步写入的。

改进为从文件系统加载 tree 后遍历,这样会稍微慢一点,但是更可靠。

@88250 88250 added this to the 2.7.5 milestone Feb 10, 2023
@88250 88250 self-assigned this Feb 10, 2023
88250 added a commit that referenced this issue Feb 10, 2023
88250 added a commit that referenced this issue Feb 10, 2023
@88250 88250 closed this as completed Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant