mongo-k8s-sidecar icon indicating copy to clipboard operation
mongo-k8s-sidecar copied to clipboard

Split brain

Open erkolson opened this issue 7 years ago • 4 comments

The current use of the sidecare leaves the cluster vulnerable to split-brain due to network partition.

Would it be possible to introduce another environment variable to the sidecar for EXPECTED_CLUSTER_SIZE? This would keep the sidecar from removing replicas during a network partition and still allow it to resize dynamically when new replicas are added or removed.

If you are not aware, this blog post discusses the side-car and split-brain issue: http://pauldone.blogspot.co.uk/2017/06/deploying-mongodb-on-kubernetes-gke25.html

erkolson avatar Nov 28 '17 15:11 erkolson

@cvallance Any thoughts about mentioned blogpost?

Jokero avatar Jan 16 '18 18:01 Jokero

@erkolson I meet this problem, any solutions?

supereagle avatar Jun 12 '18 10:06 supereagle

Any thoughts?

bbbmj avatar Jun 26 '18 12:06 bbbmj

I also came across the problem

gfouquet avatar Feb 28 '19 09:02 gfouquet