知识卡片

普通读书笔记卡 · 10294.a.4.a.2.c.1.b.9.c.4 · 生成模型:未记录

位图向量定位缺失事件

理解等级:高级

以节点身份和本地序列号表示一个写入。对每个来源记录已见事件的连续前缀,再用位图编码后续零散事件。节点交换时找出缺失位置,从因果容器找到对应数据,再补发。只有全体节点见过某段连续前缀后才可安全裁剪,离线节点可能延长保留期限。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 12. Anti-Entropy and Dissemination(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch12.html#bitmap_version_vectors,段 47) - 结论依据:原文从 dot 和位图压缩解释缺口检测,以 DCC 追踪键的因果关系及裁剪条件。 - 原始内容:In the node logical clock, events coordinated by the node itself will have no gaps. If some writes aren’t replicated from the other nodes, the clock will contain gaps. To get two nodes back in sync, they can exchange