12:41:20,149 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/18/2025 00:41:20.148] [main] [EventStream(akka://test)] logger log1-TestEventListener started [DEBUG] [10/18/2025 00:41:20.150] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [10/18/2025 00:41:20.150] [main] [EventStream(akka://test)] Default Loggers started [INFO] [10/18/2025 00:41:20.183] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.137:25520] with UID [1200983423644709542] 12:41:20,183 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.137:25520] with UID [1200983423644709542] [INFO] [10/18/2025 00:41:20.184] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Starting up, Akka version [2.6.21] ... 12:41:20,184 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Starting up, Akka version [2.6.21] ... [INFO] [10/18/2025 00:41:20.187] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:41:20,187 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [10/18/2025 00:41:20.187] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Started up successfully 12:41:20,188 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Started up successfully 12:41:20,189 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:41:20,189 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [10/18/2025 00:41:20.188] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [10/18/2025 00:41:20.188] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:41:20,203 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [WARN] [10/18/2025 00:41:20.209] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower64]: org.opendaylight.controller.cluster.common.actor.Monitor@3d7318e5 [INFO] [akkaDeadLetter][10/18/2025 00:41:20.209] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower64] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,209 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower64] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,211 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower64 with journal batch size 1000 [WARN] [10/18/2025 00:41:20.213] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader63]: org.opendaylight.controller.cluster.common.actor.Monitor@6c281d2 [INFO] [akkaDeadLetter][10/18/2025 00:41:20.213] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader63] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,213 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader63] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,214 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader63 with journal batch size 1000 12:41:20,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63: Set currentTerm=1, votedFor=leader63 12:41:20,221 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Set currentTerm=1, votedFor=leader63 12:41:20,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:20,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63: Updated server config: isVoting: true, peers: [PeerInfo [id=follower64, address=akka://test/user/follower64, votingState=NON_VOTING]] 12:41:20,221 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader63: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:20,221 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:20,221 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Updated server config: isVoting: false, peers: [PeerInfo [id=leader63, address=akka://test/user/leader63, votingState=VOTING]] 12:41:20,221 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:20,715 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:20,715 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:20,715 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Follower): Received ElectionTimeout - switching to Candidate 12:41:20,715 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Candidate): Election: Candidate has following voting peers: [] 12:41:20,715 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63: Set currentTerm=2, votedFor=leader63 12:41:20,716 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Candidate): Starting new election term 2 12:41:20,716 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:41:20,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Candidate): Received ElectionTimeout 12:41:20,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Leader): Election: Leader has following peers: [follower64] 12:41:20,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Leader): Checking sendAppendEntries for follower follower64: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:20,718 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:41:20,718 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Term 2 in "AppendEntries [leaderId=leader63, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 12:41:20,718 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Set currentTerm=2, votedFor=null 12:41:20,718 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower64: Last sync leader does not match current leader leader63, need to catch up to -1 12:41:20,718 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower64 updated: matchIndex: -1, nextIndex: 0 12:41:20,719 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader63 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/18/2025 00:41:20.719] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1fe00fb0 [INFO] [akkaDeadLetter][10/18/2025 00:41:20.719] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower64] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower64] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,720 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower64] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:20,740 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:21,75 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader leader63 and reached -1 (of expected -1) [WARN] [10/18/2025 00:41:21.076] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@60a2d9b4 [INFO] [akkaDeadLetter][10/18/2025 00:41:21.076] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower64] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower64] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,76 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower64] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,92 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier66#-663724287] 12:41:21,105 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower64-collector67#42133824] 12:41:21,105 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower64] 12:41:21,106 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader63-collector68#-1024228710] 12:41:21,106 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader63] 12:41:21,109 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting [WARN] [10/18/2025 00:41:21.112] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower70]: org.opendaylight.controller.cluster.common.actor.Monitor@232aa7a3 12:41:21,113 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower70] to Actor[akka://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/18/2025 00:41:21.113] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower70] to Actor[akka://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,113 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower70 with journal batch size 1000 12:41:21,115 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Set currentTerm=1, votedFor=leader69 12:41:21,115 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Received ReplicatedLogEntry for recovery: index: 0, size: 141 [WARN] [10/18/2025 00:41:21.115] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader69]: org.opendaylight.controller.cluster.common.actor.Monitor@576a6e33 12:41:21,115 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Updated server config: isVoting: false, peers: [PeerInfo [id=leader69, address=akka://test/user/leader69, votingState=VOTING]] 12:41:21,115 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [INFO] [akkaDeadLetter][10/18/2025 00:41:21.115] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader69] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,115 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader69] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,116 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader69 with journal batch size 1000 12:41:21,117 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Set currentTerm=1, votedFor=leader69 12:41:21,117 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:21,117 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Updated server config: isVoting: true, peers: [PeerInfo [id=follower70, address=akka://test/user/follower70, votingState=NON_VOTING]] 12:41:21,117 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:21,585 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:21,585 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:21,585 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower): Received ElectionTimeout - switching to Candidate 12:41:21,585 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Election: Candidate has following voting peers: [] 12:41:21,585 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Set currentTerm=2, votedFor=leader69 12:41:21,586 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Starting new election term 2 12:41:21,586 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:41:21,587 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Received ElectionTimeout 12:41:21,587 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Election: Leader has following peers: [follower70] 12:41:21,587 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:21,587 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:41:21,587 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Term 2 in "AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 12:41:21,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Set currentTerm=2, votedFor=null 12:41:21,588 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower70: Last sync leader does not match current leader leader69, need to catch up to -1 [WARN] [10/18/2025 00:41:21.589] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower70] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30d27236 12:41:21,588 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower70 updated: matchIndex: -1, nextIndex: 0 [INFO] [akkaDeadLetter][10/18/2025 00:41:21.589] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower70] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower70] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,589 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower70] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Setting last applied to 0 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Moving last applied index from -1 to 0 12:41:21,623 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Applying state for log index 0 data zero 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: applyState called: zero 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 0 is present for follower follower70 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Sending AppendEntries to follower follower70: AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting ApplyJournalEntries with index=0 12:41:21,624 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries: AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:21,624 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:21,625 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Number of entries to be appended = 1 12:41:21,625 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:21,625 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:21,625 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Append entry to log zero 12:41:21,625 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:21,625 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Log size is now 1 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Setting last applied to 1 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Commit index set to 0 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Moving last applied index from 0 to 1 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Applying state for log index 1 data one 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower70, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower70: Lagging 0 entries behind leader leader69 and reached 0 (of expected -1) 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: applyState called: one 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Setting last applied to 0 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Moving last applied index from -1 to 0 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Applying state for log index 0 data zero 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 0 is present for follower follower70 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: applyState called: zero 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Sending AppendEntries to follower follower70: AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower70 updated: matchIndex: 0, nextIndex: 1 12:41:21,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Persisting ApplyJournalEntries with index=0 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: fakeSnapshot purging log to 0 for term 2 12:41:21,626 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 1 is present for follower follower70 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries: AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Sending AppendEntries to follower follower70: AppendEntries [leaderId=leader69, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Number of entries to be appended = 2 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting ApplyJournalEntries with index=1 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Append entry to log one 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Log size is now 2 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Commit index set to 1 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower70, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower70: Lagging 0 entries behind leader leader69 and reached 1 (of expected -1) 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Setting last applied to 1 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Moving last applied index from 0 to 1 12:41:21,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Applying state for log index 1 data one 12:41:21,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: applyState called: one 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries: AppendEntries [leaderId=leader69, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Number of entries to be appended = 1 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Setting last applied to 2 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Moving last applied index from 1 to 2 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Applying state for log index 2 data two 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Log size is now 2 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower70, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower70: Lagging 0 entries behind leader leader69 and reached 1 (of expected -1) 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: fakeSnapshot purging log to 0 for term 2 12:41:21,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Persisting ApplyJournalEntries with index=1 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: applyState called: two 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 1 is present for follower follower70 [WARN] [10/18/2025 00:41:21.628] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower70] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@492b01f1 12:41:21,628 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower70] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/18/2025 00:41:21.628] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower70] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower70] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Sending AppendEntries to follower follower70: AppendEntries [leaderId=leader69, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:21,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower70 updated: matchIndex: 1, nextIndex: 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: fakeSnapshot purging log to 1 for term 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:21,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 2 is present for follower follower70 12:41:21,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Sending AppendEntries to follower follower70: AppendEntries [leaderId=leader69, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:21,629 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendAppendEntries: 2 is present for follower follower70 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries: AppendEntries [leaderId=leader69, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:21,629 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting ApplyJournalEntries with index=2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Number of entries to be appended = 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Append entry to log two 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Log size is now 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Commit index set to 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower70, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower70: Lagging 0 entries behind leader leader69 and reached 2 (of expected -1) 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Setting last applied to 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Moving last applied index from 1 to 2 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Applying state for log index 2 data two 12:41:21,629 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower70 updated: matchIndex: 2, nextIndex: 3 12:41:21,629 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: applyState called: two 12:41:21,630 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries: AppendEntries [leaderId=leader69, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Number of entries to be appended = 1 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Log size is now 2 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower70, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower70: Lagging 0 entries behind leader leader69 and reached 2 (of expected -1) 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: fakeSnapshot purging log to 1 for term 2 12:41:21,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Persisting ApplyJournalEntries with index=2 [WARN] [10/18/2025 00:41:21.679] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader69]: org.opendaylight.controller.cluster.common.actor.Monitor@5995a46a [INFO] [akkaDeadLetter][10/18/2025 00:41:21.680] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader69] to Actor[akka://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,680 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader69] to Actor[akka://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:21,680 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader69 with journal batch size 1000 12:41:21,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Set currentTerm=1, votedFor=leader69 12:41:21,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:21,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Updated server config: isVoting: true, peers: [PeerInfo [id=follower70, address=akka://test/user/follower70, votingState=NON_VOTING]] 12:41:21,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Set currentTerm=2, votedFor=leader69 12:41:21,683 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower): Received ElectionTimeout - switching to Candidate 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Election: Candidate has following voting peers: [] 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Set currentTerm=3, votedFor=leader69 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Starting new election term 3 12:41:22,186 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:41:22,188 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate): Received ElectionTimeout 12:41:22,188 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Election: Leader has following peers: [follower70] 12:41:22,188 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:22,188 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Setting last applied to 0 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Moving last applied index from -1 to 0 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Applying state for log index 0 data zero-1 12:41:22,189 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: applyState called: zero-1 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting ApplyJournalEntries with index=0 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Setting last applied to 1 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Moving last applied index from 0 to 1 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Applying state for log index 1 data one-1 12:41:22,190 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: applyState called: one-1 12:41:22,191 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Checking sendAppendEntries for follower follower70: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:22,191 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting ApplyJournalEntries with index=1 12:41:22,191 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:22,305 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Term 3 in "AppendEntries [leaderId=leader69, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 12:41:22,306 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Set currentTerm=3, votedFor=null 12:41:22,306 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower70: Lagging -3 entries behind leader leader69 and reached 2 (of expected -1) 12:41:22,306 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleAppendEntriesReply: follower follower70 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 12:41:22,306 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=3, lastIndex=1, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower70 12:41:22,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: lastSequenceNumber prior to capture: -1 12:41:22,313 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: CaptureSnapshotReply received by actor 12:41:22,313 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Persisting of snapshot done: Snapshot [lastIndex=1, lastTerm=3, lastAppliedIndex=1, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1]], electionTerm=3, electionVotedFor=leader69, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower70, isVoting=false], ServerInfo[peerId=leader69, isVoting=true]]]] 12:41:22,315 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): sendInstallSnapshot 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader69 (Leader): Snapshot 333 bytes, total chunks to send: 1 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader69 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): next snapshot chunk size for follower follower70: 333 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): InstallSnapshot sent to follower Vector(user, follower70), Chunk: 1/1 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: Snapshot success - sequence number: -1 12:41:22,316 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: SnapshotComplete received 12:41:22,316 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader69, lastIncludedIndex=1, lastIncludedTerm=3, datasize=333, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower70, isVoting=false], ServerInfo[peerId=leader69, isVoting=true]]]] 12:41:22,322 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower70: Lagging -1 entries behind leader leader69 and reached 2 (of expected -1) 12:41:22,322 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:22,322 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Snapshot installed from leader: leader69 12:41:22,325 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): Converted InstallSnapshot from leader: leader69 to state 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Applying snapshot on follower: Snapshot [lastIndex=1, lastTerm=3, lastAppliedIndex=1, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower70, isVoting=false], ServerInfo[peerId=leader69, isVoting=true]]]] 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Snapshot success - sequence number: -1 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Moving last applied index from 2 to 1 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Set currentTerm=3, votedFor=null 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: Updated server config: isVoting: false, peers: [PeerInfo [id=leader69, address=akka://test/user/leader69, votingState=VOTING]] 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: applySnapshot called 12:41:22,326 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower70, chunkIndex=1, success=true] 12:41:22,329 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower70: SnapshotComplete received 12:41:22,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower70, chunkIndex=1, success=true] 12:41:22,329 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader69 (Leader): Snapshot successfully installed on follower follower70 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 12:41:22,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader69: fakeSnapshot purging log to 0 for term 3 12:41:22,340 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 12:41:22,340 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower70-collector72#-66218690] 12:41:22,351 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower70] 12:41:22,352 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader69-collector73#-30798823] 12:41:22,352 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader69] 12:41:22,352 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader69-collector74#1739354365] 12:41:22,353 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader69] 12:41:22,354 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [10/18/2025 00:41:22.371] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower76]: org.opendaylight.controller.cluster.common.actor.Monitor@1afe2deb [INFO] [akkaDeadLetter][10/18/2025 00:41:22.371] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower76] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:22,372 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower76] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:22,372 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower76 with journal batch size 1000 12:41:22,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Set currentTerm=1, votedFor=leader75 12:41:22,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:22,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Updated server config: isVoting: false, peers: [PeerInfo [id=leader75, address=akka://test/user/leader75, votingState=VOTING]] 12:41:22,375 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/18/2025 00:41:22.475] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader75]: org.opendaylight.controller.cluster.common.actor.Monitor@5e5ce346 12:41:22,476 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader75 with journal batch size 1000 12:41:22,479 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Set currentTerm=1, votedFor=leader75 12:41:22,479 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:22,479 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Updated server config: isVoting: true, peers: [PeerInfo [id=follower76, address=akka://test/user/follower76, votingState=NON_VOTING]] 12:41:22,480 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower): Received ElectionTimeout - switching to Candidate 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Election: Candidate has following voting peers: [] 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Set currentTerm=2, votedFor=leader75 12:41:22,975 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Starting new election term 2 12:41:22,976 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:41:22,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Received ElectionTimeout 12:41:22,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Election: Leader has following peers: [follower76] 12:41:22,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:22,977 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:41:22,978 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Term 2 in "AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 12:41:22,978 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Set currentTerm=2, votedFor=null 12:41:22,978 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower76: Last sync leader does not match current leader leader75, need to catch up to -1 12:41:22,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower76 updated: matchIndex: -1, nextIndex: 0 12:41:22,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/18/2025 00:41:22.979] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower76] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@108e8f69 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Setting last applied to 0 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Moving last applied index from -1 to 0 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Applying state for log index 0 data zero 12:41:22,979 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: applyState called: zero 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 0 is present for follower follower76 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persisting ApplyJournalEntries with index=0 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Setting last applied to 1 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Moving last applied index from 0 to 1 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Applying state for log index 1 data one 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: applyState called: one 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 1 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 0 is present for follower follower76 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Append entry to log zero 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:22,980 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:22,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persisting ApplyJournalEntries with index=1 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Setting last applied to 2 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Moving last applied index from 1 to 2 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Applying state for log index 2 data two 12:41:22,980 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: applyState called: two 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 0 is present for follower follower76 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persisting ApplyJournalEntries with index=2 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:22,981 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 1 12:41:22,981 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Commit index set to 0 12:41:22,981 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower76, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower76 updated: matchIndex: 0, nextIndex: 1 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: fakeSnapshot purging log to 0 for term 2 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 1 is present for follower follower76 12:41:22,981 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 0 (of expected -1) 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Setting last applied to 0 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Moving last applied index from -1 to 0 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Applying state for log index 0 data zero 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: applyState called: zero 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 2 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Append entry to log one 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 2 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Commit index set to 1 12:41:22,982 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower76, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:22,983 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower76 updated: matchIndex: 1, nextIndex: 2 12:41:22,983 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: fakeSnapshot purging log to 1 for term 2 12:41:22,983 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:22,983 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 2 is present for follower follower76 12:41:22,983 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 1 (of expected -1) 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Setting last applied to 1 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Moving last applied index from 0 to 1 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Applying state for log index 1 data one 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: applyState called: one 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 3 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: 1, entries to be added from: 2 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Append entry to log two 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:22,983 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 3 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Commit index set to 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower76, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:22,984 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower76 updated: matchIndex: 2, nextIndex: 3 12:41:22,984 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 2 (of expected -1) 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Setting last applied to 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Moving last applied index from 1 to 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Applying state for log index 2 data two 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: applyState called: two 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: 2, entries to be added from: 2 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 3 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower76, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 2 (of expected -1) 12:41:22,984 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: fakeSnapshot purging log to 0 for term 2 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Persisting ApplyJournalEntries with index=0 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 1 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 2 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower76, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 2 (of expected -1) 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: fakeSnapshot purging log to 1 for term 2 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Persisting ApplyJournalEntries with index=1 12:41:22,985 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Persisting ApplyJournalEntries with index=2 [WARN] [10/18/2025 00:41:22.985] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower76] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e928a0a [WARN] [10/18/2025 00:41:23.044] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader75]: org.opendaylight.controller.cluster.common.actor.Monitor@5822cf87 12:41:23,45 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader75 with journal batch size 1000 12:41:23,47 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Set currentTerm=1, votedFor=leader75 12:41:23,48 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:23,48 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Updated server config: isVoting: true, peers: [PeerInfo [id=follower76, address=akka://test/user/follower76, votingState=NON_VOTING]] 12:41:23,48 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Set currentTerm=2, votedFor=leader75 12:41:23,48 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:23,535 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:23,536 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower): Received ElectionTimeout - switching to Candidate 12:41:23,536 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Election: Candidate has following voting peers: [] 12:41:23,536 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Set currentTerm=3, votedFor=leader75 12:41:23,536 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Starting new election term 3 12:41:23,536 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:41:23,537 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate): Received ElectionTimeout 12:41:23,537 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Election: Leader has following peers: [follower76] 12:41:23,537 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:23,538 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:41:23,538 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Term 3 in "AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 12:41:23,538 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Set currentTerm=3, votedFor=null 12:41:23,538 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower76: Lagging -3 entries behind leader leader75 and reached 2 (of expected -1) 12:41:23,538 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply: follower follower76 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 12:41:23,538 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:41:23,538 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower76 12:41:23,538 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: lastSequenceNumber prior to capture: -1 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: CaptureSnapshotReply received by actor 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=leader75, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower76, isVoting=false], ServerInfo[peerId=leader75, isVoting=true]]]] 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendInstallSnapshot 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader75 (Leader): Snapshot 171 bytes, total chunks to send: 1 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader75 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): next snapshot chunk size for follower follower76: 171 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): InstallSnapshot sent to follower Vector(user, follower76), Chunk: 1/1 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Snapshot success - sequence number: -1 12:41:23,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: SnapshotComplete received 12:41:23,541 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader75, lastIncludedIndex=-1, lastIncludedTerm=-1, datasize=171, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower76, isVoting=false], ServerInfo[peerId=leader75, isVoting=true]]]] 12:41:23,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower76: Lagging -3 entries behind leader leader75 and reached 2 (of expected -1) 12:41:23,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:23,542 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Snapshot installed from leader: leader75 12:41:23,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Converted InstallSnapshot from leader: leader75 to state 12:41:23,542 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Applying snapshot on follower: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower76, isVoting=false], ServerInfo[peerId=leader75, isVoting=true]]]] 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Snapshot success - sequence number: -1 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Moving last applied index from 2 to -1 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Set currentTerm=3, votedFor=null 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Updated server config: isVoting: false, peers: [PeerInfo [id=leader75, address=akka://test/user/leader75, votingState=VOTING]] 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: applySnapshot called 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower76, chunkIndex=1, success=true] 12:41:23,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower76, chunkIndex=1, success=true] 12:41:23,543 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Snapshot successfully installed on follower follower76 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 12:41:23,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: SnapshotComplete received 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Setting last applied to 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Moving last applied index from -1 to 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Applying state for log index 0 data zero-1 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: applyState called: zero-1 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): sendAppendEntries: 0 is present for follower follower76 12:41:23,552 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Sending AppendEntries to follower follower76: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries: AppendEntries [leaderId=leader75, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Number of entries to be appended = 1 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Append entry to log zero-1 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Log size is now 1 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Commit index set to 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower76, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower76: Lagging 0 entries behind leader leader75 and reached 0 (of expected -1) 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76 (Follower): Setting last applied to 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Moving last applied index from -1 to 0 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Applying state for log index 0 data zero-1 12:41:23,552 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: applyState called: zero-1 12:41:23,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower76: Persisting ApplyJournalEntries with index=0 12:41:23,553 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: Persisting ApplyJournalEntries with index=0 12:41:23,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower76 updated: matchIndex: 0, nextIndex: 1 12:41:23,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75 (Leader): Checking sendAppendEntries for follower follower76: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:23,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader75: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:23,602 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 12:41:23,602 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower76-collector78#1789401625] 12:41:23,614 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower76] 12:41:23,615 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader75-collector79#-904926925] 12:41:23,616 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader75] 12:41:23,616 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader75-collector80#-2046390480] 12:41:23,617 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader75] 12:41:23,619 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [10/18/2025 00:41:23.622] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower82]: org.opendaylight.controller.cluster.common.actor.Monitor@2cd77585 12:41:23,623 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower82 with journal batch size 1000 12:41:23,625 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Set currentTerm=1, votedFor=leader81 12:41:23,625 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:23,625 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Updated server config: isVoting: false, peers: [PeerInfo [id=leader81, address=akka://test/user/leader81, votingState=VOTING]] 12:41:23,626 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/18/2025 00:41:23.628] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader81]: org.opendaylight.controller.cluster.common.actor.Monitor@4864cc0a 12:41:23,629 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader81 with journal batch size 1000 12:41:23,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Set currentTerm=1, votedFor=leader81 12:41:23,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:23,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Updated server config: isVoting: true, peers: [PeerInfo [id=follower82, address=akka://test/user/follower82, votingState=NON_VOTING]] 12:41:23,631 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:24,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:24,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:24,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower): Received ElectionTimeout - switching to Candidate 12:41:24,86 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Election: Candidate has following voting peers: [] 12:41:24,86 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Set currentTerm=2, votedFor=leader81 12:41:24,86 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Starting new election term 2 12:41:24,86 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:41:24,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Received ElectionTimeout 12:41:24,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Election: Leader has following peers: [follower82] 12:41:24,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:24,88 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:41:24,88 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Term 2 in "AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 12:41:24,88 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Set currentTerm=2, votedFor=null 12:41:24,88 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower82: Last sync leader does not match current leader leader81, need to catch up to -1 12:41:24,88 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower82 updated: matchIndex: -1, nextIndex: 0 12:41:24,88 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/18/2025 00:41:24.089] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower82] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@700bdea4 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Setting last applied to 0 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Moving last applied index from -1 to 0 12:41:24,136 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Applying state for log index 0 data zero 12:41:24,137 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: applyState called: zero 12:41:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): sendAppendEntries: 0 is present for follower follower82 12:41:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Sending AppendEntries to follower follower82: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting ApplyJournalEntries with index=0 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:24,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Number of entries to be appended = 1 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Append entry to log zero 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Log size is now 1 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Commit index set to 0 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Setting last applied to 1 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Moving last applied index from 0 to 1 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower82, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Applying state for log index 1 data one 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower82: Lagging 0 entries behind leader leader81 and reached 0 (of expected -1) 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Setting last applied to 0 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Moving last applied index from -1 to 0 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: applyState called: one 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Applying state for log index 0 data zero 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): sendAppendEntries: 0 is present for follower follower82 12:41:24,138 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: applyState called: zero 12:41:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Sending AppendEntries to follower follower82: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Persisting ApplyJournalEntries with index=0 12:41:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower82 updated: matchIndex: 0, nextIndex: 1 12:41:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: fakeSnapshot purging log to 0 for term 2 12:41:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): sendAppendEntries: 1 is present for follower follower82 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Number of entries to be appended = 2 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 12:41:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Sending AppendEntries to follower follower82: AppendEntries [leaderId=leader81, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Append entry to log one 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Log size is now 2 12:41:24,139 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting ApplyJournalEntries with index=1 12:41:24,139 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:24,139 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Commit index set to 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower82, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:24,140 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower82 updated: matchIndex: 1, nextIndex: 2 12:41:24,140 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower82: Lagging 0 entries behind leader leader81 and reached 1 (of expected -1) 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Setting last applied to 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Moving last applied index from 0 to 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Applying state for log index 1 data one 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: applyState called: one 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries: AppendEntries [leaderId=leader81, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Number of entries to be appended = 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Log size is now 2 12:41:24,140 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower82, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:24,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower82: Lagging 0 entries behind leader leader81 and reached 1 (of expected -1) 12:41:24,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: fakeSnapshot purging log to 0 for term 2 12:41:24,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Persisting ApplyJournalEntries with index=1 [WARN] [10/18/2025 00:41:24.141] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower82] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@da59be2 [WARN] [10/18/2025 00:41:24.201] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader81]: org.opendaylight.controller.cluster.common.actor.Monitor@735a77b9 12:41:24,203 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader81 with journal batch size 1000 12:41:24,206 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Set currentTerm=1, votedFor=leader81 12:41:24,206 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:24,206 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Updated server config: isVoting: true, peers: [PeerInfo [id=follower82, address=akka://test/user/follower82, votingState=NON_VOTING]] 12:41:24,206 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Set currentTerm=2, votedFor=leader81 12:41:24,206 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower): Received ElectionTimeout - switching to Candidate 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Election: Candidate has following voting peers: [] 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Set currentTerm=3, votedFor=leader81 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Starting new election term 3 12:41:24,685 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:41:24,686 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate): Received ElectionTimeout 12:41:24,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Election: Leader has following peers: [follower82] 12:41:24,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:24,687 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:41:24,710 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Setting last applied to 0 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Moving last applied index from -1 to 0 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Applying state for log index 0 data zero-1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: applyState called: zero-1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting ApplyJournalEntries with index=0 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Setting last applied to 1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Moving last applied index from 0 to 1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Applying state for log index 1 data one-1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: applyState called: one-1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting ApplyJournalEntries with index=1 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:24,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Setting last applied to 2 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Moving last applied index from 1 to 2 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Applying state for log index 2 data two-1 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: applyState called: two-1 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting ApplyJournalEntries with index=2 12:41:24,712 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:24,806 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Term 3 in "AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 12:41:24,806 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Set currentTerm=3, votedFor=null 12:41:24,806 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower82: Lagging -2 entries behind leader leader81 and reached 1 (of expected -1) 12:41:24,806 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleAppendEntriesReply: follower follower82 last log term 2 for index 1 conflicts with the leader's 3 - set the follower's next index to 0 12:41:24,806 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Checking sendAppendEntries for follower follower82: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:24,806 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): sendAppendEntries: 0 is present for follower follower82 12:41:24,806 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Sending AppendEntries to follower follower82: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 12:41:24,807 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleAppendEntries: AppendEntries [leaderId=leader81, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 12:41:24,807 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Number of entries to be appended = 3 12:41:24,807 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 12:41:24,807 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:24,808 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 12:41:24,808 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Could not remove entries - sending reply to force snapshot 12:41:24,808 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower82: Lagging 1 entries behind leader leader81 and reached 1 (of expected -1) 12:41:24,808 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower82, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 12:41:24,808 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=3, lastIndex=2, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower82 12:41:24,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: lastSequenceNumber prior to capture: -1 12:41:24,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: CaptureSnapshotReply received by actor 12:41:24,808 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=3, lastAppliedIndex=2, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1]], electionTerm=3, electionVotedFor=leader81, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower82, isVoting=false], ServerInfo[peerId=leader81, isVoting=true]]]] 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): sendInstallSnapshot 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader81 (Leader): Snapshot 351 bytes, total chunks to send: 1 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader81 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): next snapshot chunk size for follower follower82: 351 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): InstallSnapshot sent to follower Vector(user, follower82), Chunk: 1/1 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: Snapshot success - sequence number: -1 12:41:24,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: SnapshotComplete received 12:41:24,809 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader81, lastIncludedIndex=2, lastIncludedTerm=3, datasize=351, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower82, isVoting=false], ServerInfo[peerId=leader81, isVoting=true]]]] 12:41:24,809 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower82: Lagging 1 entries behind leader leader81 and reached 1 (of expected -1) 12:41:24,809 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:24,809 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Snapshot installed from leader: leader81 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): Converted InstallSnapshot from leader: leader81 to state 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=3, lastAppliedIndex=2, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower82, isVoting=false], ServerInfo[peerId=leader81, isVoting=true]]]] 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Snapshot success - sequence number: -1 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Moving last applied index from 1 to 2 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Set currentTerm=3, votedFor=null 12:41:24,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: Updated server config: isVoting: false, peers: [PeerInfo [id=leader81, address=akka://test/user/leader81, votingState=VOTING]] 12:41:24,811 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: applySnapshot called 12:41:24,811 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower82, chunkIndex=1, success=true] 12:41:24,811 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower82: SnapshotComplete received 12:41:24,811 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower82, chunkIndex=1, success=true] 12:41:24,811 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader81 (Leader): Snapshot successfully installed on follower follower82 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 12:41:24,811 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader81: fakeSnapshot purging log to 1 for term 3 12:41:24,811 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 12:41:24,811 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower82-collector84#-1504690349] 12:41:24,823 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower82] 12:41:24,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader81-collector85#333950272] 12:41:24,824 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader81] 12:41:24,824 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader81-collector86#-298807446] 12:41:24,824 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader81] 12:41:24,826 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [10/18/2025 00:41:24.828] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower88]: org.opendaylight.controller.cluster.common.actor.Monitor@27d0f821 12:41:24,829 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower88 with journal batch size 1000 [WARN] [10/18/2025 00:41:24.832] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader87]: org.opendaylight.controller.cluster.common.actor.Monitor@6f6c3e93 12:41:24,832 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Set currentTerm=1, votedFor=leader87 12:41:24,832 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:24,832 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Updated server config: isVoting: false, peers: [PeerInfo [id=leader87, address=akka://test/user/leader87, votingState=VOTING]] 12:41:24,832 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader87 with journal batch size 1000 12:41:24,832 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:24,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Set currentTerm=1, votedFor=leader87 12:41:24,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Received ReplicatedLogEntry for recovery: index: 0, size: 141 12:41:24,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Updated server config: isVoting: true, peers: [PeerInfo [id=follower88, address=akka://test/user/follower88, votingState=NON_VOTING]] 12:41:24,835 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:25,325 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:25,325 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:25,326 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower): Received ElectionTimeout - switching to Candidate 12:41:25,326 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Election: Candidate has following voting peers: [] 12:41:25,326 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Set currentTerm=2, votedFor=leader87 12:41:25,326 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Starting new election term 2 12:41:25,326 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:41:25,327 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Received ElectionTimeout 12:41:25,327 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Election: Leader has following peers: [follower88] 12:41:25,328 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:25,328 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:41:25,328 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Term 2 in "AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 12:41:25,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Set currentTerm=2, votedFor=null 12:41:25,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower88: Last sync leader does not match current leader leader87, need to catch up to -1 12:41:25,328 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower88 updated: matchIndex: -1, nextIndex: 0 12:41:25,328 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/18/2025 00:41:25.329] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower88] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@58231267 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 0 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from -1 to 0 12:41:25,342 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 0 data zero 12:41:25,343 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: zero 12:41:25,343 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:25,343 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 0 is present for follower follower88 12:41:25,343 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Number of entries to be appended = 1 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Append entry to log zero 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Log size is now 1 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Commit index set to 0 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower88, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower88: Lagging 0 entries behind leader leader87 and reached 0 (of expected -1) 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Setting last applied to 0 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Moving last applied index from -1 to 0 12:41:25,343 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Applying state for log index 0 data zero 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: applyState called: zero 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Persisting ApplyJournalEntries with index=0 12:41:25,344 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=0 [WARN] [10/18/2025 00:41:25.344] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower88] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3fdc52e7 12:41:25,344 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower88 updated: matchIndex: 0, nextIndex: 1 12:41:25,344 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:25,344 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 1 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 0 to 1 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 1 data one 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: one 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 1 is present for follower follower88 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=1 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Number of entries to be appended = 1 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Append entry to log one 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: fakeSnapshot purging log to 0 for term 2 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Log size is now 2 12:41:25,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Commit index set to 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:25,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower88, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower88: Lagging 0 entries behind leader leader87 and reached 1 (of expected -1) 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 1 to 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 2 data two 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Setting last applied to 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Moving last applied index from 0 to 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Applying state for log index 1 data one 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: two 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: applyState called: one 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 1 is present for follower follower88 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Persisting ApplyJournalEntries with index=1 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower88 updated: matchIndex: 1, nextIndex: 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: fakeSnapshot purging log to 1 for term 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Number of entries to be appended = 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 2 is present for follower follower88 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Append entry to log two 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Log size is now 3 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Commit index set to 2 12:41:25,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower88, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:25,346 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower88: Lagging 0 entries behind leader leader87 and reached 2 (of expected -1) 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Setting last applied to 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=2 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Moving last applied index from 1 to 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Applying state for log index 2 data two 12:41:25,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower88 updated: matchIndex: 2, nextIndex: 3 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: applyState called: two 12:41:25,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: fakeSnapshot purging log to 0 for term 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Number of entries to be appended = 1 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Log size is now 2 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower88, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower88: Lagging 0 entries behind leader leader87 and reached 2 (of expected -1) 12:41:25,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: fakeSnapshot purging log to 1 for term 2 12:41:25,348 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Persisting ApplyJournalEntries with index=2 12:41:25,565 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower88: Lagging 0 entries behind leader leader87 and reached 2 (of expected -1) [WARN] [10/18/2025 00:41:25.611] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower89]: org.opendaylight.controller.cluster.common.actor.Monitor@452197db 12:41:25,612 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower89 with journal batch size 1000 12:41:25,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Received ReplicatedLogEntry for recovery: index: 0, size: 171 12:41:25,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Updated server config: isVoting: true, peers: [PeerInfo [id=leader87, address=akka://test/user/leader87, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING], PeerInfo [id=follower88, address=akka://test/user/follower88, votingState=NON_VOTING]] 12:41:25,615 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/18/2025 00:41:25.618] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader87]: org.opendaylight.controller.cluster.common.actor.Monitor@52ffb4d4 12:41:25,619 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader87 with journal batch size 1000 12:41:25,620 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Set currentTerm=2, votedFor=leader87 12:41:25,621 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Received ReplicatedLogEntry for recovery: index: 0, size: 171 12:41:25,621 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Updated server config: isVoting: true, peers: [PeerInfo [id=downPeer, address=null, votingState=NON_VOTING], PeerInfo [id=follower89, address=akka://test/user/follower89, votingState=VOTING], PeerInfo [id=follower88, address=akka://test/user/follower88, votingState=NON_VOTING]] 12:41:25,621 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:26,125 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.137:25520, Removed) 12:41:26,125 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower): Received ElectionTimeout - switching to Candidate 12:41:26,126 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Election: Candidate has following voting peers: [follower89] 12:41:26,126 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Set currentTerm=3, votedFor=leader87 12:41:26,126 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Starting new election term 3 12:41:26,126 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): Sending RequestVote [term=3, candidateId=leader87, lastLogIndex=-1, lastLogTerm=-1] to peer follower89 12:41:26,126 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Cluster state: [] 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader87, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Term 3 in "RequestVote [term=3, candidateId=leader87, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Set currentTerm=3, votedFor=null 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): In requestVote: RequestVote [term=3, candidateId=leader87, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Set currentTerm=3, votedFor=leader87 12:41:26,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:41:26,128 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:41:26,128 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:41:26,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Election: Leader has following peers: [downPeer, follower89, follower88] 12:41:26,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:26,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:26,129 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower89: Last sync leader does not match current leader leader87, need to catch up to -1 12:41:26,129 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:41:26,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/18/2025 00:41:26.129] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower89] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e69aa13 12:41:26,130 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 0 is present for follower follower89 12:41:26,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower89: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 12:41:26,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:26,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Number of entries to be appended = 1 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Append entry to log zero-1 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Log size is now 1 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower89, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:26,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached -1 (of expected -1) 12:41:26,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:26,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 12:41:26,178 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:26,178 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 0 is present for follower follower89 12:41:26,178 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: 0, nextIndex: 1 [WARN] [10/18/2025 00:41:26.178] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower89] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4a582168 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 0 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from -1 to 0 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 0 data zero-1 12:41:26,178 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: zero-1 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 1 is present for follower follower89 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower89: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=3, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1]]] 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=0 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=3, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1]]] 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Number of entries to be appended = 1 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Append entry to log one-1 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Log size is now 2 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Commit index set to 0 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:26,179 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:26,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower89, logLastIndex=1, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached 0 (of expected -1) 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Setting last applied to 0 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Moving last applied index from -1 to 0 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Applying state for log index 0 data zero-1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 1 is present for follower follower89 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: 1, nextIndex: 2 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 0 to 1 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: applyState called: zero-1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 1 data one-1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: one-1 12:41:26,180 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Persisting ApplyJournalEntries with index=0 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:41:26,180 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 2 is present for follower follower89 12:41:26,181 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower89: AppendEntries [leaderId=leader87, prevLogIndex=1, prevLogTerm=3, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 12:41:26,181 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=1, prevLogTerm=3, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Number of entries to be appended = 1 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Append entry to log two-1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Log size is now 3 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Commit index set to 1 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower89, logLastIndex=2, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached 1 (of expected -1) 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 2 is present for follower follower89 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Setting last applied to 1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Moving last applied index from 0 to 1 12:41:26,181 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Applying state for log index 1 data one-1 12:41:26,181 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: applyState called: one-1 12:41:26,182 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Persisting ApplyJournalEntries with index=1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: 2, nextIndex: 3 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 2 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 1 to 2 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 2 data two-1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: two-1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 3 is present for follower follower89 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower89: AppendEntries [leaderId=leader87, prevLogIndex=2, prevLogTerm=3, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=2 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=2, prevLogTerm=3, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Number of entries to be appended = 1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Append entry to log three-1 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,182 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Log size is now 4 12:41:26,182 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 3 is present for follower follower89 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Commit index set to 2 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower89, logLastIndex=3, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached 2 (of expected -1) 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Setting last applied to 2 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Moving last applied index from 1 to 2 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Applying state for log index 2 data two-1 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: 3, nextIndex: 4 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 3 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 2 to 3 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: applyState called: two-1 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 3 data three-1 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: three-1 12:41:26,183 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Persisting ApplyJournalEntries with index=2 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 4 is present for follower follower89 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower89: AppendEntries [leaderId=leader87, prevLogIndex=3, prevLogTerm=3, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 12:41:26,183 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=3 12:41:26,183 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=3, prevLogTerm=3, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,183 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Number of entries to be appended = 1 12:41:26,183 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Append entry to log four-1 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Log size is now 5 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Commit index set to 3 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower89, logLastIndex=4, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached 3 (of expected -1) 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower89 updated: matchIndex: 4, nextIndex: 5 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Setting last applied to 3 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Moving last applied index from 2 to 3 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Applying state for log index 3 data three-1 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Setting last applied to 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Moving last applied index from 3 to 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Applying state for log index 4 data four-1 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: applyState called: three-1 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: applyState called: four-1 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower89: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Persisting ApplyJournalEntries with index=3 12:41:26,184 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting ApplyJournalEntries with index=4 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Commit index set to 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower89: Lagging 0 entries behind leader leader87 and reached 4 (of expected -1) 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89 (Follower): Setting last applied to 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Moving last applied index from 3 to 4 12:41:26,184 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Applying state for log index 4 data four-1 12:41:26,185 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: applyState called: four-1 12:41:26,185 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower89: Persisting ApplyJournalEntries with index=4 12:41:26,246 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Term 3 in "AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 12:41:26,246 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Set currentTerm=3, votedFor=null 12:41:26,246 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower88: Lagging -3 entries behind leader leader87 and reached 2 (of expected -1) 12:41:26,246 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply: follower follower88 last log term 2 for index 2 conflicts with the leader's 3 - set the follower's next index to 1 12:41:26,247 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,247 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 1 is present for follower follower88 12:41:26,247 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=3, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,247 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=0, prevLogTerm=3, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,247 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): The prevLogIndex 0 was found in the log but the term 2 is not equal to the append entries prevLogTerm 3 - lastIndex: 2, snapshotIndex: 1, snapshotTerm: 2 12:41:26,248 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=3, success=false, followerId=follower88, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:26,248 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower88: Lagging 2 entries behind leader leader87 and reached 2 (of expected -1) 12:41:26,248 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower88, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 12:41:26,248 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): follower follower88 last log term 2 conflicts with the leader's 3 - dec next index to 0 12:41:26,248 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Checking sendAppendEntries for follower follower88: active: true, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:41:26,248 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendAppendEntries: 0 is present for follower follower88 12:41:26,248 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Sending AppendEntries to follower follower88: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,248 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleAppendEntries: AppendEntries [leaderId=leader87, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Number of entries to be appended = 5 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: -1 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] is present: existingEntryTerm: 2 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Could not remove entries - sending reply to force snapshot 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower88: Lagging 2 entries behind leader leader87 and reached 2 (of expected -1) 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower88, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=4, lastAppliedTerm=3, lastIndex=4, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower88 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: lastSequenceNumber prior to capture: -1 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: CaptureSnapshotReply received by actor 12:41:26,249 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Persisting of snapshot done: Snapshot [lastIndex=4, lastTerm=3, lastAppliedIndex=4, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1, three-1, four-1]], electionTerm=3, electionVotedFor=leader87, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower89, isVoting=true], ServerInfo[peerId=follower88, isVoting=false], ServerInfo[peerId=leader87, isVoting=true]]]] 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): sendInstallSnapshot 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader87 (Leader): Snapshot 390 bytes, total chunks to send: 1 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader87 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): next snapshot chunk size for follower follower88: 390 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): InstallSnapshot sent to follower Vector(user, follower88), Chunk: 1/1 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: Snapshot success - sequence number: -1 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87: SnapshotComplete received 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader87, lastIncludedIndex=4, lastIncludedTerm=3, datasize=390, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower89, isVoting=true], ServerInfo[peerId=follower88, isVoting=false], ServerInfo[peerId=leader87, isVoting=true]]]] 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower88: Lagging 2 entries behind leader leader87 and reached 2 (of expected -1) 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:26,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Snapshot installed from leader: leader87 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): Converted InstallSnapshot from leader: leader87 to state 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Applying snapshot on follower: Snapshot [lastIndex=4, lastTerm=3, lastAppliedIndex=4, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1, three-1, four-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower89, isVoting=true], ServerInfo[peerId=follower88, isVoting=false], ServerInfo[peerId=leader87, isVoting=true]]]] 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Snapshot success - sequence number: -1 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Moving last applied index from 2 to 4 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Set currentTerm=3, votedFor=null 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: Updated server config: isVoting: false, peers: [PeerInfo [id=leader87, address=akka://test/user/leader87, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING], PeerInfo [id=follower89, address=null, votingState=VOTING]] 12:41:26,251 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: applySnapshot called 12:41:26,252 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower88, chunkIndex=1, success=true] 12:41:26,252 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower88: SnapshotComplete received 12:41:26,252 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower88, chunkIndex=1, success=true] 12:41:26,252 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader87 (Leader): Snapshot successfully installed on follower follower88 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 12:41:26,277 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 12:41:26,277 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower88-collector90#-731686010] 12:41:26,288 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower88] 12:41:26,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader87-collector91#62498460] 12:41:26,289 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader87] 12:41:26,290 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower89-collector92#1350454460] 12:41:26,290 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower89] 12:41:26,291 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader87-collector93#606632956] 12:41:26,291 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader87] 12:41:26,294 AM [test-akka.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [10/18/2025 00:41:26.293] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/18/2025 00:41:26.295] [test-akka.actor.default-dispatcher-5] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.137:25520) [INFO] [10/18/2025 00:41:26.296] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Exiting completed [INFO] [10/18/2025 00:41:26.296] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Shutting down... 12:41:26,296 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Exiting completed 12:41:26,298 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Shutting down... 12:41:26,298 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.137:25520] - Successfully shut down [INFO] [10/18/2025 00:41:26.297] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.137:25520] - Successfully shut down [INFO] [10/18/2025 00:41:26.298] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.170.137:25520/system/remoting-terminator] Shutting down remote daemon. 12:41:26,298 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/18/2025 00:41:26.299] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.170.137:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 12:41:26,299 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/18/2025 00:41:26.301] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.137:25520/system/remoting-terminator] Remoting shut down. 12:41:26,301 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/18/2025 00:41:26.301] [test-akka.actor.internal-dispatcher-8] [EventStream] shutting down: StandardOutLogger