Debian Codegraph @

mysql-test/suite/galera/r/galera_gcache_recover_manytrx.result

raw
1 connection node_2;
2 connection node_1;
3 SET SESSION wsrep_sync_wait = 0;
4 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
5 CREATE TABLE ten (f1 INTEGER) ENGINE=InnoDB;
6 INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
7 CREATE PROCEDURE insert_simple ()
8 BEGIN
9 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
10 SET SESSION wsrep_sync_wait = 0;
11 WHILE 1 DO
12 INSERT INTO t1 (f1, f2) VALUES (DEFAULT,'abcdef');
13 END WHILE;
14 END|
15 CREATE PROCEDURE insert_multi ()
16 BEGIN
17 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
18 SET SESSION wsrep_sync_wait = 0;
19 WHILE 1 DO
20 INSERT INTO t1 (f1) VALUES (DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT);
21 END WHILE;
22 END|
23 CREATE PROCEDURE insert_transaction ()
24 BEGIN
25 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
26 SET SESSION wsrep_sync_wait = 0;
27 SET AUTOCOMMIT = OFF;
28 WHILE 1 DO
29 START TRANSACTION;
30 INSERT INTO t1 (f1) VALUES (DEFAULT);
31 INSERT INTO t1 (f1) VALUES (DEFAULT);
32 INSERT INTO t1 (f1) VALUES (DEFAULT);
33 INSERT INTO t1 (f1) VALUES (DEFAULT);
34 INSERT INTO t1 (f1) VALUES (DEFAULT);
35 INSERT INTO t1 (f1) VALUES (DEFAULT);
36 INSERT INTO t1 (f1) VALUES (DEFAULT);
37 INSERT INTO t1 (f1) VALUES (DEFAULT);
38 INSERT INTO t1 (f1) VALUES (DEFAULT);
39 INSERT INTO t1 (f1) VALUES (DEFAULT);
40 COMMIT;
41 END WHILE;
42 END|
43 CREATE PROCEDURE update_simple ()
44 BEGIN
45 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
46 SET SESSION wsrep_sync_wait = 0;
47 WHILE 1 DO
48 UPDATE t1 SET f2 = CONCAT(f2,f2);
49 END WHILE;
50 END|
51 CREATE PROCEDURE insert_1k ()
52 BEGIN
53 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
54 SET SESSION wsrep_sync_wait = 0;
55 WHILE 1 DO
56 INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024));
57 END WHILE;
58 END|
59 CREATE PROCEDURE insert_1m ()
60 BEGIN
61 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
62 SET SESSION wsrep_sync_wait = 0;
63 WHILE 1 DO
64 INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024));
65 END WHILE;
66 END|
67 CREATE PROCEDURE insert_10m ()
68 BEGIN
69 DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
70 SET SESSION wsrep_sync_wait = 0;
71 WHILE 1 DO
72 INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
73 END WHILE;
74 END|
75 connect node_1_insert_simple, 127.0.0.1, root, , test, $NODE_MYPORT_1;
76 connect node_1_insert_multi, 127.0.0.1, root, , test, $NODE_MYPORT_1;
77 connect node_1_insert_transaction, 127.0.0.1, root, , test, $NODE_MYPORT_1;
78 connect node_1_update_simple, 127.0.0.1, root, , test, $NODE_MYPORT_1;
79 connect node_1_insert_1k, 127.0.0.1, root, , test, $NODE_MYPORT_1;
80 connect node_1_insert_1m, 127.0.0.1, root, , test, $NODE_MYPORT_1;
81 connect node_1_insert_10m, 127.0.0.1, root, , test, $NODE_MYPORT_1;
82 connection node_1_insert_simple;
83 CALL insert_simple();;
84 connection node_1_insert_multi;
85 CALL insert_multi();;
86 connection node_1_insert_transaction;
87 CALL insert_transaction ();;
88 connection node_1_update_simple;
89 CALL update_simple ();;
90 connection node_1_insert_1k;
91 CALL insert_1k ();;
92 connection node_1_insert_1m;
93 CALL insert_1m ();;
94 connection node_1_insert_10m;
95 CALL insert_10m ();;
96 connection node_2;
97 SET SESSION wsrep_sync_wait = 0;
98 Killing server ...
99 connection node_1;
100 Killing server ...
101 connection node_1_insert_simple;
102 Got one of the listed errors
103 connection node_1_insert_multi;
104 Got one of the listed errors
105 connection node_1_insert_transaction;
106 Got one of the listed errors
107 connection node_1_update_simple;
108 Got one of the listed errors
109 connection node_1_insert_1k;
110 Got one of the listed errors
111 connection node_1_insert_1m;
112 Got one of the listed errors
113 connection node_1_insert_10m;
114 Got one of the listed errors
115 connection node_1;
116 Performing --wsrep-recover ...
117 Using --wsrep-start-position when starting mysqld ...
118 connection node_2;
119 Performing --wsrep-recover ...
120 Using --wsrep-start-position when starting mysqld ...
121 connection node_1;
122 include/diff_servers.inc [servers=1 2]
123 connection node_1;
124 DROP TABLE t1;
125 DROP TABLE ten;
126 DROP PROCEDURE insert_simple;
127 DROP PROCEDURE insert_multi;
128 DROP PROCEDURE insert_transaction;
129 DROP PROCEDURE update_simple;
130 DROP PROCEDURE insert_1k;
131 DROP PROCEDURE insert_1m;
132 connection node_1;
133 call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
134 CALL mtr.add_suppression("conflict state 7 after post commit");
135 CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
136 connection node_2;
137 call mtr.add_suppression("Error in Log_event::read_log_event\\(\\)");
138 CALL mtr.add_suppression("Skipped GCache ring buffer recovery");