-
Notifications
You must be signed in to change notification settings - Fork 4
KVStore::remove Implementation Part 2 #4
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
vidyasilai
wants to merge
57
commits into
mathworks:main
Choose a base branch
from
vidyasilai:remove_impl
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
57 commits
Select commit
Hold shift + click to select a range
47a4572
Initial commit
vidyasilai 47dc604
Added some more comments
vidyasilai 99d750f
Remove conan file changes
vidyasilai 969c140
Some bug fixes; new test case
vidyasilai ca5b89b
More bug fixes
vidyasilai 51a4e02
KVStoreScanner updates
vidyasilai b126c03
Subtree test config change
vidyasilai afa9940
First round of feedback
vidyasilai 8dbab04
Improvements to Subtree test
vidyasilai 969efc0
More feedback
vidyasilai 84112d8
Small style updates
vidyasilai 75e815a
More feedback, fix try_merge interface
vidyasilai 9e36ed9
More Subtree fixes
vidyasilai 318c1b6
Merge branch 'main' into remove_impl
vidyasilai 3b0b16f
Fix decay to items bug
vidyasilai 2382169
InMemoryLeaf updates
vidyasilai 4b0f792
Fix node find key
vidyasilai 6ff7e02
Merge in changes from main branch
vidyasilai ac7e078
Initial commit, tests passing
vidyasilai 4c44767
Updated filter test
vidyasilai c398037
New batteries functions
vidyasilai 22aa457
Merge in main changes
vidyasilai f19922b
Start refactor of merge functions
vidyasilai 8fbfc05
More merge function refactoring
vidyasilai 06ae727
Fix compiler errors
vidyasilai 31b8118
Upgrade batteries and llfs
vidyasilai 54e1a5c
Fix try_split code to use new batteries overloads
vidyasilai 0a6d005
Fix test code to use new batteries overloads
vidyasilai 67a5c46
Start adding ActivePivotSet concept.
tonyastolfi ee66720
Finish writing ActivePivotsSet concept
vidyasilai 3872edf
Remove old code
vidyasilai ee0c29f
Merge branch 'active_pivots_changes' into remove_impl
vidyasilai ace4445
Fix build issues
vidyasilai 424b4d7
Fix pop_front_pivots function
vidyasilai c8950fa
Modify the ActivePivotsSet concepts a bit.
tonyastolfi 6a097d0
Fix split_pivot bug re: new piecewise filters.
tonyastolfi 0167649
Make sure InMemoryNode::Segmment::active_pivots is initialized empty.
tonyastolfi fe715a8
Replace magic number `4` with kMinPivotCount constant.
tonyastolfi 203c1e0
Move the minimum pivots constant next to the max one (config.hpp); re…
tonyastolfi b9a533f
Add some more defensive checks that we never exceed the maximum numbe…
tonyastolfi e9eadbd
Add comment about new kPivotCountMask.
tonyastolfi 6e01a50
assert size of packed active pivots set.
tonyastolfi dde7018
Static asserts: ActivePivotsSet.
tonyastolfi 1c7efe1
Revert change.
tonyastolfi d0f1745
Start adding HybridLevel
vidyasilai fa6a609
Test changes
vidyasilai b3d7ec2
Finish adding HybridLevel
vidyasilai c7714d9
Merge with main
vidyasilai eb53e2f
Bug fixes
vidyasilai 43e38f2
Fix some comments
vidyasilai dd18c3d
Fix Subtree::flush_and_shrink loop logic
vidyasilai f92f249
Small style fix
vidyasilai d2621d7
Some feedback changes
vidyasilai 0def570
Some more Subtree updates
vidyasilai d9ca971
More feedback on Subtree and InMemoryNode
vidyasilai e6d6af7
Merge with main
vidyasilai 9aa75dd
Fix build and node update buffer merge code
vidyasilai 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -666,4 +666,4 @@ TEST_F(ResultSetConcatTest, ConcatDeath) | |
| "the second ResultSet!"); | ||
| } | ||
|
|
||
| } // namespace | ||
| } // namespace | ||
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
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.
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.
We should probably retain a pin on the sibling's leaf page in
this; that means we may need to changeInMemoryLeaf::pinned_leaf_page_intopinned_leaf_pages_.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.
In regard to turning
pinned_leaf_page_into a vector of pinned pages, what are your thoughts on keepingpinned_leaf_page_as is and adding another member variable toInMemoryLeafthat is of typestd::vector<PinnedPage>that holds pins on sibling pages as a result of merges? My reason for suggesting this is due to the logic inInMemoryLeaf::apply_batch_update, where we check the state ofpinned_leaf_page_to determine how to extractresult_set.