Saga Pattern
Saga Pattern Testing: Distributed Transactions and Chaos Injection in Orchestration
The saga pattern solves distributed transaction consistency without two-phase commit. Instead of atomic transactions across services, sagas use a sequence of local transactions where each step has a corresponding compensation action. When step 4 of 6 fails, steps 1–3 are undone through their compensating transactions. Sagas are correct in