@@ -50,16 +50,16 @@ echo "Case 1: Test AFTER_CONSENSUS on leader";
5050connection server_1;
5151# Should be AFTER_CONSENSUS
5252select @@global.raft_signal_async_dump_threads;
53- # Wait before executing replicationDone i.e. before commit hook
54- set @@global.rpl_raft_debug_sync_point = 'replicationDone ';
53+ # Wait before executing ReplicationDoneCallback i.e. before commit hook
54+ set @@global.rpl_raft_debug_sync_point = 'ReplicationDoneCallback ';
5555
5656# Execute a trx on the leader
5757connection server_1_1;
5858send insert into t1 values(1);
5959
60- # Wait till we've reached the beginning of replicationDone
60+ # Wait till we've reached the beginning of ReplicationDoneCallback
6161connection server_1;
62- set @@global.rpl_raft_debug_sync_point_action = 'wait_for replicationDone ';
62+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for ReplicationDoneCallback ';
6363
6464# Sync both raft nodes
6565let $sync_slave_connection= server_2;
@@ -80,9 +80,9 @@ select * from t1;
8080connection server_5;
8181select * from t1;
8282
83- # Continue replicationDone
83+ # Continue ReplicationDoneCallback
8484connection server_1;
85- set @@global.rpl_raft_debug_sync_point_action = 'continue replicationDone ';
85+ set @@global.rpl_raft_debug_sync_point_action = 'continue ReplicationDoneCallback ';
8686set @@global.rpl_raft_debug_sync_point = '';
8787
8888connection server_1_1;
@@ -113,16 +113,16 @@ echo "Case 2: Test AFTER_CONSENSUS on follower";
113113connection server_2;
114114# Should be AFTER_CONSENSUS
115115select @@global.raft_signal_async_dump_threads;
116- # Wait before executing replicationDone
117- set @@global.rpl_raft_debug_sync_point = 'replicationDone ';
116+ # Wait before executing ReplicationDoneCallback
117+ set @@global.rpl_raft_debug_sync_point = 'ReplicationDoneCallback ';
118118
119119# Execute a trx on the leader
120120connection server_1;
121121insert into t1 values(2);
122122
123- # Wait till we've reached the beginning of replicationDone
123+ # Wait till we've reached the beginning of ReplicationDoneCallback
124124connection server_2;
125- set @@global.rpl_raft_debug_sync_point_action = 'wait_for replicationDone ';
125+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for ReplicationDoneCallback ';
126126
127127# Sync server3
128128let $sync_slave_connection= server_3;
@@ -141,9 +141,9 @@ select * from t1;
141141connection server_5;
142142select * from t1;
143143
144- # Continue replicationDone
144+ # Continue ReplicationDoneCallback
145145connection server_2;
146- set @@global.rpl_raft_debug_sync_point_action = 'continue replicationDone ';
146+ set @@global.rpl_raft_debug_sync_point_action = 'continue ReplicationDoneCallback ';
147147set @@global.rpl_raft_debug_sync_point = '';
148148
149149connection server_1;
@@ -173,16 +173,16 @@ echo "Case 3: Test AFTER_ENGINE_COMMIT on leader";
173173
174174connection server_1;
175175set @@global.raft_signal_async_dump_threads = AFTER_ENGINE_COMMIT;
176- # Wait before executing updateConsensusApplied i.e. after commit
177- set @@global.rpl_raft_debug_sync_point = 'updateConsensusApplied ';
176+ # Wait before executing UpdateConsensusApplied i.e. after commit
177+ set @@global.rpl_raft_debug_sync_point = 'UpdateConsensusApplied ';
178178
179179# Execute a trx on the leader
180180connection server_1_1;
181181send insert into t1 values(3);
182182
183- # Wait till we've reached the beginning of replicationDone
183+ # Wait till we've reached the beginning of ReplicationDoneCallback
184184connection server_1;
185- set @@global.rpl_raft_debug_sync_point_action = 'wait_for updateConsensusApplied ';
185+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for UpdateConsensusApplied ';
186186
187187# Sync both raft nodes
188188let $sync_slave_connection= server_2;
@@ -203,9 +203,9 @@ select * from t1;
203203connection server_5;
204204select * from t1;
205205
206- # Continue replicationDone
206+ # Continue ReplicationDoneCallback
207207connection server_1;
208- set @@global.rpl_raft_debug_sync_point_action = 'continue updateConsensusApplied ';
208+ set @@global.rpl_raft_debug_sync_point_action = 'continue UpdateConsensusApplied ';
209209set @@global.rpl_raft_debug_sync_point = '';
210210
211211connection server_1_1;
@@ -236,16 +236,16 @@ echo "Case 4: Test AFTER_ENGINE_COMMIT on follower";
236236
237237connection server_2;
238238set @@global.raft_signal_async_dump_threads = AFTER_ENGINE_COMMIT;
239- # Wait before executing updateConsensusApplied
240- set @@global.rpl_raft_debug_sync_point = 'updateConsensusApplied ';
239+ # Wait before executing UpdateConsensusApplied
240+ set @@global.rpl_raft_debug_sync_point = 'UpdateConsensusApplied ';
241241
242242# Execute a trx on the leader
243243connection server_1;
244244insert into t1 values(4);
245245
246- # Wait till we've reached the beginning of replicationDone
246+ # Wait till we've reached the beginning of ReplicationDoneCallback
247247connection server_2;
248- set @@global.rpl_raft_debug_sync_point_action = 'wait_for updateConsensusApplied ';
248+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for UpdateConsensusApplied ';
249249
250250# Sync server3
251251let $sync_slave_connection= server_3;
@@ -264,9 +264,9 @@ select * from t1;
264264connection server_5;
265265select * from t1;
266266
267- # Continue replicationDone
267+ # Continue ReplicationDoneCallback
268268connection server_2;
269- set @@global.rpl_raft_debug_sync_point_action = 'continue updateConsensusApplied ';
269+ set @@global.rpl_raft_debug_sync_point_action = 'continue UpdateConsensusApplied ';
270270set @@global.rpl_raft_debug_sync_point = '';
271271
272272connection server_1;
@@ -300,16 +300,16 @@ echo "Case 5: Check if rotation is handled correctly on leader";
300300connection server_1;
301301# Rotate raft log
302302flush binary logs;
303- # Wait before executing replicationDone i.e. before commit hook
304- set @@global.rpl_raft_debug_sync_point = 'replicationDone ';
303+ # Wait before executing ReplicationDoneCallback i.e. before commit hook
304+ set @@global.rpl_raft_debug_sync_point = 'ReplicationDoneCallback ';
305305
306306# Execute a trx on the leader
307307connection server_1_1;
308308send insert into t1 values(5);
309309
310- # Wait till we've reached the beginning of replicationDone
310+ # Wait till we've reached the beginning of ReplicationDoneCallback
311311connection server_1;
312- set @@global.rpl_raft_debug_sync_point_action = 'wait_for replicationDone ';
312+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for ReplicationDoneCallback ';
313313
314314let $sync_slave_connection= server_2;
315315source include/sync_slave_sql_with_master.inc;
@@ -337,9 +337,9 @@ select * from t1;
337337connection server_5;
338338select * from t1;
339339
340- # Continue replicationDone
340+ # Continue ReplicationDoneCallback
341341connection server_1;
342- set @@global.rpl_raft_debug_sync_point_action = 'continue replicationDone ';
342+ set @@global.rpl_raft_debug_sync_point_action = 'continue ReplicationDoneCallback ';
343343set @@global.rpl_raft_debug_sync_point = '';
344344
345345connection server_1_1;
@@ -374,16 +374,16 @@ connection server_1;
374374# Rotate raft logs
375375flush binary logs;
376376connection server_2;
377- # Wait before executing replicationDone
378- set @@global.rpl_raft_debug_sync_point = 'replicationDone ';
377+ # Wait before executing ReplicationDoneCallback
378+ set @@global.rpl_raft_debug_sync_point = 'ReplicationDoneCallback ';
379379
380380# Execute a trx on the leader
381381connection server_1;
382382insert into t1 values(6);
383383
384- # Wait till we've reached the beginning of replicationDone
384+ # Wait till we've reached the beginning of ReplicationDoneCallback
385385connection server_2;
386- set @@global.rpl_raft_debug_sync_point_action = 'wait_for replicationDone ';
386+ set @@global.rpl_raft_debug_sync_point_action = 'wait_for ReplicationDoneCallback ';
387387
388388let $sync_slave_connection= server_3;
389389source include/sync_slave_sql_with_master.inc;
@@ -409,9 +409,9 @@ select * from t1;
409409connection server_5;
410410select * from t1;
411411
412- # Continue replicationDone
412+ # Continue ReplicationDoneCallback
413413connection server_2;
414- set @@global.rpl_raft_debug_sync_point_action = 'continue replicationDone ';
414+ set @@global.rpl_raft_debug_sync_point_action = 'continue ReplicationDoneCallback ';
415415set @@global.rpl_raft_debug_sync_point = '';
416416
417417# Sync all servers
0 commit comments