groundhog2k / helm-charts

Helm charts for open source applications - ready to use for deployment on Kubernetes
MIT License
69 stars 56 forks source link

Split brain fix #1232

Closed groundhog2k closed 1 year ago

groundhog2k commented 1 year ago

Fixes #1231

tim-hanssen commented 1 year ago

Looks good! Makes sense that this is the issue, it' functions as a master, since it thinks it's alone. Good find!

groundhog2k commented 1 year ago

All tests looking good so far. I tried: draining a node properly, abruptly disconnecting a K8s node, restarting a K8s node unexpectedly, halting a node (all processes) and in all cases this fix was working and helped to prevent a split brain with second master after a K8s node is back online. I will finish some more tests merge this fix tomorrow.

tim-hanssen commented 1 year ago

We did not experience any issue anymore! :)