thetumbled opened a new pull request, #4645: URL: https://github.com/apache/bookkeeper/pull/4645
### Motivation Each time the bookie gc is triggered, the read latency of zookeeper soars high to tens of seconds, threatening the stability of the cluster. <img width="830" height="556" alt="image" src="https://github.com/user-attachments/assets/ef32fa3a-8fd1-477d-9822-25ffd4c2c868" /> The unlimited zookeeper read operation in gc is responsible for the issue. <img width="830" height="346" alt="image" src="https://github.com/user-attachments/assets/cc29d93b-1313-4b80-93c1-03722982eaea" /> ### Changes Add config `gcRateLimit` to limit the read operation rate in gc. > Otherwise: > > - [ ] Make sure the PR title is formatted like: > `<Issue #>: Description of pull request` > `e.g. Issue 123: Description ...` > - [ ] Make sure tests pass via `mvn clean apache-rat:check install spotbugs:check`. > - [ ] Replace `<Issue #>` in the title with the actual Issue number. > > --- -- 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]
