@@ -12,22 +12,20 @@ START TRANSACTION;
1212DELETE FROM p WHERE f1 = 1;
1313connection node_1a;
1414SET SESSION wsrep_sync_wait = 0;
15- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
15+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
1616connection node_2;
1717INSERT INTO c VALUES (1, 1);
1818connection node_1a;
19- SET SESSION wsrep_on = 0;
20- SET SESSION wsrep_on = 1;
21- SET GLOBAL wsrep_provider_options = 'dbug=';
22- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
19+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
2320connection node_1;
21+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
2422COMMIT;
2523connection node_1a;
26- SET SESSION wsrep_on = 0 ;
27- SET SESSION wsrep_on = 1 ;
28- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
29- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
30- SET GLOBAL wsrep_provider_options = 'dbug= ';
24+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
25+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
26+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
27+ SET GLOBAL DEBUG_DBUG = "" ;
28+ SET DEBUG_SYNC = 'RESET ';
3129connection node_1;
3230ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
3331connection node_2;
@@ -54,22 +52,20 @@ START TRANSACTION;
5452UPDATE p SET f2 = 1 WHERE f1 = 1;
5553connection node_1a;
5654SET SESSION wsrep_sync_wait = 0;
57- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
55+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
5856connection node_2;
5957UPDATE c SET f2 = 1 WHERE f1 = 1;
6058connection node_1a;
61- SET SESSION wsrep_on = 0;
62- SET SESSION wsrep_on = 1;
63- SET GLOBAL wsrep_provider_options = 'dbug=';
64- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
59+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
6560connection node_1;
61+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
6662COMMIT;
6763connection node_1a;
68- SET SESSION wsrep_on = 0 ;
69- SET SESSION wsrep_on = 1 ;
70- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
71- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
72- SET GLOBAL wsrep_provider_options = 'dbug= ';
64+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
65+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
66+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
67+ SET GLOBAL DEBUG_DBUG = "" ;
68+ SET DEBUG_SYNC = 'RESET ';
7369connection node_1;
7470connection node_2;
7571SELECT * FROM p;
@@ -94,22 +90,20 @@ START TRANSACTION;
9490UPDATE p SET f2 = 1 WHERE f1 = 1;
9591connection node_1a;
9692SET SESSION wsrep_sync_wait = 0;
97- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
93+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
9894connection node_2;
9995DELETE FROM c WHERE f1 = 1;
10096connection node_1a;
101- SET SESSION wsrep_on = 0;
102- SET SESSION wsrep_on = 1;
103- SET GLOBAL wsrep_provider_options = 'dbug=';
104- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
97+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
10598connection node_1;
99+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
106100COMMIT;
107101connection node_1a;
108- SET SESSION wsrep_on = 0 ;
109- SET SESSION wsrep_on = 1 ;
110- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
111- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
112- SET GLOBAL wsrep_provider_options = 'dbug= ';
102+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
103+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
104+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
105+ SET GLOBAL DEBUG_DBUG = "" ;
106+ SET DEBUG_SYNC = 'RESET ';
113107connection node_1;
114108connection node_2;
115109SELECT * FROM p;
@@ -130,22 +124,20 @@ START TRANSACTION;
130124UPDATE p SET f2 = 1 WHERE f1 = 1;
131125connection node_1a;
132126SET SESSION wsrep_sync_wait = 0;
133- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
127+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
134128connection node_2;
135129INSERT INTO c VALUES (1, 0);;
136130connection node_1a;
137- SET SESSION wsrep_on = 0;
138- SET SESSION wsrep_on = 1;
139- SET GLOBAL wsrep_provider_options = 'dbug=';
140- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
131+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
141132connection node_1;
133+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
142134COMMIT;
143135connection node_1a;
144- SET SESSION wsrep_on = 0 ;
145- SET SESSION wsrep_on = 1 ;
146- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
147- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
148- SET GLOBAL wsrep_provider_options = 'dbug= ';
136+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
137+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
138+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
139+ SET GLOBAL DEBUG_DBUG = "" ;
140+ SET DEBUG_SYNC = 'RESET ';
149141connection node_1;
150142ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
151143connection node_2;
@@ -170,22 +162,20 @@ START TRANSACTION;
170162DELETE FROM p WHERE f1 = 1;
171163connection node_1a;
172164SET SESSION wsrep_sync_wait = 0;
173- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
165+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
174166connection node_2;
175167UPDATE c SET f2 = 1 WHERE f1 = 1;
176168connection node_1a;
177- SET SESSION wsrep_on = 0;
178- SET SESSION wsrep_on = 1;
179- SET GLOBAL wsrep_provider_options = 'dbug=';
180- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
169+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
181170connection node_1;
171+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
182172COMMIT;
183173connection node_1a;
184- SET SESSION wsrep_on = 0 ;
185- SET SESSION wsrep_on = 1 ;
186- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
187- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
188- SET GLOBAL wsrep_provider_options = 'dbug= ';
174+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
175+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
176+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
177+ SET GLOBAL DEBUG_DBUG = "" ;
178+ SET DEBUG_SYNC = 'RESET ';
189179connection node_1;
190180ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
191181connection node_2;
@@ -215,22 +205,20 @@ START TRANSACTION;
215205INSERT INTO cf (f1, p_id) VALUES (10, 1);
216206connection node_1a;
217207SET SESSION wsrep_sync_wait = 0;
218- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
208+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
219209connection node_2;
220210INSERT INTO cf (f1, p_id) VALUES (20, 1);
221211connection node_1a;
222- SET SESSION wsrep_on = 0;
223- SET SESSION wsrep_on = 1;
224- SET GLOBAL wsrep_provider_options = 'dbug=';
225- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
212+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
226213connection node_1;
214+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
227215COMMIT;
228216connection node_1a;
229- SET SESSION wsrep_on = 0 ;
230- SET SESSION wsrep_on = 1 ;
231- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
232- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
233- SET GLOBAL wsrep_provider_options = 'dbug= ';
217+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
218+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
219+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
220+ SET GLOBAL DEBUG_DBUG = "" ;
221+ SET DEBUG_SYNC = 'RESET ';
234222connection node_1;
235223connection node_2;
236224SELECT * FROM pf;
@@ -255,22 +243,20 @@ START TRANSACTION;
255243UPDATE pg SET f2 = 1 WHERE f1 = 1;
256244connection node_1a;
257245SET SESSION wsrep_sync_wait = 0;
258- SET GLOBAL wsrep_provider_options = 'dbug=d,apply_monitor_slave_enter_sync' ;
246+ SET GLOBAL DEBUG_DBUG = "d,sync.wsrep_apply_cb" ;
259247connection node_2;
260248INSERT INTO cg VALUES (1, 1, 0);
261249connection node_1a;
262- SET SESSION wsrep_on = 0;
263- SET SESSION wsrep_on = 1;
264- SET GLOBAL wsrep_provider_options = 'dbug=';
265- SET GLOBAL wsrep_provider_options = 'dbug=d,local_monitor_master_enter_sync';
250+ SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
266251connection node_1;
252+ SET DEBUG_SYNC = "wsrep_after_certification SIGNAL after_certification_reached WAIT_FOR continue_after_certification";
267253COMMIT;
268254connection node_1a;
269- SET SESSION wsrep_on = 0 ;
270- SET SESSION wsrep_on = 1 ;
271- SET GLOBAL wsrep_provider_options = 'signal=apply_monitor_slave_enter_sync ';
272- SET GLOBAL wsrep_provider_options = 'signal=local_monitor_master_enter_sync' ;
273- SET GLOBAL wsrep_provider_options = 'dbug= ';
255+ SET SESSION DEBUG_SYNC = "now WAIT_FOR after_certification_reached" ;
256+ SET DEBUG_SYNC = 'now SIGNAL continue_after_certification' ;
257+ SET DEBUG_SYNC = 'now SIGNAL signal.wsrep_apply_cb ';
258+ SET GLOBAL DEBUG_DBUG = "" ;
259+ SET DEBUG_SYNC = 'RESET ';
274260connection node_1;
275261connection node_2;
276262SELECT * FROM pg;
0 commit comments