advancedDistributed Transactions & Saga
When would you use the Saga pattern, and how would you handle a compensation transaction that itself fails?
Tests whether you've thought past the happy path — what happens when the undo step doesn't work either.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
When would you use the Saga pattern, and how would you handle a compensation transaction that itself fails?