Mariadb: define timeouts for wsrep
This PS updates the wsrep_provider_options to define the timeouts explitlcitly for evs.suspect_timeout, gmcast.peer_timeout. Their defaults are PT5S, and PT3S respectively, which are increased by a factor of approx 5, to accomdate network instability that may occur during node outage events. Change-Id: Ie5cdd06d91299e5e2632b70cb9b50a7ad14f62b1 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
7c2c148fb0
commit
aba044cb0e
@ -93,7 +93,7 @@ innodb_flush_log_at_trx_commit=2
|
|||||||
wsrep_cluster_name={{ tuple "oslo_db" "direct" . | include "helm-toolkit.endpoints.hostname_namespaced_endpoint_lookup" | replace "." "_" }}
|
wsrep_cluster_name={{ tuple "oslo_db" "direct" . | include "helm-toolkit.endpoints.hostname_namespaced_endpoint_lookup" | replace "." "_" }}
|
||||||
wsrep_on=1
|
wsrep_on=1
|
||||||
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
wsrep_provider=/usr/lib/galera/libgalera_smm.so
|
||||||
wsrep_provider_options="gmcast.listen_addr=tcp://0.0.0.0:{{ tuple "oslo_db" "direct" "wsrep" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}"
|
wsrep_provider_options="evs.suspect_timeout=PT30S; gmcast.peer_timeout=PT15S; gmcast.listen_addr=tcp://0.0.0.0:{{ tuple "oslo_db" "direct" "wsrep" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}"
|
||||||
wsrep_slave_threads=12
|
wsrep_slave_threads=12
|
||||||
wsrep_sst_auth={{ .Values.endpoints.oslo_db.auth.sst.username }}:{{ .Values.endpoints.oslo_db.auth.sst.password }}
|
wsrep_sst_auth={{ .Values.endpoints.oslo_db.auth.sst.username }}:{{ .Values.endpoints.oslo_db.auth.sst.password }}
|
||||||
wsrep_sst_method=mariabackup
|
wsrep_sst_method=mariabackup
|
||||||
|
Loading…
Reference in New Issue
Block a user