State Store and Gateway: run more than one instance #1823

Open
opened 2026-11-08 14:02:48 +00:00 by sam · 0 comments
Owner

Each holds a session advisory lock (internal/infrastructure/postgres/ownership.go) and a second instance fails to start by design. Decide between warm-standby failover (a standby blocks on the lock and takes over when it frees) and active-active (drop single ownership, make writes safe under concurrency). Done when killing the active instance loses no accepted work and service resumes without an operator.

Each holds a session advisory lock (internal/infrastructure/postgres/ownership.go) and a second instance fails to start by design. Decide between warm-standby failover (a standby blocks on the lock and takes over when it frees) and active-active (drop single ownership, make writes safe under concurrency). Done when killing the active instance loses no accepted work and service resumes without an operator.
sam added the feature label 2026-11-08 14:03:38 +00:00
sam added the medium label 2026-11-12 15:51:29 +00:00
sam added the deferred label 2026-11-15 17:26:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1823