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 d6b71b3948 fix some issue
d6b71b3948 is described below
commit d6b71b39485b6a0d42e43cf8f50e4e9744047657
Author: Jinrui.Zhang <[email protected]>
AuthorDate: Tue Jun 28 17:12:30 2022 +0800
fix some issue
---
server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java
b/server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java
index 4c70507cce..2e890521f5 100644
--- a/server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java
+++ b/server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java
@@ -804,10 +804,10 @@ public class WALNode implements IWALNode {
nextSearchIndex,
targetIndex,
targetIndex);
- searchedFilesVersionId = -1;
- insertNodes.clear();
- itr = null;
}
+ searchedFilesVersionId = -1;
+ insertNodes.clear();
+ itr = null;
nextSearchIndex = targetIndex;
this.filesToSearch = null;
this.currentFileIndex = -1;