Local transactions

Each service commits locally. No distributed lock. Success = next step. Failure = trigger compensation.

Advertisement

Local transactions

Each service commits locally. No distributed lock. Success = next step. Failure = trigger compensation.

Advertisement

Compensating actions

For each forward step, define undo. Refund charged payment. Release reserved inventory. Not always semantically identical to rollback.