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

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


The following commit(s) were added to refs/heads/ml_0729_test by this push:
     new f6f4b92612 disable cache request
f6f4b92612 is described below

commit f6f4b926121d919182ee7042672c7ef901f3545b
Author: Jinrui.Zhang <[email protected]>
AuthorDate: Fri Jul 29 16:45:56 2022 +0800

    disable cache request
---
 .../iotdb/db/consensus/statemachine/DataRegionStateMachine.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/consensus/statemachine/DataRegionStateMachine.java
 
b/server/src/main/java/org/apache/iotdb/db/consensus/statemachine/DataRegionStateMachine.java
index 8bf7e77923..7863eb7e22 100644
--- 
a/server/src/main/java/org/apache/iotdb/db/consensus/statemachine/DataRegionStateMachine.java
+++ 
b/server/src/main/java/org/apache/iotdb/db/consensus/statemachine/DataRegionStateMachine.java
@@ -157,9 +157,9 @@ public class DataRegionStateMachine extends 
BaseStateMachine {
           innerNode.setSearchIndex(indexedRequest.getSearchIndex());
           insertNodes.add(innerNode);
         }
-        planNode =
-            cacheAndGetLatestInsertNode(
-                indexedRequest.getSyncIndex(), mergeInsertNodes(insertNodes));
+        planNode = mergeInsertNodes(insertNodes);
+        //        planNode = cacheAndGetLatestInsertNode(
+        //                indexedRequest.getSyncIndex(), 
mergeInsertNodes(insertNodes));
         // TODO: tmp way to do the test
         if (planNode == null) {
           return new TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode());

Reply via email to