-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add storeCompactionState flag support to msq #15965
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
Merged
cryptoe
merged 29 commits into
apache:master
from
gargvishesh:add-store-compaction-state-to-msq
Apr 9, 2024
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d2c28d4
Add storeCompactionState annotation function
gargvishesh 555d5d5
Add flag and change some config sources
gargvishesh 0ac20e4
Add type check for shard spec before casting
gargvishesh a6d3dc0
Check if there is a segment granularity in the context and revise the…
gargvishesh b218280
Check if there is a segment granularity in the context and revise the…
gargvishesh 33b5a82
Address review comments
gargvishesh cf37c65
Add tests for compaction state
gargvishesh f877b91
Corrections
gargvishesh 6464605
Address review comments
gargvishesh b24a7c9
Remove unused var
gargvishesh ac2d8f5
Merge branch 'master' into add-store-compaction-state-to-msq
gargvishesh 1a0517c
Fix compilation errors due to junit5 migration
gargvishesh f402523
Separate compactionStateAnnotationFunction to a common place, and oth…
gargvishesh 13f2c99
Checkstyle fixes
gargvishesh 3b57dfa
Try again
gargvishesh 454cb09
Update doc
gargvishesh e59c1bc
Revert additional indentation changes
gargvishesh cbc582d
Resolve coverage test for druid-processing
gargvishesh 316e378
Suppress spelling error
gargvishesh c87ff9f
Address review comments
gargvishesh f18650d
Resolve checkstyle errors
gargvishesh 49053db
Remove redundant comment
gargvishesh 29ea760
Revert maxTotalRows to null
gargvishesh 7e43b5d
Address review comments and fix tests
gargvishesh a282e32
Correct values in DynamicPartitionSpec.
gargvishesh b6bc0a5
Fix checkstyle
gargvishesh 6a4edc9
Fix tests
gargvishesh be761ed
Merge branch 'master' into add-store-compaction-state-to-msq
gargvishesh 659fe07
Merge branch 'master' into add-store-compaction-state-to-msq
gargvishesh 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
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.
Since we are using
DimensionRangePartitionsSpecfor single-dim segments, is it possible that segments partitioned by single-dim would get re-picked by compaction if compaction config hassingleas the desired state?I am not entirely sure if we still allow users to use
singlein the compaction config.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.
From the code, the equals method compares the class type first before comparing the fields themselves. So you are right: a
singletype spec should be stored in the corresponding instance. Have updated the handling now. Thanks!