BUAAserein commented on code in PR #11798:
URL: https://github.com/apache/iotdb/pull/11798#discussion_r1438081203


##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java:
##########
@@ -900,4 +895,41 @@ public static boolean haveSameParent(Procedure<?> a, 
Procedure<?> b) {
   public int compareTo(Procedure<Env> other) {
     return Long.compare(getProcId(), other.getProcId());
   }
+
+  /**
+   * This function will be called just when procedure is submitted for 
execution.
+   *
+   * @param env The environment passed to the procedure executor
+   */
+  protected void updateMetricsOnSubmit(Env env) {
+    ProcedureMetrics metrics = null;
+    if (env instanceof ConfigNodeProcedureEnv) {

Review Comment:
   removed



-- 
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: reviews-unsubscr...@iotdb.apache.org

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

Reply via email to