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

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


The following commit(s) were added to refs/heads/test_wal_sync by this push:
     new 7533ca6bdb add more logs
7533ca6bdb is described below

commit 7533ca6bdb67296eedba78877ab5eb0979666efd
Author: Jinrui.Zhang <[email protected]>
AuthorDate: Mon Jun 27 21:40:49 2022 +0800

    add more logs
---
 .../iotdb/consensus/multileader/logdispatcher/LogDispatcher.java | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 
a/consensus/src/main/java/org/apache/iotdb/consensus/multileader/logdispatcher/LogDispatcher.java
 
b/consensus/src/main/java/org/apache/iotdb/consensus/multileader/logdispatcher/LogDispatcher.java
index bfca8c4a8a..fdacd88442 100644
--- 
a/consensus/src/main/java/org/apache/iotdb/consensus/multileader/logdispatcher/LogDispatcher.java
+++ 
b/consensus/src/main/java/org/apache/iotdb/consensus/multileader/logdispatcher/LogDispatcher.java
@@ -315,8 +315,13 @@ public class LogDispatcher {
         double timeConsumed = (System.nanoTime() * 1.0 - startTime) / 1000_000;
         logger.info(
             String.format(
-                "[DataRegion[%s]->%s]construct batch[%d] time consumed: %.3f",
-                peer.getGroupId().getId(), peer.getEndpoint().ip, count, 
timeConsumed));
+                "DataRegion[%s]->%s: construct batch time consumed: %.3f. 
BatchCount: %d, currentIndex: %d, maxIndex: %d",
+                peer.getGroupId().getId(),
+                peer.getEndpoint().ip,
+                timeConsumed,
+                count,
+                currentIndex,
+                maxIndex));
       }
     }
 

Reply via email to