-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BREAKING] opt(compactions): Improve compaction performance #1574
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
abf52b4
Some option changes to get started with compaction
manishrjain 38d48b2
Merge branch 'master' into mrjn/compactions
manishrjain 5c07e45
Merge branch 'master' into mrjn/compactions
manishrjain dc23b42
Compiles, but gets stuck when loading.
manishrjain bddedf5
debug
manishrjain 651ee86
Fix bug in compaction. Do not run compaction for the same level multi…
2e60bf2
Working code
manishrjain 2cc41b5
Working sub-compactions
manishrjain 8a041c9
work
manishrjain ce96292
Some more changes
manishrjain 473e48b
Fix tests
af06f7e
More benchmarking
manishrjain be07ce1
Add comments. Revert flatten.go
manishrjain 8a32382
Increase num compactors. Reserve one for L0. Permanently enable compa…
manishrjain 8f564a5
Use default compression in write bench
manishrjain e6543c1
Make zero prefer L0 instead of only compacting L0 exclusively.
manishrjain a86dcaf
Make zero-th compactor run L0->L0. Don't do L0->Lbase until adjusted …
manishrjain c21d5bb
Create one file for L0->L0 compaction.
manishrjain b7c302b
Don't print
manishrjain 86d48a8
Simplify level 0 check
manishrjain 7ccdc49
Merge branch 'master' into mrjn/compactions
manishrjain 88be5af
Update ristretto
manishrjain 84805a9
Self review
manishrjain 6401968
Some touch-ups.
manishrjain 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
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.
Avoid global variables to improve readability and reduce complexity
View Rule