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

Improve cloud data synchronization stability #12543

Closed
88250 opened this issue Sep 21, 2024 · 5 comments
Closed

Improve cloud data synchronization stability #12543

88250 opened this issue Sep 21, 2024 · 5 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Sep 21, 2024

https://ld246.com/article/1726705701342

将并行迁出文件改为串行,虽然会慢一点,但是可以控制迁出顺序;改进迁出顺序:

  1. 配置文件
  2. assets
  3. emojis
  4. storage
  5. plugins
  6. widgets
  7. templates
  8. public
  9. 笔记本数据,笔记本数据按路径长短排序,短路径排前面
@88250 88250 self-assigned this Sep 21, 2024
@frostime
Copy link
Contributor

这个对同步的性能影响会比较大吧?

@88250 88250 added this to the 3.1.7 milestone Sep 21, 2024
88250 added a commit to siyuan-note/dejavu that referenced this issue Sep 21, 2024
@zxhd863943427
Copy link
Contributor

似乎现在已经是串行的?只是没有排序?

@88250
Copy link
Member Author

88250 commented Sep 21, 2024

等机制稳定以后再优化,应该可以在细节上进行并行迁出,比如除了笔记本数据的其他路径应该都可以。

@88250 88250 closed this as completed Sep 21, 2024
88250 added a commit to siyuan-note/dejavu that referenced this issue Sep 22, 2024
@5kyfkr
Copy link

5kyfkr commented Sep 22, 2024

等机制稳定以后再优化,应该可以在细节上进行并行迁出,比如除了笔记本数据的其他路径应该都可以。

我现在同步唯一会遇到没同步过来的就是CSS片段,有两台电脑和一台手机,经常公司那台电脑CSS片段没同步过去,要不就是家里的没同步过来,仅出现在css片段新增或改动较多的时候,其他文档那些没遇到同步遗漏,建议配置文件不并行。

@88250
Copy link
Member Author

88250 commented Sep 22, 2024 via email

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