You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#26519582: GR_SINGLE_PRIMARY_ASYNC_AFTER_GR_SECONDARY FAILING ON HUDSON
Issue:
======
The testcase failing because of concurrent DDL statement execution. The change
master which is executed on server2 is blocked by create table (initially
executed on server1) when applied on server2 as it had higher priority.
Solution:
=========
Move create table on server1 below change master statement on server2, so they
are not executed concurrently.
# 2. Create new channel ch3_2: server2(slave), server3(master)
14
+
[connection server2]
15
+
CHANGE MASTER TO MASTER_HOST='localhost', MASTER_USER='root', MASTER_PORT=SERVER_3_PORT for channel 'ch3_2';
16
+
Warnings:
17
+
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
18
+
Note 1760 Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
19
+
20
+
# 3. Add some data to server1 & 3
14
21
[connection server1]
15
22
CREATE TABLE test.t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
16
23
INSERT INTO test.t1 VALUES (1);
17
24
[connection server3]
18
25
CREATE TABLE test.t2 (c1 INT NOT NULL) ENGINE=InnoDB;
19
26
INSERT INTO test.t2 VALUES (1);
20
27
21
-
# 3. Create new channel ch3_2: server2(slave), server3(master)
22
-
[connection server2]
23
-
CHANGE MASTER TO MASTER_HOST='localhost', MASTER_USER='root', MASTER_PORT=SERVER_3_PORT for channel 'ch3_2';
24
-
Warnings:
25
-
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
26
-
Note 1760 Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
28
+
# 4. Verify the error scenarios.
27
29
28
30
# 4.1 start slave and verify for error ER_SLAVE_FATAL_ERROR
0 commit comments