forked from restatedev/restate
-
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.
Soft-leader election mechanism for cc based on observed cluster state
Summary: Every Admin node runs a CC which can act as the leader. The acting leader is decided based on deterministically sorting all admin nodes (e.g. based on their plain node id) and picking the first alive node. The acting leader is allowed to make control decisions (e.g. calling into the Scheduler and the LogsController). Fixes restatedev#2238
- Loading branch information
1 parent
612c7c2
commit 0369a6c
Showing
2 changed files
with
59 additions
and
13 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