-
Notifications
You must be signed in to change notification settings - Fork 903
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
Support pass threshold parameters #3778
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3778 +/- ##
============================================
+ Coverage 58.23% 60.27% +2.03%
- Complexity 5612 5818 +206
============================================
Files 467 473 +6
Lines 40822 40974 +152
Branches 5234 5245 +11
============================================
+ Hits 23774 24698 +924
+ Misses 14933 14048 -885
- Partials 2115 2228 +113
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Overall looks good to me. Could you please add a test which the request threshold is different from the configured threshold |
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.
Great idea and overall lgtm.
It needs a couple of touches:
14d2e25
to
4f6dbbe
Compare
bookkeeper-server/src/main/java/org/apache/bookkeeper/server/http/service/TriggerGCService.java
Outdated
Show resolved
Hide resolved
bookkeeper-server/src/main/java/org/apache/bookkeeper/server/http/service/TriggerGCService.java
Outdated
Show resolved
Hide resolved
bookkeeper-server/src/test/java/org/apache/bookkeeper/server/http/TestHttpService.java
Outdated
Show resolved
Hide resolved
@horizonzy Please help take a look, thanks. |
bookkeeper-server/src/main/java/org/apache/bookkeeper/server/http/service/TriggerGCService.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
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java
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
70c6f77
to
7103abb
Compare
rerun failure checks |
@hangc0276 PTAL |
7103abb
to
66443b1
Compare
rerun failure checks |
66443b1
to
7405339
Compare
@eolivelli @hangc0276 @merlimat @nicoloboschi @zhaijack Please also take a look |
Motivation
/api/v1/bookie/gc
TriggerGcService supportsmajorCompactionThreshold
andminorCompactionThreshold
majorCompactionMaxTimeMillis
,minorCompactionMaxTimeMillis
parameters.Changes
/api/v1/bookie/gc
TriggerGcService supportsmajorCompactionThreshold
andminorCompactionThreshold
majorCompactionMaxTimeMillis
,minorCompactionMaxTimeMillis
parameters.