Mehdi Akiki

Posts tagged "idempotency"

  • Published on
    A consumer's database commit, broker acknowledgement, and external calls do not form one automatic transaction. Draw each durable boundary and test every crash gap.
  • Published on

    Investigation · Part 11 of 20 · What survives a crash

    Recovery Code Must Survive a Crash Too

    A recovery that writes files can crash too, and then a second recovery must give the same result. I killed my store 500 times during its own recovery: one design always recovered correctly, the other doubled a counter 53 times. The fix is one number in the snapshot.