-
Notifications
You must be signed in to change notification settings - Fork 590
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
feat(storage): per table try wait epoch #18622
Merged
Merged
Changes from 36 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
826da0b
feat(storage): notify frontend with more hummock version info
wenym1 14fdb68
temp save
wenym1 e4b390c
fix test
wenym1 9fc23f9
Merge branch 'yiming/more-frontend-hummock-info' into yiming/per-tabl…
wenym1 3b142d7
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 73674f3
feat(frontend): generate query epoch by committed epoch of involved t…
wenym1 8fff90b
Merge branch 'main' into yiming/more-frontend-hummock-info
wenym1 880d15a
Merge branch 'yiming/more-frontend-hummock-info' into yiming/per-tabl…
wenym1 ab43fbd
rename
wenym1 d74fe42
fix recursive
wenym1 04b112c
fix test
wenym1 c0ee9cc
Merge branch 'main' into yiming/more-frontend-hummock-info
wenym1 cfd925d
Merge branch 'yiming/more-frontend-hummock-info' into yiming/per-tabl…
wenym1 9808588
avoid recalculate
wenym1 201dde3
fix typo
wenym1 deb0b17
Merge branch 'main' into yiming/more-frontend-hummock-info
wenym1 23bb7c6
Merge branch 'yiming/more-frontend-hummock-info' into yiming/per-tabl…
wenym1 f1cf8ec
feat(storage): per table try wait epoch
wenym1 1836fec
Merge branch 'main' into yiming/per-table-try-wait-epoch
wenym1 f5f78d4
fix test
wenym1 902c065
fix test
wenym1 ff24069
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 a520eba
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 84c8037
fix comment
wenym1 c88b9df
simplify now
wenym1 40f8ac6
refine
wenym1 6e0e2b7
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 4e897e9
address comment
wenym1 4723dbe
impl ScanTableVisitor
wenym1 5fb9ab5
Merge branch 'main' into yiming/per-table-try-wait-epoch
wenym1 65bc6fa
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 0d0cc25
remove QuerySnapshot
wenym1 6d32389
Merge branch 'yiming/per-table-pin-snapshot' into yiming/per-table-tr…
wenym1 fee2a0f
use epoch::now
wenym1 6cb7b8c
Merge branch 'main' into yiming/per-table-pin-snapshot
wenym1 0df1339
Merge branch 'yiming/per-table-pin-snapshot' into yiming/per-table-tr…
wenym1 44a3b4a
separate wait epoch of batch and streaming
wenym1 ab3e10d
refine
wenym1 3b10660
fix
wenym1 49c7cde
fix typo
wenym1 02b0682
fix
wenym1 c74a62a
fix borrow and update
wenym1 eba2456
add log
wenym1 cb0ccd2
remove log
wenym1 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
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
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.
...am I understanding correctly?
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.
Actually this PR is not directly related to partial checkpoint yet. The main purpose is to deprecate the
max_committed_epoch
, and then when calling thiswait_epoch_commit
, we will need to specify a table_id.For a
CommandContext
, itstable_ids_to_commit
are expected to have a same aligned committed epoch, so it's fine to wait on any one of the table ids, or skip it when there is no table ids to commit, though this is somehow unlikely to happen.