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


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/upsert/BasePartitionUpsertMetadataManager.java:
##########
@@ -772,6 +772,8 @@ public synchronized void close()
       }
     }
     doClose();
+    _serverMetrics.setValueOfPartitionGauge(_tableNameWithType, _partitionId, 
ServerGauge.UPSERT_PRIMARY_KEYS_COUNT,
+        0L);

Review Comment:
   I guess we want to finish all operations then reset the gauge, so here 
should be the right place



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