Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HA cluster members will now become read only on disconnect from cluster
As a means to ensure safety, instances that get detached from a majority of the cluster will revert to PENDING state. That implicitly raises the barrier disallowing transactions to start, exluding that way the possibility of doing read only operations, which are still possible in principle, albeit forfeiting up to date data. This commit makes it so that cluster members which can no longer participate in quorum will revert to PENDING state, without losing the ability to perform reads. Writes are still of course disallowed. As a side note, a test that tries to verify the behaviour of instances when connectivity to quorum is lost abruptly is included but @ignored. This is because while the behaviour tested is part of this patch, the fact that it fails is a bug in previous changes. That bug will be solved in a different commit and the test will be enabled.
- Loading branch information
1 parent
604490d
commit dc25f97
Showing
8 changed files
with
424 additions
and
30 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.