-
Notifications
You must be signed in to change notification settings - Fork 3.8k
CASSANDRA-20918 Add cursor-based low allocation optimized compaction implementation #4402
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
nitsanw
wants to merge
38
commits into
apache:trunk
Choose a base branch
from
jmckenzie-dev:compaction-work-pr-prep
base: trunk
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.
+13,037
−459
Open
Changes from 3 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9368327
Add cursor based optimized compaction path (WIP)
759dc2c
Merge branch 'trunk' into compaction-work-pr-prep
nitsanw d75d59c
Fix MEGABYTE constant
35ea514
Fix 0x11/0x10 should be 0b11/0b10
33b9e47
Introduce ENABLE_CURSOR_COMPACTION controls via CassandraRelevantProp…
d46511d
Revert `matched` comments left to track stats tracking
b417274
Revert change to RandomAccessReader and match row skipping logic from…
85379f1
Improve CompactionCursor javadoc
097b995
Extract `isSupported` from constructor
1af0f0e
Fix Trasnactions/Transformations
7576864
Add comment and rename `sortForPartitionMerge` -> `prepareForPartitio…
2205e48
Typo: `preturbed` -> `perturbed`
dea15c9
Javadoc for bubbleInsertToPreSorted and minor refactor
5d200ef
Typo: passed -> past
1a1c761
Remove redundant TODOs
b9dc6db
Revert 'unused' params
5accdd5
Rename `ElementDescriptor` -> `UnfilteredDescriptor` (and fallout)
17be5f4
Remove unused parameter
3b0f0a9
Remove unused method
ae65b7e
Fix indentation
62837f9
Move SSTableCursorPipeUtil to benchmarks
4064d32
Rename `partitionLength` back to `finishResult` and clarify comment
797ace1
Remove unused methods
855a740
Improve bubbleInsertElementToPreSorted, delay element insert
beef9ad
Remove redundant cursor status check
b19b959
Simplify deletion merging loop, clarify partitionDeletion variable names
f5718b3
Neaten up SSTableCursorReader
87a1c1c
Dead code removal
ff5eff1
Revert making classes public
ed48fe5
Transform LivenessInfo an interface
a8bc083
Fix javadoc
be8b4e3
Fix intellij warnings
011213a
Explicitly split DeletionTime implementations
4d74fce
Rely on nextElementEquality in findMergeLimit
b9f5802
Refactor prepareAndSortForMerge code
308a3b3
Move merge limit == 0 out of mergeRows
562e437
Add TODO for clustering read/skip
37104f6
Simplify ClusteringComparator code and remove redundant code
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.