Skip to content

standard

Two-phase commit

Atomic commitment protocol in which a coordinator asks all participants to prepare and then to commit or abort, so a distributed transaction either fully applies or not at all.

Known aliases

  • 2PC

Relationships

No evidence-backed relationships are recorded.

Current clusters

build1 publisher

Saga rollbacks break in the gap between semantic and atomic undo

In a five-step saga, running compensations out of LIFO order leaves a payment captured against a cancelled order, a dev.to walkthrough shows. Its fix is a durable, versioned coordinator with idempotency keys on every step and every compensation.

Publishers:dev.to

Reality

Evidence45
Adoption
Insufficient
Hype gap+10
Incentives
Insufficient
Confidence55