← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 1980.z.1.e.2

检查点对齐键状态进度

理解等级:高级

一致检查点同时保存输入分区offset与键控状态,使状态恰好对应已消费范围。恢复时要把任务、分区和状态正确匹配,完整装载后再处理新数据。只保存业务表或只保存offset会造成重算重复或跳过记录;检查点需存放在工作节点之外的耐久位置,才能覆盖节点与磁盘故障。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Heavyweight Framework Microservices · 查看原书依据

      Both the operator and keyed state must be synchronously recorded such that the keyed state accurately represents the processing of all the events marked as consumed by the operator state. A failure to do so may result in events either not being processed at all or being processed multiple times. An example of this state as recorded into a checkpoint is shown in Figure 11-4.

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第11章《Heavyweight Framework Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch11.xhtml;规范化段落起句:Both the operator and keyed state) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:一致检查点同时保存输入分区offset与键控状态,使状态恰好对应已消费范围。本卡同时保留其适用条件与失败边界。 - 原始内容:Both the operator and keyed state must be synchronously recorded such that the keyed state accurately represents the processing of all the events marked as consumed by the operator state. A failure to do so may result in events either not being processed at all or being processed multiple times. An example of this state as recorded into a checkpoint is shown in Figure 11-4.