openstack-helm-infra/mariadb/templates/bin
Roy Tang 5a8aabaee3 Prevent mariadb from split brain while cluster is in reboot state
The current start logic when existing cluster state is reboot can
lead to a split brain condition under certain circumstances.  This
patchset adds some additional step to ensure cluster is set to
live state once leader node is ready to start, instead of relying
on slave nodes to handle.  Also add some simple retry when there
is collision detected while trying to write to configmap.

The existing hair-trigger that will put the cluster state from
"live" into "reboot" can use some fine tuning, but updating it
properly should require additional investigation and testing,
hence should be done as a separate activity outside the scope
of this patchset.

Change-Id: Ieb2861d6fbc435e24e20d13c7b358c751890b4c4
2021-05-05 17:33:20 -04:00
..
_backup_mariadb.sh.tpl Fix MariaDB backup script 2020-09-30 22:01:22 +00:00
_mariadb-ingress-controller.sh.tpl [mariadb-ingress] Uplift Mariadb-ingress to 0.42.0 2021-03-01 18:07:23 -08:00
_readiness.sh.tpl feat(tls): add tls to mariadb chart 2020-07-13 19:30:34 +00:00
_restore_mariadb.sh.tpl Support old mariadb dump file naming 2020-09-04 00:53:37 +00:00
_start.py.tpl Prevent mariadb from split brain while cluster is in reboot state 2021-05-05 17:33:20 -04:00
_stop.sh.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
_test.sh.tpl Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00