This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Description
Hello,
With the new version develop 36.10 (dev), by default the value of disable_auto_sst is FALSE.
However, when you have a big database, the copy with Xtrababckup (SST) need more 60 seconds (cf_mysql.mysql.startup_timeout with 60 by default)
So monit mariadb_ctrl tries to restart the base, while the transfer is not finished. Many error messages :
2018-01-16 7:24:59 140202241787776 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2018-01-16 7:24:59 140202240195328 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
2018-01-16 7:24:59 140202241787776 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2018-01-16 7:24:59 140202241787776 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
So I think , it's better to block SST because you need to analyse why your instance is desync.
If you want to maintain default value FALSE for disable_auto_sst, you need to :
. increase startup_timeout
. monitoring if instance execute SST, for example with wsrep_cluster_conf_id : http://galeracluster.com/documentation-webpages/monitoringthecluster.html