This is an automated email from the ASF dual-hosted git repository.
jeffkbkim pushed a commit to branch minor-kafka-18610
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/minor-kafka-18610 by this push:
new 0a625fb0238 fix
0a625fb0238 is described below
commit 0a625fb02385f345e70de694e4ed30e9b3a7cc87
Author: Jeff Kim <[email protected]>
AuthorDate: Wed Jan 22 13:47:41 2025 -0500
fix
---
.../apache/kafka/coordinator/common/runtime/KafkaMetricHistogram.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/KafkaMetricHistogram.java
b/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/KafkaMetricHistogram.java
index 78cccb3ae92..a913bc8697a 100644
---
a/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/KafkaMetricHistogram.java
+++
b/coordinator-common/src/main/java/org/apache/kafka/coordinator/common/runtime/KafkaMetricHistogram.java
@@ -127,5 +127,6 @@ public final class KafkaMetricHistogram implements
CompoundStat {
@Override
public void record(MetricConfig config, double value, long timeMs) {
- hdrHistogram.record(Math.min(highestTrackableValue, (long) value));
}
+ hdrHistogram.record(Math.min(highestTrackableValue, (long) value));
+ }
}