thetumbled commented on code in PR #4645:
URL: https://github.com/apache/bookkeeper/pull/4645#discussion_r2247435401


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/ScanAndCompareGarbageCollector.java:
##########
@@ -153,6 +156,7 @@ public void gc(GarbageCleaner garbageCleaner) {
             Versioned<LedgerMetadata> metadata = null;
             while (!done) {
                 start = end + 1;
+                gcRateLimiter.tryAcquire();

Review Comment:
   You are right, thanks for pointing out this. I have updated the 
implementation.
   PTAL again, thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to