13.4.3.2 STOP GROUP_REPLICATION Statement语句

STOP GROUP_REPLICATION

Stops Group Replication. 停止组复制。This statement requires the GROUP_REPLICATION_ADMIN privilege (or the deprecated SUPER privilege). 此语句需要GROUP_REPLICATION_ADMIN权限(或不推荐使用的SUPER权限)。As soon as you issue STOP GROUP_REPLICATION the member is set to super_read_only=ON, which ensures that no writes can be made to the member while Group Replication stops. 一旦发出STOP GROUP_REPLICATION,成员将被设置为super_read_only=ON,这将确保在组复制停止时不会对成员进行写入。Any other replication channels running on the member are also stopped. 成员上运行的任何其他复制通道也将停止。Any user credentials that you specified on the START GROUP_REPLICATION statement when starting Group Replication on this member are removed from memory, and must be supplied when you start Group Replication again.在该成员上启动组复制时,在START GROUP_REPLICATION语句中指定的任何用户凭据都将从内存中删除,并且在再次启动组复制时必须提供这些凭据。

Warning警告

Use this statement with extreme caution because it removes the server instance from the group, meaning it is no longer protected by Group Replication's consistency guarantee mechanisms. 使用此语句时要格外小心,因为它会从组中删除服务器实例,这意味着它不再受组复制的一致性保证机制的保护。To be completely safe, ensure that your applications can no longer connect to the instance before issuing this statement to avoid any chance of stale reads.为了完全安全,请确保应用程序在发出此语句之前不能再连接到实例,以避免任何过时读取的机会。