kamalcph commented on PR #15005: URL: https://github.com/apache/kafka/pull/15005#issuecomment-1858783152
> This is a good point, but I think adding a lock is overkilling compared with the value discrepancy. I think the value deviation should be acceptable compared with sacrificing the performance using lock. We can do this by grouping the metrics together in a small object and take a lock during read/write operation. We can take this up later when required. -- 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]
