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
Raft path: worker-side novelty backpressure still surfaces as a generic 422 poison record #1741
Follow-on to #1708/#1719, splitting out the one path that fix deliberately did not cover. On single-node/local — the path every HTTP transact route takes — novelty backpressure now surfaces as a typed, retryable 503/413 with Retry-After. On the Raft path it still doesn't: a worker-side novelty failure is recorded as a replicated PoisonRecord, and that record carries only a reason enum — the error's identity dies at serialization, so the client sees a generic 422 for what is actually a drain-and-retry capacity condition. That's the exact footgun #1708 describes, alive on precisely the deployments (clustered, sustained writes) most likely to hit it.
The reason this wasn't folded into #1719: fixing it means extending the replicated record, which is a wire-format change on the consensus path — mixed-version clusters have to read both shapes, so it needs versioning thought that a status-mapping PR shouldn't smuggle in. The shape of the fix is probably: add an optional typed-reason field to PoisonRecord (old peers ignore it, new peers map it), thread the novelty variants into it at the worker, and reconstruct the same NoveltyBackpressure / NoveltyDeltaTooLarge responses at the edge that the local path now produces — plus a keyed-retry test on the Raft path mirroring the one #1719 added locally.
Worth doing whenever the next consensus-touching change goes in, rather than as a standalone wire bump.
Activity