To enable MySQL replication operations to act on individual replication channels, use theFOR CHANNEL
clause with the following replication statements:channel
START REPLICA
(or before MySQL 8.0.22,START SLAVE
)STOP REPLICA
(or before MySQL 8.0.22,STOP SLAVE
)SHOW REPLICA STATUS
(or before MySQL 8.0.22,SHOW SLAVE STATUS
)RESET REPLICA
(or before MySQL 8.0.22,RESET SLAVE
)
The following functions have achannel
parameter:
The following statements are disallowed for thegroup_replication_recovery
channel:
The following statements are disallowed for thegroup_replication_applier
channel:
FLUSH RELAY LOGS
is now permitted for thegroup_replication_applier
channel, but if the request is received while a transaction is being applied, the request is performed after the transaction ends. The requester must wait while the transaction is completed and the rotation takes place. This behavior prevents transactions from being split, which is not permitted for Group Replication.