知识卡片

延伸参考卡 · 10382.b.1 · 生成模型:未记录

RIFL原子记录RPC结果

理解等级:高级

协调者用客户租约标识和客户递增序列号识别请求,将变更与完成记录原子写入持久存储。重试返回完成记录,避免早先提交的更新覆盖随后新值。确认客户不再重试或租约过期后可回收记录,过期身份的请求不能再提交。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#idm46104530270504,段 123) - 结论依据:原文以 V1 重试覆盖 V2 风险说明去重,约束更改与完成对象原子存储。 - 原始内容:Completion objects are stored in a durable storage, along with the actual data records. However, their lifetimes are different: the completion object should exist until either the issuing client promises it won’t retry the operation associated with it, or