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

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


The following commit(s) were added to refs/heads/ml_0729_test_exp1_no_write by 
this push:
     new 5890615530 add log if constructing from WAL
5890615530 is described below

commit 58906155301689f8cc731050e968ac08519c858d
Author: Jinrui.Zhang <[email protected]>
AuthorDate: Mon Aug 8 11:27:12 2022 +0800

    add log if constructing from WAL
---
 .../apache/iotdb/consensus/multileader/logdispatcher/LogDispatcher.java  | 1 +
 1 file changed, 1 insertion(+)

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 aa4091f708..daa34122a5 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
@@ -416,6 +416,7 @@ public class LogDispatcher {
         iteratorIndex = currentIndex;
         for (IConsensusRequest innerRequest : data.getRequests()) {
           logBatches.add(new TLogBatch(innerRequest.serializeToByteBuffer(), 
currentIndex, true));
+          logger.info("read one entry from WAL for dispatching: {}", 
data.getSearchIndex());
         }
         if (currentIndex == maxIndex - 1) {
           break;

Reply via email to