-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support manual replication stop in --test-on-replica #162
Comments
This will wait indefinitely for the replication status to change. This allows us to run `--test-on-replica` in RDS without making extensive modifications.
@shlomi-noach Yes, the approach of #62 sounds ideal! And much more flexible in terms of integrating with other tools and test workflows. I think there is still the concern of whether gh-ost should issue the One possible approach (in What do you think? |
If the only change is whether to Eventually, as we progress with RDS support we may consolidate some flags to or, we may just recognize this is |
Ok, that sounds great. I will submit a PR with that setting. Just to confirm, you would prefer a single flag like Do I have that right? |
Yes, I'd rather have a single flag that clarifies its intention. Also, Thanks On Thursday, August 18, 2016, Paulo Bittencourt [email protected]
Shlomi Noach |
As for RDS, |
Hello, I am trying to use gh-ost with Amazon's RDS. Unfortunately, RDS doesn't give you
SUPER
privileges, so thestop slave
statement doesn't work, when running it in--test-on-replica
mode.To work around this, I'm working off my own branch and I've patched it to wait for replication to stop.
RDS does have its own command for stopping replication:
call mysql.rds_stop_replication
However, I wanted to avoid polluting the tool with RDS-specific statements, so I opted for just manually running the replication stop command externally.Do you have any thoughts on whether/how this could be supported? Perhaps a CLI argument like
--manual-replication-stop
?I am happy to contribute a PR.
The text was updated successfully, but these errors were encountered: