deemoliu commented on code in PR #12383:
URL: https://github.com/apache/pinot/pull/12383#discussion_r1483638578


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java:
##########
@@ -660,8 +666,9 @@ protected void doTakeSnapshot() {
     _serverMetrics.setValueOfPartitionGauge(_tableNameWithType, _partitionId,
         ServerGauge.UPSERT_PRIMARY_KEYS_IN_SNAPSHOT_COUNT, 
numPrimaryKeysInSnapshot);
     _logger.info(
-        "Finished taking snapshot for {} immutable segments with {} primary 
keys (out of {} total segments) in {}ms",
-        numImmutableSegments, numPrimaryKeysInSnapshot, numTrackedSegments, 
System.currentTimeMillis() - startTimeMs);
+        "Finished taking snapshot for {} immutable segments with {} primary 
keys (out of {} total segments, "
+            + "{} consuming segments) in {} ms", numImmutableSegments, 
numPrimaryKeysInSnapshot, numTrackedSegments,
+        numConsumingSegments, System.currentTimeMillis() - startTimeMs);

Review Comment:
   Just curious, how will numConsumingSegments in the log be used?



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to