apalan60 commented on code in PR #19828: URL: https://github.com/apache/kafka/pull/19828#discussion_r2124660956
########## metadata/src/main/java/org/apache/kafka/controller/metrics/QuorumControllerMetrics.java: ########## @@ -267,7 +267,8 @@ public long newActiveControllers() { } public void updateBrokerContactTime(int brokerId) { - brokerContactTimesMs.putIfAbsent(brokerId, new AtomicLong(time.milliseconds())); Review Comment: I’ve opened a minor PR https://github.com/apache/kafka/pull/19888 based on the suggestion. If there’s already ongoing work in this area or if this change might interfere with anything, please let me know. Thanks! -- 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