Skip to content

Commit 374a8a4

Browse files
hermanleeinikep
authored andcommitted
Fix flakiness in rpl per_channel tests
Summary: These tests fail occasionally due to an error message about the channel being stopped in the error log. Suppress this error message. Reviewed By: lth Differential Revision: D45573014
1 parent 2ea9ad8 commit 374a8a4

18 files changed

+20
-0
lines changed

mysql-test/suite/rpl/r/rpl_cloned_slave_relay_log_info.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ call mtr.add_suppression("Recovery from source pos [0-9]+ and file [a-zA-Z-]+\.[
9696
call mtr.add_suppression("Applier metadata information for channel 'channel_1' was found after a clone operation. Relay log recovery*");
9797
call mtr.add_suppression("Applier metadata information for channel 'channel_3' was found after a clone operation. Relay log recovery*");
9898
call mtr.add_suppression("Relay log recovery on channel with GTID_ONLY=1*");
99+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
99100
set session sql_log_bin=1;
100101
include/rpl_end.inc
101102
RESET REPLICA ALL FOR CHANNEL 'channel_1';

mysql-test/suite/rpl/r/rpl_do_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_initialize_serverid.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Note #### Storing MySQL user name or password information in the connection meta
55
[connection master]
66

77
[connection slave]
8+
set session sql_log_bin=0;
9+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
810
include/rpl_stop_server.inc [server_number=2]
911

1012
[connection master]

mysql-test/suite/rpl/r/rpl_rewrite_db_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost', SOURCE_PORT=MASTER_PORT_3, SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_do_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/r/rpl_wild_ignore_table_per_channel_filter.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include/rpl_init.inc [topology=1->2,3->2]
22
[connection server_2]
33
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel '' which does not exist. The filter.s. have been discarded.");
44
call mtr.add_suppression("There are per-channel replication filter.s. configured for channel 'channel_3_2' which does not exist. The filter.s. have been discarded.");
5+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
56
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT,SOURCE_USER='root' for CHANNEL '';
67
CHANGE REPLICATION SOURCE TO SOURCE_HOST='localhost',SOURCE_PORT=MASTER_PORT_3,SOURCE_USER='root' for CHANNEL 'channel_3_2';
78
include/start_slave.inc

mysql-test/suite/rpl/t/rpl_cloned_slave_relay_log_info.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ call mtr.add_suppression("Recovery from source pos [0-9]+ and file [a-zA-Z-]+\.[
268268
call mtr.add_suppression("Applier metadata information for channel 'channel_1' was found after a clone operation. Relay log recovery*");
269269
call mtr.add_suppression("Applier metadata information for channel 'channel_3' was found after a clone operation. Relay log recovery*");
270270
call mtr.add_suppression("Relay log recovery on channel with GTID_ONLY=1*");
271+
call mtr.add_suppression("The slave coordinator and worker threads are stopped");
271272
set session sql_log_bin=1;
272273

273274
--let $rpl_skip_sync= 1

0 commit comments

Comments
 (0)