This is an automated email from the ASF dual-hosted git repository.
somandal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 12f8f88e7af Make sure when adding the metric and erasing the metric
same parameter is used _clientId for both (#17108)
12f8f88e7af is described below
commit 12f8f88e7af1739181b5258d5137aaca542cd369
Author: Chaitanya Deepthi <[email protected]>
AuthorDate: Thu Oct 30 09:55:46 2025 -0700
Make sure when adding the metric and erasing the metric same parameter is
used _clientId for both (#17108)
---
.../pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
b/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
index 988839a636a..5fb9f149010 100644
---
a/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
+++
b/pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeSegmentDataManager.java
@@ -1106,7 +1106,7 @@ public class RealtimeSegmentDataManager extends
SegmentDataManager {
*/
private void reportDataLoss(MessageBatch messageBatch) {
if (messageBatch.hasDataLoss()) {
- _serverMetrics.setValueOfTableGauge(_tableStreamName,
ServerGauge.STREAM_DATA_LOSS, 1L);
+ _serverMetrics.setValueOfTableGauge(_clientId,
ServerGauge.STREAM_DATA_LOSS, 1L);
String message = "Message loss detected in stream partition: " +
_partitionGroupId + " for table: "
+ _tableNameWithType + " startOffset: " + _currentOffset + "
batchFirstOffset: "
+ messageBatch.getFirstMessageOffset();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]