This is an automated email from the ASF dual-hosted git repository.
sk0x50 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 fa0e747595b IGNITE-28238 Fix exceptions due to raft stop (#7788)
fa0e747595b is described below
commit fa0e747595bececf5dc03c83ec515cd7f3623da5
Author: Cyrill <[email protected]>
AuthorDate: Thu Mar 19 11:57:45 2026 +0300
IGNITE-28238 Fix exceptions due to raft stop (#7788)
Co-authored-by: Kirill Sizov <[email protected]>
---
.../apache/ignite/internal/partition/replicator/fixtures/Node.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/modules/partition-replicator/src/integrationTest/java/org/apache/ignite/internal/partition/replicator/fixtures/Node.java
b/modules/partition-replicator/src/integrationTest/java/org/apache/ignite/internal/partition/replicator/fixtures/Node.java
index 55efc71c922..38ce233f08d 100644
---
a/modules/partition-replicator/src/integrationTest/java/org/apache/ignite/internal/partition/replicator/fixtures/Node.java
+++
b/modules/partition-replicator/src/integrationTest/java/org/apache/ignite/internal/partition/replicator/fixtures/Node.java
@@ -977,6 +977,11 @@ public class Node {
public void stop() {
invokeInterceptor = null;
+ // Match IgniteImpl.stopAsync() behavior: mark components as stopping
before shutting down,
+ // so that in-flight Raft operations produce NodeStoppingException
instead of TimeoutException.
+ cmgManager.markAsStopping();
+ metaStorageManager.markAsStopping();
+
List<IgniteComponent> components = new ArrayList<>(nodeComponents);
reverse(components);