noob-se7en opened a new pull request, #16328: URL: https://github.com/apache/pinot/pull/16328
**Problem** `RealtimeConsumptionRateManager.MetricEmitter.emitMetric` for ServerRateLimiter is not thread safe because serverRateLimiter object is a shared variable and `MetricEmitter.emitMetric` before this PR relies on shared Mutable state. **Solution** Make `MetricEmitter.emitMetric` thread safe and offloads the metric emission part from the consumer thread. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
