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

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

commit 3df37e491f97625ae9d12b7fd320a18381c8673f
Author: Potato <[email protected]>
AuthorDate: Tue Aug 6 14:12:46 2024 +0800

    Fix IoTConsensus log explosion when stoping one node #13101
    
    Signed-off-by: OneSizeFitQuorum <[email protected]>
    (cherry picked from commit b2cf8047b856a2dd46fb3cca2fa73cdef3023500)
---
 .../main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java
 
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java
index ef35ae62c99..6ef3f276585 100644
--- 
a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java
+++ 
b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java
@@ -1142,6 +1142,7 @@ public class IoTConsensusServerImpl {
                 request.getStartSyncIndex(),
                 e);
             Thread.currentThread().interrupt();
+            break;
           }
         }
         long sortTime = System.nanoTime();

Reply via email to