All Questions
Multi Step Processes medium

In a Saga, what happens if the 'Undo' (Compensating Transaction) also fails?

  1. A The transaction is rolled back automatically by the database.
  2. B The data is lost forever.
  3. C The system ignores it.
  4. D The system retries the Compensating Transaction until it succeeds (Idempotent Retry).

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions