@@ -38,18 +38,22 @@ SHOW SLAVE STATUS FOR CHANNEL 'group_replication_applier';
38
38
ERROR HY000: SHOW SLAVE STATUS cannot be performed on channel 'group_replication_applier'.
39
39
40
40
# START SLAVE SQL_THREAD command will work for group_replication_applier
41
- START SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
41
+ include/gr_start_applier_sql_thread.inc
42
+ START SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
42
43
Warnings:
43
44
Note 3083 Replication thread(s) for channel 'group_replication_applier' are already runnning.
44
45
45
46
# STOP SLAVE SQL_THREAD command will work for group_replication_applier
46
- STOP SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
47
+ include/gr_stop_applier_sql_thread.inc
48
+ STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
47
49
# START SLAVE SQL_THREAD with UNTIL option will work for group_replication_applier
48
50
START SLAVE SQL_THREAD UNTIL SQL_BEFORE_GTIDS='11111111-1111-1111-1111-111111111111:1-23' FOR CHANNEL 'group_replication_applier';
49
- STOP SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
51
+ include/gr_stop_applier_sql_thread.inc
52
+ STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
50
53
# START SLAVE SQL_THREAD with UNTIL option will work for group_replication_applier
51
54
START SLAVE SQL_THREAD UNTIL RELAY_LOG_FILE = 'server-relay-log-group_replication_applier.000002', RELAY_LOG_POS = 10000 FOR CHANNEL 'group_replication_applier';
52
- STOP SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
55
+ include/gr_stop_applier_sql_thread.inc
56
+ STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
53
57
54
58
# SHOW RELAYLOG EVENTS for channel will work for all channels
55
59
include/assert.inc [Relay log name should not be empty as the command successfully executed.]
@@ -85,10 +89,12 @@ SHOW SLAVE STATUS FOR CHANNEL 'group_replication_applier';
85
89
ERROR HY000: SHOW SLAVE STATUS cannot be performed on channel 'group_replication_applier'.
86
90
87
91
# START SLAVE SQL_THREAD command will work for group_replication_applier
88
- START SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
92
+ include/gr_start_applier_sql_thread.inc
93
+ START SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
89
94
90
95
# STOP SLAVE SQL_THREAD command will work for group_replication_applier
91
- STOP SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
96
+ include/gr_stop_applier_sql_thread.inc
97
+ STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
92
98
93
99
# SHOW RELAYLOG EVENTS for channel will work for all channels
94
100
include/assert.inc [Relay log name should not be empty as the command successfully executed.]
@@ -111,7 +117,8 @@ include/start_group_replication.inc
111
117
include/stop_group_replication.inc
112
118
RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
113
119
include/start_group_replication.inc
114
- STOP SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
120
+ include/gr_stop_applier_sql_thread.inc
121
+ STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
115
122
# RESET SLAVE should not be allowed when GR is ONLINE.
116
123
# So this command will fail.
117
124
RESET SLAVE FOR CHANNEL "group_replication_applier";
@@ -120,7 +127,8 @@ ERROR HY000: RESET SLAVE [ALL] FOR CHANNEL cannot be performed on channel 'group
120
127
# So this command will fail.
121
128
RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
122
129
ERROR HY000: RESET SLAVE [ALL] FOR CHANNEL cannot be performed on channel 'group_replication_applier'.
123
- START SLAVE SQL_THREAD FOR CHANNEL 'group_replication_applier';
130
+ include/gr_start_applier_sql_thread.inc
131
+ START SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
124
132
# stop the channel and try reset slave for channel again. It should work.
125
133
include/stop_group_replication.inc
126
134
RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
0 commit comments