You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2024/08/09 04:48:25 UTC

(iotdb) 08/19: Fix IoTConsensus log explosion when stoping one node #13101

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

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

commit 3a7a1c3db3e0dac375bf8691415690633999a326
Author: Potato <ta...@apache.org>
AuthorDate: Tue Aug 6 14:12:46 2024 +0800

    Fix IoTConsensus log explosion when stoping one node #13101
    
    Signed-off-by: OneSizeFitQuorum <ta...@apache.org>
    (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();