Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update handling of unavailability event for current member.
Unavailability listener updated to work as following: as soon as we receive unavailability event about us - then something went wrong in a cluster and we need to perform new elections. Elections should be triggered for all states except HighAvailabilityMemberState.PENDING, since first of all there is nothing or we already made a switch and waiting election to start, so no reason to start them again. Simplify InvalidEpochExceptionHandler to only generate unavailability event.
- Loading branch information
1 parent
ceedb2a
commit eea557c
Showing
7 changed files
with
325 additions
and
353 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
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.