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

vindexes.BuildVSchema: prevent one bad sequence from breaking all oth… #4743

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

dweitzman
Copy link
Member

@dweitzman dweitzman commented Mar 21, 2019

…er sequences

PR #4371 made vtgate more permissive about allowing bad data in a vschema
without failing requests that only involve properly-defined tables.

This PR extends that so a single table entry in the vschema that references a bad
sequence won't disable the sequences for all the other tables with valid sequence
configs.

@dweitzman dweitzman requested a review from sougou as a code owner March 21, 2019 20:33
@dweitzman dweitzman force-pushed the isolate_bad_seq_impact branch 2 times, most recently from 72ee957 to 197da89 Compare March 21, 2019 20:38
…er sequences

PR vitessio#4371 made vtgate more permissive about allowing bad data in a vschema
without failing requests that only involve properly-configured tables.

This PR extends that so a single table entry in the vschema that references a bad
sequence won't disable the sequences for all the other tables with valid sequence
configs.

Signed-off-by: David Weitzman <[email protected]>
@dweitzman dweitzman force-pushed the isolate_bad_seq_impact branch from 197da89 to 4937f39 Compare March 22, 2019 03:37
Copy link
Member

@rafael rafael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. LGTM.

@dweitzman dweitzman merged commit 7a201e3 into vitessio:master Mar 22, 2019
@dweitzman dweitzman deleted the isolate_bad_seq_impact branch June 18, 2019 17:39
mingjianliu pushed a commit to mingjianliu/vitess that referenced this pull request Jul 16, 2020
Summary:
1) Don't let one bad sequence disable sequences for other tables
vitessio#4743

2) Route "show create table" correctly
vitessio#4732

Reviewers: #vitess, hzhou, mingjianliu

Reviewed By: #vitess, mingjianliu

Subscribers: mingjianliu, jenkins

Differential Revision: https://phabricator.pinadmin.com/D382885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants