Skip to main content
A row of dominoes with the last one already fallen, out of order ahead of the ones still standing

Week 11: Some steps only happen once, by design

Why an irreversible step has no retry decision to make, and why the fix is ordering it to run last instead.

17 May 2027

An irreversible step fails like any other step. What is different is that you cannot take it back once it has run, so the question stops being how to retry it and becomes when to run it. Put every step that can still fail first, and the send-the-email and release-the-lock steps last: a retry of the whole operation then either never reaches them, or reaches them once, on the attempt that succeeds. Where the ordering belongs to somebody else — a payment provider that emails the customer itself — there is nothing to reorder, and what is left is a compensating action: a refund, a correction email, a second effect that acknowledges the first. This is the one week where none of client, library, platform, operator or product makes the retry decision, because the ordering already made it, upstream of the failure.

Outline

Teaching team