From aba044cb0ef366a7b4e52502b8e4c401ccf77292 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Wed, 21 Aug 2019 09:35:47 -0500 Subject: [PATCH] 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 --- mariadb/templates/etc/_00-base.cnf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb/templates/etc/_00-base.cnf.tpl b/mariadb/templates/etc/_00-base.cnf.tpl index a2acffec0..491eb69de 100644 --- a/mariadb/templates/etc/_00-base.cnf.tpl +++ b/mariadb/templates/etc/_00-base.cnf.tpl @@ -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_on=1 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_sst_auth={{ .Values.endpoints.oslo_db.auth.sst.username }}:{{ .Values.endpoints.oslo_db.auth.sst.password }} wsrep_sst_method=mariabackup