You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2024/01/05 06:25:08 UTC

(iotdb) branch master updated: [IOTDB-6281] Enhance Procedure metrics (#11857)

This is an automated email from the ASF dual-hosted git repository.

tanxinyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 31c65b3706b [IOTDB-6281] Enhance Procedure metrics (#11857)
31c65b3706b is described below

commit 31c65b3706b94be3e11228523e5b5456ca230992
Author: Potato <ta...@apache.org>
AuthorDate: Fri Jan 5 14:25:02 2024 +0800

    [IOTDB-6281] Enhance Procedure metrics (#11857)
    
    Signed-off-by: OneSizeFitQuorum <ta...@apache.org>
---
 .../org/apache/iotdb/confignode/procedure/ProcedureExecutor.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java
index c9a20080473..ffc205dcbfc 100644
--- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java
+++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java
@@ -828,7 +828,11 @@ public class ProcedureExecutor<Env> {
 
         // WARN the worker is stuck
         stuckCount++;
-        LOG.warn("Worker stuck {}, run time {} ms", worker, worker.getCurrentRunTime());
+        LOG.warn(
+            "Worker stuck {}({}), run time {} ms",
+            worker,
+            worker.activeProcedure.get().getProcType(),
+            worker.getCurrentRunTime());
       }
       return stuckCount;
     }