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

haonan 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 eab3a18157 [IOTDB-4155] StackOverflowError occurs when deleting wal 
files  (#7025)
eab3a18157 is described below

commit eab3a18157b609f721d6249cd390b0e2c3b4216b
Author: Alan Choo <[email protected]>
AuthorDate: Wed Aug 17 15:44:31 2022 +0800

    [IOTDB-4155] StackOverflowError occurs when deleting wal files  (#7025)
---
 server/src/main/java/org/apache/iotdb/db/wal/node/WALNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 89ea01f8f9..ff42c5174c 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
@@ -270,8 +270,8 @@ public class WALNode implements IWALNode {
           if (safelyDeletedSearchIndex != DEFAULT_SAFELY_DELETED_SEARCH_INDEX) 
{
             return;
           }
-          run();
           recursionTime++;
+          run();
         }
       }
     }

Reply via email to