Skip to main content

Module decision

Module decision 

Source
Expand description

Durable cluster-wide commit marker for checkpoint 2PC.

The leader’s Commit barrier announcement on gossip KV is ephemeral. A leader that crashes between “announce Commit” and “commit own sinks” leaves surviving followers in a different state than a new leader, which would otherwise pick Abort as the safe default. We record a durable marker on shared storage before the announcement so recovery can recover the cluster vote.

Structs§

CheckpointDecisionStore
Per-epoch commit marker store. Presence means committed; absence means the leader never reached the commit point (safe to abort).

Enums§

DecisionError
Errors raised by CheckpointDecisionStore operations.