The Wayback Machine - https://web.archive.org/web/20201121003939/https://github.com/github/gh-ost/pull/695
Skip to content
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

Adding --force-named-panic option #695

Merged
merged 5 commits into from Mar 11, 2019
Merged

Adding --force-named-panic option #695

merged 5 commits into from Mar 11, 2019

Conversation

@shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Jan 14, 2019

When --force-named-panic is given, a panic command must also indicate the name of migrated table, or else it is ignored.
This can be useful in mass-distributing a panic request to potentially multiple gh-ost migrations, when in fact only seeking to terminate a specific migration.

Shlomi Noach added 5 commits Jan 14, 2019
Shlomi Noach
Shlomi Noach
Shlomi Noach
Shlomi Noach
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing Mar 6, 2019 Inactive
@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach commented Mar 11, 2019

This PR also supports non-forced named throttle. i.e. you may for example echo throttle table_name | socat - /tmp/gh-ost.sock, and the migration will only throttle on a table name match.

@shlomi-noach shlomi-noach merged commit 2c0aa36 into master Mar 11, 2019
4 checks passed
4 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
gh-ost-build-deploy-tarball Build #15441385 succeeded in 12s
Details
gh-ost-replica-tests Build #15441386 succeeded in 998s
Details
@shlomi-noach shlomi-noach deleted the named-panic branch Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.