wangjialing218 opened a new pull request, #15292: URL: https://github.com/apache/pulsar/pull/15292
### Motivation As described in [PIP 82](https://github.com/apache/pulsar/wiki/PIP-82%3A-Tenant-and-namespace-level-rate-limiting) > Each broker will publish the current actual usage, as an absolute number, for each of the ResourceGroups that are currently having traffic, and for which the traffic has changed significantly since the last time it was reported (eg: ±10%). By default setting the threshold is 5%. But there is some mistake implementation, even when traffic had a large increase, usage report is not trigged. ### Modifications Fix mistake implementation ### Verifying this change This change added tests and can be verified as follows: testNeedToReportLocalUsage() ### Documentation - [x] `no-need-doc` only bug fix -- 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]
