-
Notifications
You must be signed in to change notification settings - Fork 594
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): implement read pruning by vnode #2882
Merged
Merged
Changes from 4 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0bc272c
feat(storage): add vnode to read-interface of keyspace and state store
xx01cyx c55855d
merge main and resolve conflicts
xx01cyx 399aa93
remove deleted file
xx01cyx c0c556e
maintain executor vnode info in keyspace
xx01cyx 42c6ffe
Merge branch 'main' into cyx/read-by-vnode-api
xx01cyx 7b3233f
Merge branch 'main' into cyx/read-by-vnode-api
xx01cyx cb750ed
use bitmap instead of Vec<Vnode> in point-get interface; use vnode bi…
xx01cyx 3a24c90
fix clippy
xx01cyx 9b425c2
fmt
xx01cyx 9b555c3
merge main and resolve conflicts
xx01cyx 3d42e73
merge stashed changes
xx01cyx cf3cfe7
merge main and resolve conflicts
xx01cyx 08dc305
seperate batch and streaming keyspace
xx01cyx 75b4190
merge main and resolve conflicts
xx01cyx b1c7bce
use keyspace with vnode in global simple agg
xx01cyx f7ce8ea
merge main and resolve conflicts
xx01cyx 8b83502
handle the case where vnode_bitmap is None in get_with_vnode of keyspace
xx01cyx 6d3797d
remove stale TODO
xx01cyx 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
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.
Considering there might not be such a "PointGet" operator, I think the type of vnodes should also be
Vec<VirtualNode>
. Nevermind, it's not a big problem.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'd prefer always using
&'a VirtualNode
, so that it will function efficiently even when vnode mapping is large.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.
Will
Option<&'a VirtualNode>
still cause some overhead due to the construction ofOption
?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.
Nope, it has exactly the same value size as
&'a VirtualNode
.