pingqiuandClaude Opus 5.5 bb377502ea authority, master: filter superseded facts once at ingestion; record every unsupported pass; decide after the probe
Review of #130 r3 (three P2s; the same class as r1/r2, so fixed
structurally rather than per branch):

- Controller: a supported snapshot that carries any superseded slot
  fact (older than the newest recorded for that replica, or equal-time
  with another incarnation) is a stale snapshot. It records nothing and
  no decision branch runs on it (readiness, endpoint refresh, rebalance,
  failover, fallback); any existing desired is kept, as for a stale
  authority basis. Fresh facts, including fresh unhealthy and expiry
  decisions, are unchanged.
- Unsupported-volume gate: the current primary's own fresh slot fact is
  recorded for every unsupported volume, before the promotion-reason
  allow-list and concrete-placement filters, so ready reports and starts
  under any reason are counted. The promotion rules are unchanged.
- Both gates decide after the blocking probe from the current primary's
  fresh slot read at that point (primaryBootGraceHoldsNow), so a newer
  unhealthy report or a heartbeat that expired during the probe is seen;
  the unsupported gate also skips if the authority line moved during the
  probe.

Lock order unchanged: state under TopologyController.mu; the gates read
the publisher line and the store snapshot (their own locks, released)
before calling the controller; no new locks.

Refs #128

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:10:10 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%