-
Notifications
You must be signed in to change notification settings - Fork 597
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
fix(backfill): make tombstone iteration progress across all vnodes per epoch #17266
Closed
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1621f45
add frontend changes
kwannoel 493a47e
decode pk_inclusive flag, add it to in-memory progress
kwannoel 38239ab
check inclusive flag when computing bounds
kwannoel 157a6cf
rename pk_inclusive to yielded + include logic when considering updat…
kwannoel 8463b7b
handle state encoding and committing
kwannoel 381e81c
assert that all pk must be yielded downstream before marking as finished
kwannoel 51b9966
iterate at least 1 record per vnode
kwannoel 0be7fde
add append one row
kwannoel f7d3973
handle backwards compat
kwannoel 3248c73
convert to mutable bitset instead
kwannoel 519db4c
fix no shuffle should be exclusive
kwannoel d5260b4
no need to assert current pos is yielded
kwannoel 4955a52
fix
kwannoel e5529ed
expose missing records
kwannoel 2934095
check if yield + no bump position is causing the error
kwannoel a31f61f
bump timeout
kwannoel 5618d48
revert + skip snapshot read for completed partition
kwannoel c552c97
cannot finish progress
kwannoel 0072373
Revert "cannot finish progress"
kwannoel f51e190
optimize
kwannoel d79205f
fix
kwannoel cbb96e1
fix
kwannoel 36d0539
remove skip buffer
kwannoel f91cb57
no need to yield
kwannoel db6dbb8
just do a snapshot read
kwannoel 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
query I | ||
select (select count(*) from arrangement_backfill) = (select count(*) from t); | ||
select v1 from arrangement_backfill where v1 not in (select v1 from t); | ||
---- | ||
t | ||
|
||
query I | ||
select v1 from t where v1 not in (select v1 from arrangement_backfill); | ||
---- |
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.
Do we need to ensure backward compatibility after adding this new column? In other words, is it possible that an arrangement backfill is triggered in old version and resume in new version?
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.
True, I will handle it 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.
Handled in 66f44cb.
We only need to handle the deserialization path. Because backfill jobs should fall into one of 3 categories: