-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Online DDL: support alter vitess_migration ... postpone complete syntax
#18118
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
Online DDL: support alter vitess_migration ... postpone complete syntax
#18118
Conversation
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18118 +/- ##
==========================================
- Coverage 67.53% 67.45% -0.09%
==========================================
Files 1601 1601
Lines 261484 262150 +666
==========================================
+ Hits 176592 176828 +236
- Misses 84892 85322 +430 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
alter vitess_migration ... postpone syntaxalter vitess_migration ... postpone complete syntax
|
Changed syntax from |
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Co-authored-by: Deepthi Sigireddi <[email protected]> Signed-off-by: Shlomi Noach <[email protected]>
|
Docs PR: vitessio/website#1991 |
Description
This PR introduces two new queries:
alter vitess_migration '<uuid>' postpone completealter vitess_migration postpone complete allWith these two queries, it is possible to set
postpone_completionon already running migrations that are not postponed. The use case in particular is for when a migration seems to run into an endless cut-over sequence and is unable to complete. It may be desired to withhold completion until further notice.These commands are the opposite of
alter vitess_migration ... complete [all]commands, and can alternate back and forth multiple times in the lifetime of the migration.Related Issue(s)
OnlineDDL complete#18107alter vitess_migration ... postpone completewebsite#1991Checklist
Deployment Notes