You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-37209 : mtr galera_3nodes.galera_garbd_backup test failures
This contains test case changes only.
1) Make sure InnoDB buffer pool has no dirty pages at begining
2) Use FTWRL to ensure tables are flushed to disk
3) Add wait condition to ensure tables and rows are replicated in the cluster
4) Use sort to ensure same order of the files in the find
INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
13
14
INSERT INTO t1 (f2) SELECT REPEAT('x', 1024) FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
15
+
FLUSH TABLES WITH READ LOCK;
16
+
UNLOCK TABLES;
17
+
connection node_2;
18
+
SELECT COUNT(*) FROM t1;
19
+
COUNT(*)
20
+
10000
21
+
SELECT COUNT(*) FROM ten;
22
+
COUNT(*)
23
+
10
14
24
Killing node #3 to free ports for garbd ...
15
25
connection node_3;
16
26
connection node_1;
17
27
SET GLOBAL debug_dbug = "+d,sync.wsrep_donor_state";
18
28
Starting garbd ...
19
29
SET SESSION debug_sync = "now WAIT_FOR sync.wsrep_donor_state_reached";
20
-
SET GLOBAL innodb_max_dirty_pages_pct_lwm=0;
21
-
SET GLOBAL innodb_max_dirty_pages_pct=0;
30
+
SET GLOBAL innodb_max_dirty_pages_pct_lwm=0.0;
31
+
SET GLOBAL innodb_max_dirty_pages_pct=0.0;
22
32
SET SESSION debug_sync = "now SIGNAL signal.wsrep_donor_state";
23
33
SET GLOBAL debug_dbug = "";
24
34
SET debug_sync='RESET';
25
-
connection node_2;
35
+
connection node_1;
26
36
Killing garbd ...
27
37
connection node_1;
28
38
connection node_2;
@@ -31,9 +41,3 @@ DROP TABLE ten;
31
41
Restarting node #3 to satisfy MTR's end-of-test checks
32
42
connection node_3;
33
43
connection node_1;
34
-
connection node_1;
35
-
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
36
-
connection node_2;
37
-
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
38
-
connection node_3;
39
-
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
129
-
130
-
--connection node_2
131
-
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
132
-
133
-
--connection node_3
134
-
CALL mtr.add_suppression("WSREP: Protocol violation\\. JOIN message sender 1\\.0( \\(.*\\))? is not in state transfer \\(SYNCED\\)\\. Message ignored\\.");
0 commit comments