Code AnalysisHard 60s
Saga pivot vs compensation ordering
// Steps: reserveInventory, takePayment(reversible), bookShipment(irreversible)
// On failure after bookShipment, the saga tries to compensate all.
Why is this saga design flawed?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.