Skip to content

Commit 43eadd3

Browse files
author
Anibal Pinto
committed
BUG#27091468: CONCURRENCY ISSUE IN GR_FORCE_MEMBER_EXPEL MAKES IT FAIL SPORADICALLY
When there is an error in a server, it is moved to an error state and then set to read only mode. The test case expects that a transaction will reach the server after it has been moved to read only mode. However, it reaches the server before it is moved to read only mode sometimes thus generating unexpected messages in the error log and making the test fail. The test was change to confirm that super_read_only is set before execute transaction.
1 parent cc98465 commit 43eadd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rapid/plugin/group_replication/tests/mtr/t/gr_force_member_expel.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ SET SESSION sql_log_bin= 1;
9191
--let $group_replication_number_of_members= 1
9292
--source ../inc/gr_wait_for_number_of_members.inc
9393

94+
--let $wait_condition= SELECT @@GLOBAL.super_read_only = '1'
95+
--source include/wait_condition.inc
96+
9497
--error ER_OPTION_PREVENTS_STATEMENT
9598
CREATE TABLE te (c1 INT NOT NULL PRIMARY KEY);
9699

0 commit comments

Comments
 (0)