Debian Codegraph @

mysql-test/suite/galera_sr/r/galera_sr_mysqldump_sst.result

raw
1 connection node_2;
2 connection node_1;
3 Setting SST method to mysqldump ...
4 call mtr.add_suppression("WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to '127\\.0\\.0\\.1'");
5 call mtr.add_suppression("Failed to load slave replication state from table mysql\\.gtid_slave_pos");
6 connection node_1;
7 CREATE USER 'sst';
8 GRANT ALL PRIVILEGES ON *.* TO 'sst';
9 SET GLOBAL wsrep_sst_auth = 'sst:';
10 connection node_2;
11 SET GLOBAL wsrep_sst_method = 'mysqldump';
12 connection node_1;
13 connection node_2;
14 connection node_1;
15 CREATE TABLE ten (f1 INTEGER);
16 INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
17 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 CHAR(255)) ENGINE=InnoDB;
18 SET AUTOCOMMIT=OFF;
19 SET SESSION wsrep_trx_fragment_size = 1000;
20 START TRANSACTION;
21 INSERT INTO t1 (f2) SELECT REPEAT('x', 255) FROM ten AS a1, ten AS a2, ten AS a3;
22 UPDATE t1 SET f2 = REPEAT('y', 255);
23 connection node_2;
24 connection node_2;
25 Shutting down server ...
26 connection node_1;
27 connection node_2;
28 # restart: with restart_parameters
29 connection node_1;
30 connection node_2;
31 SELECT COUNT(*) > 0 FROM mysql.wsrep_streaming_log;
32 COUNT(*) > 0
33 1
34 SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
35 connection node_1;
36 UPDATE t1 SET f2 = REPEAT('z', 255);
37 COMMIT;
38 connection node_2;
39 SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
40 SELECT COUNT(*) = 1000 FROM t1;
41 COUNT(*) = 1000
42 1
43 SELECT COUNT(*) = 1000 FROM t1 WHERE f2 = REPEAT('z', 255);
44 COUNT(*) = 1000
45 1
46 DROP TABLE t1;
47 DROP TABLE ten;
48 connection node_1;
49 SET SESSION wsrep_trx_fragment_size=0;
50 connection node_1;
51 CALL mtr.add_suppression("Slave SQL: Error 'The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement' on query");
52 DROP USER sst;
53 connection node_2;
54 CALL mtr.add_suppression("Slave SQL: Error 'The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement' on query");
55 CALL mtr.add_suppression("InnoDB: Error: Table \"mysql\"\\.\"innodb_index_stats\" not found");
56 CALL mtr.add_suppression("Can't open and lock time zone table");
57 CALL mtr.add_suppression("Can't open and lock privilege tables");
58 CALL mtr.add_suppression("Info table is not ready to be used");
59 CALL mtr.add_suppression("Native table .* has the wrong structure");
60 CALL mtr.add_suppression("Table 'mysql\\.gtid_slave_pos' doesn't exist");