forked from github/gh-ost
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make StopReplication wait for replication to be stopped externally
This will wait indefinitely for the replication status to change. This allows us to run `--test-on-replica` in RDS without making extensive modifications.
- Loading branch information
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See discussion on github#162 re: whether to go this way or the hooks way.
Regardless, if you wish to introduce change of behavior, such as in the above, please always make sure to be backwards compatible. This can be supported by some
--test-on-replica-manual-stop-replication
flag, which would default tofalse
.