Skip to content

改进桌面端新版同步算法 #4700

Closed
@88250

Description

@88250
Member

尽量避免下载云端索引已达到减少流量使用并提升性能的目的,仅支持桌面端,不支持 Docker、移动端。

  • 在 data/.siyuan/conf.json 中保存设备 ID
  • 每次同步时先获取云端 conf.json 中的设备 ID
    • 如果和本地设备 ID 相同,则使用本地已有的索引计算 diff
    • 如果不同则走继续走原有逻辑,即拉取云端索引和本地索引计算 diff

Activity

self-assigned this
on Apr 26, 2022
changed the title [-]改进同步算法[/-] [+]改进桌面端同步算法[/+] on Apr 28, 2022
changed the title [-]改进桌面端同步算法[/-] [+]改进桌面端新版同步算法[/+] on Apr 28, 2022
added this to the 2.0.3 milestone on Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250

      Issue actions

        改进桌面端新版同步算法 · Issue #4700 · siyuan-note/siyuan