mongo-k8s-sidecar
mongo-k8s-sidecar copied to clipboard
Split brain
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
@cvallance Any thoughts about mentioned blogpost?
@erkolson I meet this problem, any solutions?
Any thoughts?
I also came across the problem