forked from elastic/elasticsearch
-
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.
Separate ALREADY_COMMITTED state from SUCCEEDED (elastic#23)
Previously, the assertion in onPossibleCommitFailure() would fail if there's an already-committed node, which was marked as SUCCEEDED. Additionally, previously we didn't take into account that any already-committed nodes won't be voting for this publication, so if one of the other voting nodes fails then we might not have failed the leader straight away. This fixes that.
- Loading branch information
1 parent
fdac2dc
commit 5a823ad
Showing
1 changed file
with
10 additions
and
8 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