All Questions
Dealing With Contention hard

In a Saga, if a Compensating Transaction (Undo) fails repeatedly due to contention, what is the last resort?

  1. A Ignore it.
  2. B Retry forever.
  3. C Human Intervention. The system parks the transaction in a 'Dead Letter Queue' for an operator to manually fix the data inconsistency.
  4. D Delete the user.

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

Get the app

Related questions