forked from choria-io/go-choria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(choria-io#1502) Upgrade KV, introduce formal Leader Election
This upgrades KV to the nats.go implementation and adds a standard CHORIA_LEADER_ELECTION KV bucket that is to be used for leader election. We add a KV Based Leader Election provider that treats keys in the bucket as elections and we create it as standard. When the special provisioning account is enabled we import one specific key into that account to facilitate LE for the Choria Provisioner without exposing other elections into that account Signed-off-by: R.I.Pienaar <[email protected]>
- Loading branch information
Showing
26 changed files
with
1,254 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.