-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add RebalanceConfig class to replace use of BaseConfiguration for rebalance configs #11730
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11730 +/- ##
============================================
- Coverage 63.09% 63.01% -0.08%
Complexity 1118 1118
============================================
Files 2342 2342
Lines 125890 125895 +5
Branches 19360 19362 +2
============================================
- Hits 79434 79337 -97
- Misses 40807 40895 +88
- Partials 5649 5663 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 25 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
805e95d
to
a6e52e0
Compare
a6e52e0
to
8a0f6ea
Compare
pinot-spi/src/main/java/org/apache/pinot/spi/utils/RebalanceConfigConstants.java
Outdated
Show resolved
Hide resolved
...ntroller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/RebalanceConfig.java
Show resolved
Hide resolved
...c/main/java/org/apache/pinot/controller/helix/core/assignment/segment/SegmentAssignment.java
Outdated
Show resolved
Hide resolved
...ller/src/main/java/org/apache/pinot/controller/api/resources/PinotTenantRestletResource.java
Outdated
Show resolved
Hide resolved
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.
LGTM otherwise
pinot-controller/src/main/java/org/apache/pinot/controller/ControllerConf.java
Outdated
Show resolved
Hide resolved
...ntroller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/RebalanceConfig.java
Outdated
Show resolved
Hide resolved
577da49
to
6b3bbd4
Compare
As the configs for table rebalance get more and more, it's more consistent and manageable to define a class for them, thus RebalanceConfig class is added in this PR. Another need for this class is to de/serialize the configs to enable retry mechanism for rebalance as to be added in another PR.
The changes are pretty mechanical, with a few cleanup and quick fixes found along the way.