-
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
Improve the proactive segment clean-up for REVERTED #8071
Improve the proactive segment clean-up for REVERTED #8071
Conversation
558828c
to
17ef9bc
Compare
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
f0e9270
to
aec5e90
Compare
Codecov Report
@@ Coverage Diff @@
## master #8071 +/- ##
============================================
+ Coverage 64.63% 67.88% +3.24%
+ Complexity 4260 4180 -80
============================================
Files 1562 1211 -351
Lines 81525 60564 -20961
Branches 12252 9347 -2905
============================================
- Hits 52695 41113 -11582
+ Misses 25072 16552 -8520
+ Partials 3758 2899 -859
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
...ntroller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java
Show resolved
Hide resolved
LGTM, thanks for the improvement! |
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.
Minor but LGTM. Thanks for making the changes!
...ller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerTest.java
Outdated
Show resolved
Hide resolved
Current code did not handle the proactive clean-up correctly for lineage entries with REVERTED state. - Added the proactive clean-up for 'segmentsTo' for REVERTED during the startSegmentReplacement API call. - Added the proactive clean-up for 'segmentsTo' during the revertSegmentReplacement API call. - Added unit test.
aec5e90
to
45de990
Compare
Current code did not handle the proactive clean-up correctly
for lineage entries with REVERTED state.
during the startSegmentReplacement API call.
revertSegmentReplacement API call.