MXS-1712 Cleanup reset-replication
Now logs messages explaining what has been done. Scheduled events are disabled/enabled during the operation. Redirection of slaves is done at the end similar to failover/switchover.
This commit is contained in:
@ -1045,7 +1045,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
};
|
||||
|
||||
modulecmd_register_command(MXS_MODULE_NAME,
|
||||
"reset_replication",
|
||||
"reset-replication",
|
||||
MODULECMD_TYPE_ACTIVE,
|
||||
handle_manual_reset_replication,
|
||||
MXS_ARRAY_NELEMS(reset_gtid_argv), reset_gtid_argv,
|
||||
|
Reference in New Issue
Block a user