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

schemadiff: rich ImpossibleApplyDiffOrderError #12918

Merged

Conversation

shlomi-noach
Copy link
Contributor

Description

Continuing #12551 and #12885, this PR offers a strongly typed and rich ImpossibleApplyDiffOrderError.

This error indicates the total diffs for which no valid ordering is found, as well as a subset of diffs that causes the conflict. From there' we can generate the statements, or extract the effected entities.

Related Issue(s)

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on the CI
  • Documentation was added or is not required

Deployment Notes

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
…on instead

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving labels Apr 18, 2023
@shlomi-noach shlomi-noach requested a review from a team April 18, 2023 08:11
@shlomi-noach shlomi-noach requested a review from deepthi as a code owner April 18, 2023 08:11
@shlomi-noach shlomi-noach requested a review from dbussink April 18, 2023 08:13
@github-actions github-actions bot added this to the v17.0.0 milestone Apr 18, 2023
@shlomi-noach shlomi-noach added Component: Online DDL Online DDL (vitess/native/gh-ost/pt-osc) and removed Component: Online DDL Online DDL (vitess/native/gh-ost/pt-osc) labels Apr 18, 2023
@shlomi-noach shlomi-noach merged commit 821b72f into vitessio:main Apr 18, 2023
@shlomi-noach shlomi-noach deleted the schemadiff-invalid-apply-order-info branch April 18, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants