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

tkalkirill pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 1e999dc6b6 IGNITE-20774 
ItRebalanceDistributedTest#testRebalanceRetryWhenCatchupFailed is flaky on TC 
(#2791)
1e999dc6b6 is described below

commit 1e999dc6b650db16cca4c8bd5a1d209c78b603a3
Author: Kirill Tkalenko <[email protected]>
AuthorDate: Tue Nov 7 12:18:39 2023 +0300

    IGNITE-20774 ItRebalanceDistributedTest#testRebalanceRetryWhenCatchupFailed 
is flaky on TC (#2791)
---
 .../src/main/java/org/apache/ignite/raft/jraft/core/FSMCallerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/FSMCallerImpl.java
 
b/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/FSMCallerImpl.java
index 4d4b89f5c7..c8846ca134 100644
--- 
a/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/FSMCallerImpl.java
+++ 
b/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/FSMCallerImpl.java
@@ -210,7 +210,6 @@ public class FSMCallerImpl implements FSMCaller {
                 task.shutdownLatch = latch;
             }));
         }
-        doShutdown();
     }
 
     @Override
@@ -426,6 +425,7 @@ public class FSMCallerImpl implements FSMCaller {
                     case SHUTDOWN:
                         this.currTask = TaskType.SHUTDOWN;
                         shutdown = task.shutdownLatch;
+                        doShutdown();
                         break;
                     case FLUSH:
                         this.currTask = TaskType.FLUSH;

Reply via email to