carlos / platform Public

ha-unclean-marker-waits

Region HA containment for the wake-race P1 (Paul, 2026-11-12): an HA release whose replica finalization failed no longer allows immediate takeover.

  • Release markers record settled: the final sync and store close succeeded, or nothing replicated under the lease.
  • An unsettled marker is held for every box (the releaser's own and adoption included) until its at plus the lease term (15 min), then taken. Clean and settled markers are taken at once, so the drain's fast handover is unchanged.
  • The held answer carries the opening time (Retry-After). Old markers read as unsettled.
  • Spec rev 6.7 (§5.2, §9.4, §9.8, §9.9). Storage generations, the real fix, are designed on design-ha-generations.

Tests: hafresh decision table; lease settled/unsettled paths and the late-write witness adapted to HA (from 8e8a00a0); adoption cases; sim models settled. Locally: hafresh, lease HA tests, sim regionha pass; activator/host/edge HA tests pass apart from sandbox unix-socket refusals (CI runs them).

Commits 4
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity