-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Only allow -switch-to-rbr when inspecting replica #999
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
base: master
Are you sure you want to change the base?
Only allow -switch-to-rbr when inspecting replica #999
Conversation
Actions/Workflow: upload artifact
Support a complete ALTER TABLE statement in --alter
handle driver timeout error
Updates from upstream 2020 10
Initial commit: towards setting up a test suite Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…original table, applying AUTO_INCREMENT value onto ghost table if applicable and user has not specified AUTO_INCREMENT in alter statement
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Copying AUTO_INCREMENT value to ghost table
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Generated column as part of UNIQUE (or PRIMARY) KEY
Cut-over should wait for heartbeat lag to be low enough to succeed
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
All MySQL DBs limited to max 3 concurrent/idle connections
…context Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
hooks: reporting GH_OST_ETA_SECONDS. ETA as part of migration context
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Support tables with existing zero dates
Support for triggers
Support for triggers
change trigger suffix logic
Support for triggers no rollback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋/:pray: @shlomi-noach, sorry for the delay!
LGTM once this is rebased 👍. Currently can't merge
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
The
I'm actually unable to find where exactly the linter sees the issue? |
@shlomi-noach thanks! Yikes, that output isn't so useful 🤔 This check-annotations page has much more useful output and clicking on each nit jumps to the code (TIL 🚀): https://github.com/github/gh-ost/actions/runs/2897390310. It looks like it's mad about some extra whitespace and 2 x loops that could be simplified to |
Resubmission of openark#23 from downstream
Fixes #991
gh-ost
will fail with error when-switch-to-rbr
is provided and when running directly on primary (--allow-on-master
).Low risk
No changes to migration logic, just added command line validation