You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by " Kirill Sizov (Jira)" <ji...@apache.org> on 2025/10/22 19:32:00 UTC

[jira] [Created] (IGNITE-26809) Node crashes with Illegal state: STATE_FOLLOWER

 Kirill Sizov created IGNITE-26809:
--------------------------------------

             Summary: Node crashes with Illegal state: STATE_FOLLOWER
                 Key: IGNITE-26809
                 URL: https://issues.apache.org/jira/browse/IGNITE-26809
             Project: Ignite
          Issue Type: Bug
            Reporter:  Kirill Sizov


This is a rare and flaky behavior that can happen in any test.
{code:java}
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535 Unable to start [node=iidt_n_3344] TraceId:20d09f7d
        at app//org.apache.ignite.internal.app.IgniteImpl.handleStartException(IgniteImpl.java:2234)
        at app//org.apache.ignite.internal.app.IgniteImpl.lambda$joinClusterAsync$62(IgniteImpl.java:2190)
        at java.base@17.0.6/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        ... 5 more
      Caused by: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Illegal state: STATE_FOLLOWER
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
        at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1159)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
        at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:795)
        ... 4 more
      Caused by: java.lang.IllegalArgumentException: Illegal state: STATE_FOLLOWER
        at org.apache.ignite.raft.jraft.util.Requires.requireTrue(Requires.java:70)
        at org.apache.ignite.raft.jraft.core.NodeImpl.becomeLeader(NodeImpl.java:1512)
        at org.apache.ignite.raft.jraft.core.NodeImpl.electSelf(NodeImpl.java:1465)
        at org.apache.ignite.raft.jraft.core.NodeImpl.init(NodeImpl.java:1129)
        at org.apache.ignite.raft.jraft.RaftGroupService.start(RaftGroupService.java:99)
        at org.apache.ignite.internal.raft.server.impl.JraftServerImpl.startRaftNode(JraftServerImpl.java:543)
        at org.apache.ignite.internal.raft.Loza.startRaftGroupNodeInternalWithoutService(Loza.java:542)
        at org.apache.ignite.internal.raft.Loza.startRaftGroupNodeInternal(Loza.java:502)
        at org.apache.ignite.internal.raft.Loza.startRaftGroupNode(Loza.java:300)
        at org.apache.ignite.internal.replicator.ReplicaManager.startReplicaInternal(ReplicaManager.java:772)
        at org.apache.ignite.internal.replicator.ReplicaManager.startReplica(ReplicaManager.java:725)
        at org.apache.ignite.internal.partition.replicator.PartitionReplicaLifecycleManager.lambda$createZonePartitionReplicationNode$24(PartitionReplicaLifecycleManager.java:708)
        at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
        ... 7 more {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)