Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Done
-
10.1(EOL), 10.2(EOL)
-
None
-
10.2.11, 10.2.14
Description
Current mtr sst tests are complicated with heavy dependencies and often skipped.
So we need simple quick smoke sst tests with default configuration.
Attachments
Issue Links
- is blocked by
-
MDEV-15541 Backport MDEV-13968 to 10.1: SST mysqldump fails at /usr//bin/wsrep_sst_common: line 94: WSREP_SST_OPT_PORT: readonly variable
-
- Closed
-
- is part of
-
MDEV-15409 make sure every sst script is tested in buildbot
-
- Closed
-
- relates to
-
MDEV-15409 make sure every sst script is tested in buildbot
-
- Closed
-
-
MDEV-14256 MariaDB 10.2.10 can't SST with xtrabackup-v2
-
- Closed
-
suggested test for 10.2
sst_smoke.test
# let cluster initialize
--sleep 5
--source include/galera_cluster.inc
--connection node_1
show variables like 'wsrep_sst_method';
CREATE TABLE t1 ENGINE=InnoDB select 5;
--connection node_2
show variables like 'wsrep_sst_method';
show status like 'wsrep_cluster_size';
SELECT * FROM t1;
DROP TABLE t1;
sst_smoke.combinations
[mariabackup]
wsrep-sst-method=mariabackup
[xtrabackup]
wsrep-sst-method=xtrabackup
[xtrabackup-v2]
wsrep-sst-method=xtrabackup-v2
[rsync]
wsrep-sst-method=rsync
[mysqldump]
wsrep-sst-method=mysqldump
bind-address=0.0.0.0
# good for smoke test to not deal with ACL
skip-grant-tables
wsrep_sst_receive_address=AUTO
# for some reasons it is actually 15, so 'show variables' hangs indefinitely
wsrep_sync_wait=0
With following patch:
--- a/mysql-test/suite/galera/disabled.def
+++ b/mysql-test/suite/galera/disabled.def
@@ -56,3 +56,4 @@ MW-284 : MDEV-13549 Galera test failures 10.1
galera_as_slave : MDEV-13549 Galera test failures 10.1
galera_var_innodb_disallow_writes : MDEV-10949
galera_kill_applier : race condition at the start of the test
+sst_smoke : run only with --nocheck-testcase , MDEV-14305
diff --git a/mysql-test/suite/galera/suite.pm b/mysql-test/suite/galera/suite.pm
--- a/mysql-test/suite/galera/suite.pm
+++ b/mysql-test/suite/galera/suite.pm
+
(
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
While it is disabled (because of mtr limitations) it is still very useful to run it manually with --enable-disabled --nocheck-testcase
It may need fixes for
MDEV-14030to run mariabackup sst properly