codership/mysql-wsrep

MySQL 8 Galera with a Slave silently continues after SST

shinguz opened this issue · 4 comments

When we have a Slave attached to a 3 node MySQL 8 Galera Cluster and the Master does a SST the Slave silently reconnects and continues replicating after a while without any issue.

BUT: It looses some data without noticing it!!! IST seems to be fine. Seems to be more of a MySQL than a Galera issue.

Hint: MySQL binary log location is different than $datadir!

All 3 Galera nodes:
SQL> select count() from test.test;
+----------+
| count(
) |
+----------+
| 12947 |
+----------+
Slave:
SQL> select count() from test.test;
+----------+
| count(
) |
+----------+
| 7129 |
+----------+
Before the test the numbers where equal!

wsrep_sst_method = rsync

MariaDB (10.7) does it correctly by deleting binary logs...

And we are NOT working with GTID...

Seems to work with GTID!