Files
ziti/controller/raft
Paul Lorenz 5d368308e4 Backfill cluster id on leadership; make InitClusterId idempotent. For #4104
- adds a leadership-gained handler that establishes a cluster id when a
  bootstrapped cluster has none, so clusters migrated on older builds (which
  came up with an empty, non-durable cluster id) self-heal without operator
  action
- makes db.InitClusterId set-once and idempotent: it keeps an existing cluster
  id and returns the effective value instead of erroring on a different one, so
  redundant or racing backfills cannot fail the critical InitClusterIdCmd or
  diverge memory from disk
- passes the current timeline id through the backfill so it is left unchanged
- publishes the effective cluster id in memory after persisting it

(cherry picked from commit 0c3015190f)
2026-08-06 16:06:35 -04:00
..
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00