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

大幅提升启动速度 #4975

Closed
88250 opened this issue May 21, 2022 · 6 comments
Closed

大幅提升启动速度 #4975

88250 opened this issue May 21, 2022 · 6 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented May 21, 2022

之前因为考虑到文件系统外部变更(比如手工移动数据文件),所以每次内核启动都要做一致性对比,如果不一致则重建索引。

随着功能进一步完善(比如支持移动文档、数据历史回滚),在文件系统上直接操作数据文件的情况也变得比较少了。所以考虑跳过一致性对比,直接进入下一步。

这个改动之后,文件系统外部变更启动后需要手动触发重建索引。

@88250 88250 added this to the 2.0.12 milestone May 21, 2022
@88250 88250 self-assigned this May 21, 2022
@88250 88250 closed this as completed May 21, 2022
@AugustTuan
Copy link

这个优化以后能有多快,是不是可以像手机软件那样秒开了?

@88250
Copy link
Member Author

88250 commented May 22, 2022

@qifengle1998 同步数据的时候还是要卡一下。

@Tlonglan
Copy link

说起这个移动数据,文档树多选拖拽 #1359的功能什么时候会有呀

@88250
Copy link
Member Author

88250 commented May 23, 2022

@Tlonglan 还要再等等,目前先继续解决一些细节问题。

@Tlonglan
Copy link

这样子。。。好吧

@aydove
Copy link

aydove commented May 25, 2022

期待siyuan越来越好

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

4 participants