Jackie-Jiang commented on code in PR #14485:
URL: https://github.com/apache/pinot/pull/14485#discussion_r1849692554


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/segment/SegmentSizeBasedFlushThresholdUpdater.java:
##########
@@ -50,5 +57,9 @@ public synchronized void updateFlushThreshold(StreamConfig 
streamConfig, Segment
         _flushThresholdComputer.computeThreshold(streamConfig, 
committingSegmentDescriptor, committingSegmentZKMetadata,
             newSegmentZKMetadata.getSegmentName());
     newSegmentZKMetadata.setSizeThresholdToFlushSegment(threshold);
+
+    _controllerMetrics.setOrUpdateTableGauge(_rawTableName, 
ControllerGauge.NUM_ROWS_THRESHOLD, threshold);

Review Comment:
   Seems all real-time specific gauge (e.g. 
`MISSING_CONSUMING_SEGMENT_NEW_PARTITION_COUNT`, 
`MISSING_CONSUMING_SEGMENT_MAX_DURATION_MINUTES`) are tracked under real-time 
table name (with type suffix). Can we change this to `_realtimeTableName` for 
consistency



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to