Skip to content

Add optional file-lock leadership - #20

Closed
rbtr wants to merge 1 commit into
mainfrom
copilot/roadmap-ha-leader-election
Closed

rbtr wants to merge 1 commit into
mainfrom
copilot/roadmap-ha-leader-election

Conversation

@rbtr

@rbtr rbtr commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a small leader lock abstraction with a POSIX file-lock implementation
  • gate queue reconciliation behind optional SHUNT_LEADER_LOCK/SHUNT_LEADER_RETRY settings
  • document the safe scope as single-host/shared-filesystem standby failover, not durable HA

Validation

  • make lint test build
  • git diff --check

@rbtr
rbtr force-pushed the copilot/roadmap-ha-leader-election branch 2 times, most recently from 41f8118 to dd73d3e Compare June 23, 2026 19:55
Introduce an optional SHUNT_LEADER_LOCK file lease so standby processes can wait while a single leader reconciles queues. Document the scope as single-host/shared-filesystem failover rather than durable HA.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rbtr
rbtr force-pushed the copilot/roadmap-ha-leader-election branch from dd73d3e to 17a866f Compare June 24, 2026 15:35
@rbtr rbtr closed this Jun 24, 2026
@rbtr
rbtr deleted the copilot/roadmap-ha-leader-election branch June 24, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant