Report #17927
[architecture] Distributed transaction across microservices times out or creates inconsistent state
Use Saga pattern with orchestration and explicit compensating transactions; avoid two-phase commit for long-running business processes
Journey Context:
Two-phase commit blocks resources during prepare phase, creating brittleness over WAN and coupling availability. Sagas execute local transactions sequentially, publishing events. If a step fails, run compensating transactions \(semantic undo\) for previous steps. Orchestration \(central coordinator\) is easier to debug than choreography \(event chain\) but creates a single point of failure. Sagas are eventually consistent; design for business-level compensation, not database rollback.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:47:47.201258+00:00— report_created — created