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

改进数据同步以避免旧的本地数据覆盖云端数据 #7403

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

改进数据同步以避免旧的本地数据覆盖云端数据 #7403

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

Comments

@88250
Copy link
Member

88250 commented Feb 19, 2023

之前的数据同步算法在当如果某个文件云端和本地的最近更新时间不相等则使用本地覆盖云端,这个在有些情况下(比如外部复制后更新时间变更)会导致旧的数据覆盖云端。

改进为基于设备本地时间进行校验,如果本地文件最后更新时间早于云端文件最后更新时间 7 分钟,则将该本地文件视作旧数据,使用云端文件覆盖本地文件。

@88250 88250 self-assigned this Feb 19, 2023
@88250 88250 added this to the 2.7.6 milestone Feb 19, 2023
@88250 88250 changed the title 改进数据同步算法以避免过于老旧的本地数据覆盖云端数据 改进数据同步算法以避免老旧的本地数据覆盖云端数据 Feb 20, 2023
@88250 88250 changed the title 改进数据同步算法以避免老旧的本地数据覆盖云端数据 改进数据同步以避免老旧的本地数据覆盖云端数据 Feb 20, 2023
@88250 88250 changed the title 改进数据同步以避免老旧的本地数据覆盖云端数据 改进数据同步以避免旧的本地数据覆盖云端数据 Feb 20, 2023
88250 added a commit that referenced this issue Feb 20, 2023
@88250 88250 closed this as completed Feb 20, 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