Commit e73745f
authored
feat(gateway): add reconciler lease for HA multi-replica deployments (#1577)
Introduce a database-backed lease that ensures only one gateway replica
runs the watch and reconcile loops. Includes lease primitives with CAS
safety, cooperative cancellation via watch channels, SQLite bypass for
single-replica deployments, and integration tests covering failover,
contention, and CAS chain integrity.
Signed-off-by: Derek Carr <decarr@redhat.com>1 parent f33fd02 commit e73745f
4 files changed
Lines changed: 683 additions & 27 deletions
0 commit comments