Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Split brain with only two nodes #21

Open
balbirthomas opened this issue Oct 23, 2020 · 2 comments
Open

Split brain with only two nodes #21

balbirthomas opened this issue Oct 23, 2020 · 2 comments
Labels
question Further information is requested

Comments

@balbirthomas
Copy link

The current implementation of this Elasticsearch charm protects against "Split Brain" problem but dynamically setting the minimum master nodes parameter. However if the administrator chooses to deploy exactly two nodes then a network partition can still lead to a split brain because each node will find it has quorum (1 minimum master node). How do we protect against this problem ? Shall we explicitly document this in the README ? Is there a better way ?

@balbirthomas balbirthomas added the question Further information is requested label Oct 23, 2020
@jameinel
Copy link
Member

jameinel commented Oct 23, 2020 via email

@balbirthomas
Copy link
Author

If quorum in a two node cluster is 2, then wouldn't any network partition make the system inoperable, or at least writes would not be possible ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants