-
Notifications
You must be signed in to change notification settings - Fork 2.4k
fix(vdiff): preserve PK definition order in getSourcePKCols #20603
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
Open
pedroalb
wants to merge
19
commits into
vitessio:main
Choose a base branch
from
pedroalb:fix/vdiff-source-pk-cols-ordering
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
c355d83
fix(vdiff): preserve PK definition order in getSourcePKCols
pedroalb 914cadd
fix: use 2026 copyright year in new test file
pedroalb f554ecf
fix(vdiff): map source PK cols against SELECT expression order
pedroalb 6b1b236
fix(vdiff): two-pass PK mapping to prevent alias shadowing
pedroalb 19db881
refactor: extract sourcePKSelectIndices for direct testability
pedroalb 04a0eb7
fix(vdiff): resolve source table from filter and fail closed on non-p…
pedroalb 1235ce0
fix(vdiff): do not fail closed when a source PK column is unprojected
pedroalb 9146492
test(vdiff): fail loud on unexpanded star in sourcePKSelectIndices
pedroalb f658eb1
fix(vdiff): use vterrors with explicit codes in source PK helpers
pedroalb bfc5ba8
fix(vdiff): walk nested CONVERT to resolve inner source PK column
pedroalb e7a1832
fix(vdiff): fail closed on computed CONVERT USING expressions in sour…
pedroalb af181ff
test(vdiff): use realistic DDL-order fields in resume checkpoint test
pedroalb 031d426
fix(vdiff): record explicit empty source checkpoint for subset-projec…
pedroalb 20df9ad
fix(vdiff): restart whole table when source checkpoint is unavailable
pedroalb ebfb136
fix(vdiff): reset report and clear stale lastpk on whole-table restart
pedroalb 7ba66d2
fix(vdiff): fail fast and clear mismatch bit for un-checkpointable ta…
pedroalb d7f8f0e
fix(vdiff): run un-checkpointable tables in a single pass, not fail/r…
pedroalb 30f9653
chore(vdiff): use structured logging for the max-diff-duration skip w…
pedroalb 66336dd
fix(vdiff): honor --max-diff-duration for un-checkpointable tables, f…
pedroalb 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 hidden or 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 hidden or 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.
IMO we could/should use a single query and just make the boolean part variable with
%abut it's not a blocker.