carlos / platform Public

fleet-restart-wake

A single-copy always-on instance on a fleet box was down 33 s across its agent's restart in Tito production's v0.40.2 roll (2026-11-21), against the 5 to 11 s the instance-control probe needs. Paul approved both fixes.

  • A replica fence (replicas.ErrFenced) is now a refusal, retried on the next 2 s resident tick, not a build failure with 1 to 16 s backoff. A shared-secrets wait keeps its member event; a genuine build failure still backs off.
  • On a lifetime-index miss (a restarted agent before its first reconcile scan), the agent reads the record live instead of refusing. The exec gate's fresh record read still decides (R1), the index is never written from this read, a store error backs off as an outage, and an absent or foreign record is read at most once per host per 30 s.

Estimated restart gap: about 7 to 14 s, down from 33 s. Tito will rehearse on staging with a box restart under a poller.

Astra and Fable reviewed (round 1, P2s applied, Astra scoped fix check); census on #280.

🤖 Generated with Claude Code

Commits 7
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity