You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
durable: an instance touched by two versions in a rolling deploy can't be recovered by either #253
#235 raises durable's journal format to 2, and from then on Recover refuses a journal whose Records go below a format it has already seen. An older binary also refuses a Record whose format is lower than its checkpoint. So in a rolling deploy, an instance a new node starts (format-2 baseline) and an old node then fires on (format-1 Record) can't be recovered by either version:
the new version reports that an older version appended to a newer journal;
the old version reports that the Store didn't keep Record.Format.
Nothing documents a way to get the instance back, short of editing the journal by hand.
#235 documents "don't run mixed versions on one instance", and binaries already built can't be changed. The question is what recovery path to offer an operator who hits it anyway.
Options
a recovery tool, or a Recover option, that truncates the tail at the first Record from the other version, keeping the steps up to it;
deploy guidance: drain or pin instances to one version during a rollout;
a format-compatibility window, where version N also writes format N-1 until a flag flips.
Related gap: a mixed-version journal that Recover refuses still dispatches the effects of the Records before the refusal. checkFormat runs per Record in the tail loop, so a checkpoint and Record from this version followed by an older version's Record replay the first Record, send its effects, then fail. That's main's behavior today. #258 had an upfront check that refused the whole journal before replaying anything, but it was cut to keep #258 scoped to #264 (durable is unreleased, so no compatibility gates yet). Whatever fixes this issue should refuse before any effect is sent.
This issue now also tracks the pre-release compatibility items. durable is unreleased, so these can't happen until there's a first release. They're closed into this one so they're decided together before that release:
Activity
fix(durable,state): a timer transition drives services and actors; st…
feat(durable): decode service results through WithEventDataDecoder an…
feat(durable): decode service results through WithEventDataDecoder an…
reka18 commentedon Nov 19, 2026
Related gap: a mixed-version journal that
Recoverrefuses still dispatches the effects of the Records before the refusal.checkFormatruns per Record in the tail loop, so a checkpoint and Record from this version followed by an older version's Record replay the first Record, send its effects, then fail. That's main's behavior today. #258 had an upfront check that refused the whole journal before replaying anything, but it was cut to keep #258 scoped to #264 (durable is unreleased, so no compatibility gates yet). Whatever fixes this issue should refuse before any effect is sent.reka18 commentedon Nov 19, 2026
This issue now also tracks the pre-release compatibility items. durable is unreleased, so these can't happen until there's a first release. They're closed into this one so they're decided together before that release:
feat(durable): decode service results through WithEventDataDecoder an…