-
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
VReplication: Support automatically replacing auto_inc cols with sequences #16860
Merged
Merged
Changes from 12 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e6487dd
Support automatically replacing auto_increment columns with sequences
mattlord 33b4cc9
Various improvements
mattlord e56dd5b
Improve errors
mattlord 1cb3de5
Add to flag handling test
mattlord f5eb4e2
Add unit test
mattlord b110120
Support creating missing sequence backing tables during init
mattlord 6fc7fdc
Changes from self review
mattlord e89bbf7
Add unit test for auto table creation
mattlord 2b28b2b
Minor error improvements
mattlord 659929e
Add new test comment
mattlord cf99d54
Make auto generated sequence table name a const
mattlord 292a422
Add comment for const
mattlord 8d5087a
Address review comments
mattlord 4cbfb20
Merge remote-tracking branch 'origin/main' into vrepl_replace_auto_inc
mattlord eaed239
Move missing sequence table creation to its own function
mattlord ec94e1d
Comment nits
mattlord 73f9491
Add --global-keyspace to TestVtctldclientCLI test
mattlord 733198b
Address review comments
mattlord 67c1ef1
Correct comment
mattlord 316a111
Merge remote-tracking branch 'origin/main' into vrepl_replace_auto_inc
mattlord a56010e
Add section about the new feature to the release summary
mattlord cd7eea1
Correct flag value
mattlord 14b6873
Add reference table linnk
mattlord 3ceb253
Update summary note
mattlord 2bb2a3a
Merge remote-tracking branch 'origin/main' into vrepl_replace_auto_inc
mattlord 1d8601a
Merge remote-tracking branch 'origin/main' into vrepl_replace_auto_inc
mattlord File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It's unclear exactly what the boolean logic here means to someone who doesn't already know it.
I'm reading it as
but it should be rewritten to avoid confusion.
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.
I can think about how to make it more clear. It reads pretty clear to me but I'll think about it.
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.
I tried to address this here: 733198b
The change is subtle, but I think it's quite clear.