Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved how current cluster member role is determined
ClusterMembers now use HighAvailabilityMemberStateMachine to determine role of the current instance. Since state machine is able to deal with out of order messages it knows better what the actual role is. State of other cluster members is tracked by ObservedClusterMembers that uses cluster events to figure out what roles, uris, etc. There is no guarantee that information in ObservedClusterMembers is fully up-to-date because of possible events reordering. Signed-off-by: @MishaDemianenko
- Loading branch information
Showing
11 changed files
with
859 additions
and
623 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.