mstepan opened a new pull request, #14837: URL: https://github.com/apache/kafka/pull/14837
All read and write access to Sensor metrics field should be properly synchronized according to JMM. The best way to separate read and write is to use ReadWriteLock or more advanced version of StampedLock. All tests are GREEN. ### Committer Checklist (excluded from commit message) - [v] Verify design and implementation - [v] Verify test coverage and CI build status - [v] Verify documentation (including upgrade notes) -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org