-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
An issue that caused cloud data corruption #9846
Comments
88250
added a commit
to 88250/gulu
that referenced
this issue
Dec 9, 2023
88250
added a commit
to siyuan-note/dejavu
that referenced
this issue
Dec 9, 2023
88250
added a commit
to siyuan-note/filelock
that referenced
this issue
Dec 9, 2023
88250
added a commit
to siyuan-note/dejavu
that referenced
this issue
Dec 9, 2023
88250
added a commit
that referenced
this issue
Dec 9, 2023
88250
added a commit
to siyuan-note/dejavu
that referenced
this issue
Dec 10, 2023
88250
added a commit
that referenced
this issue
Dec 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
原因是因为文档滚动记录为了不产生同步冲突,所以不会改变文件时间戳 #6076 去年 10 月份的时候提交。
在重置仓库(全量创建快照)的时候重新生成了数据分块,但是文件的时间戳和路径都没变,所以数据文件 ID 不会变,和云端快照对比后文件 ID 不变也就认为这个文件数据没变,就不会上传分块(实际上文件的分块已经改变了),所以导致云端数据分块缺失损坏。
解决方案是使用 local storage 保存 scroll 数据,不存放在 .sy 文件里,并移除 WriteFileWithoutChangeTime 相关实现。
The text was updated successfully, but these errors were encountered: