SteveYurongSu commented on code in PR #15528:
URL: https://github.com/apache/iotdb/pull/15528#discussion_r2096901913


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/metric/overview/PipeDataNodeRemainingEventAndTimeMetrics.java:
##########
@@ -84,6 +85,18 @@ private void createAutoGauge(final String pipeID) {
         String.valueOf(operator.getCreationTime()));
   }
 
+  public boolean mayRemainingInsertEventExceedLimit() {
+    try {
+      return remainingEventAndTimeOperatorMap.entrySet().stream()
+          .anyMatch(

Review Comment:
   Can we make a separate judgment for each pipe?



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

Reply via email to