-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: followups in multiple trajectories #6901
Online DDL: followups in multiple trajectories #6901
Conversation
… an app by breaking its name to tokens Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…persist original tablet alias that executed the migration. Adding 'retries' counter column 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>
…the way to retrying a migration after failover Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…-updates 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>
This PR begins to accumulate multiple changes, so I'd like to get it reviewed now before it grows too much, and then followup on each of the changes in future PRs. Changes in this PR:
|
Tracking issue: #6926 |
This PR will be accompanied with a documentation PR, followup in future comment. |
Documentation in vitessio/website#571 |
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.
lgtm
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…-updates Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Question: this PR introduces a new column (multiple, actually) in Now, the issue is what happens if someone upgrades their I seem to recall we stated that we support partial upgrades. I wonder how I should go about solving this problem. |
I think this pushes us in the direction of version-aware components. vtctld needs to know the version of the vttablets it is talking to and modify its behavior. OTOH we did say that online DDL is experimental in 8.0 so we could document this as an expected incompatibility. Though that just postpones the time when we would have to deal with it, so it might be a good idea to work out a canonical solution right now. |
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…osc) 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>
… and tablet does not expect tablet column in VExec; instead, tablet column is planted into the INSERT query Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
vttablet's As of now, this PR does not change the query passed between This does not solve all possible futuristic problems: in the future we may actually want to inject more data on |
Oh, this is clever 💯 |
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.
lgtm
Adding functionality to online DDL:
_vt.schema_migrations
tabletablet
column, indicating which tablet originated the migration. This will be useful when identifying, and recovering from, mid-migration failoversretries
column, counting the number of retries for a specific migrationUpdated changes summary in followup comment