[DEBUG] [08/08/2025 10:54:57.987] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:54:57,987 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/08/2025 10:54:57.988] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [08/08/2025 10:54:57.988] [main] [EventStream(akka://test)] Default Loggers started [INFO] [08/08/2025 10:54:58.004] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.134:25520] with UID [-1907380226616615579] 10:54:58,4 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.134:25520] with UID [-1907380226616615579] [INFO] [08/08/2025 10:54:58.005] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Starting up, Akka version [2.6.21] ... 10:54:58,5 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Starting up, Akka version [2.6.21] ... [INFO] [08/08/2025 10:54:58.007] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:54:58,7 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [08/08/2025 10:54:58.007] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Started up successfully 10:54:58,7 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Started up successfully 10:54:58,9 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:54:58,9 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [08/08/2025 10:54:58.008] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [08/08/2025 10:54:58.008] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [08/08/2025 10:54:58.020] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower227]: org.opendaylight.controller.cluster.common.actor.Monitor@65978a82 [INFO] [akkaDeadLetter][08/08/2025 10:54:58.021] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower227] 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'. 10:54:58,21 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower227] 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'. 10:54:58,22 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower227 with journal batch size 1000 [WARN] [08/08/2025 10:54:58.023] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader226]: org.opendaylight.controller.cluster.common.actor.Monitor@6641e508 [INFO] [akkaDeadLetter][08/08/2025 10:54:58.023] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader226] 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'. 10:54:58,23 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader226] 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'. 10:54:58,24 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader226 with journal batch size 1000 10:54:58,28 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:54:58,28 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:54:58,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:54:58,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.134:25520, Removed) 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Follower): Received ElectionTimeout - switching to Candidate 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Election: Candidate has following voting peers: [follower227, follower228] 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Set currentTerm=1, votedFor=leader226 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Starting new election term 1 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Sending RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1] to peer follower227 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Sending RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1] to peer follower228 10:54:58,542 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:54:58,542 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:54:58,542 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Cluster state: [] 10:54:58,542 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:54:58,543 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:54:58,543 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Set currentTerm=1, votedFor=null 10:54:58,543 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): In requestVote: RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:54:58,543 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Set currentTerm=1, votedFor=leader226 10:54:58,543 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [08/08/2025 10:54:58.543] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: RequestVote [term=1, candidateId=leader226, lastLogIndex=-1, lastLogTerm=-1] [INFO] [akkaDeadLetter][08/08/2025 10:54:58.543] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. 10:54:58,543 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Election: Leader has following peers: [follower227, follower228] 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:54:58,545 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower227: Last sync leader does not match current leader leader226, need to catch up to -1 [WARN] [08/08/2025 10:54:58.545] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,545 AM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. 10:54:58,545 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:54:58,546 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower227] was unhandled. [5] 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][08/08/2025 10:54:58.545] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. [WARN] [08/08/2025 10:54:58.546] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower227] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@184c86d9 [INFO] [akkaDeadLetter][08/08/2025 10:54:58.545] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower227] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower227] was unhandled. [5] 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'. 10:54:58,546 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower227 updated: matchIndex: -1, nextIndex: 0 10:54:58,546 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:54:58,584 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:58,584 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:58,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:54:58,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:58,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 0 is present for follower follower227 10:54:58,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:54:58,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:58,585 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:54:58,585 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Number of entries to be appended = 1 10:54:58,585 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:54:58,585 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Append entry to log zero 10:54:58,585 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:58,586 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Log size is now 1 10:54:58,586 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower227, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower227 updated: matchIndex: 0, nextIndex: 1 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:58,586 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [6] 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'. 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/08/2025 10:54:58.586] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Setting last applied to 0 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from -1 to 0 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Applying state for log index 0 data zero [INFO] [akkaDeadLetter][08/08/2025 10:54:58.586] [test-akka.actor.default-dispatcher-5] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [6] 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'. 10:54:58,586 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower227: Lagging 0 entries behind leader leader226 and reached -1 (of expected -1) 10:54:58,586 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: applyState called: zero 10:54:58,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persisting ApplyJournalEntries with index=0 10:54:58,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/08/2025 10:54:58.587] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower227] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6862d305 [INFO] [akkaDeadLetter][08/08/2025 10:54:58.587] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower227] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower227] 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'. 10:54:58,587 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower227] 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'. 10:54:58,635 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:58,635 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:58,635 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:54:58,636 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:58,636 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 1 is present for follower follower227 10:54:58,636 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:54:58,636 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries: AppendEntries [leaderId=leader226, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Number of entries to be appended = 1 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Append entry to log one 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [08/08/2025 10:54:58.636] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Log size is now 2 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Commit index set to 0 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower227, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [INFO] [akkaDeadLetter][08/08/2025 10:54:58.636] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower227: Lagging 0 entries behind leader leader226 and reached 0 (of expected -1) 10:54:58,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:54:58,636 AM [test-akka.actor.default-dispatcher-11] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] 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'. 10:54:58,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Setting last applied to 0 10:54:58,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Moving last applied index from -1 to 0 10:54:58,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Applying state for log index 0 data zero 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower227 updated: matchIndex: 1, nextIndex: 2 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:58,637 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: applyState called: zero 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Setting last applied to 1 10:54:58,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from 0 to 1 10:54:58,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Applying state for log index 1 data one 10:54:58,638 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:58,638 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: applyState called: one 10:54:58,638 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Persisting ApplyJournalEntries with index=0 10:54:58,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persisting ApplyJournalEntries with index=1 10:54:58,662 AM [test-akka.actor.default-dispatcher-11] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [9] 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'. [WARN] [08/08/2025 10:54:58.663] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][08/08/2025 10:54:58.662] [test-akka.actor.default-dispatcher-11] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [9] 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'. 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 2 is present for follower follower227 10:54:58,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries: AppendEntries [leaderId=leader226, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Number of entries to be appended = 1 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Append entry to log two 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 2 is present for follower follower227 [WARN] [08/08/2025 10:54:58.687] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Log size is now 3 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Commit index set to 1 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower227, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower227: Lagging 0 entries behind leader leader226 and reached 1 (of expected -1) 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Setting last applied to 1 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Moving last applied index from 0 to 1 [WARN] [08/08/2025 10:54:58.687] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][08/08/2025 10:54:58.687] [test-akka.actor.default-dispatcher-17] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:54:58,687 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader226] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:54:58,687 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Applying state for log index 1 data one 10:54:58,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower227 updated: matchIndex: 2, nextIndex: 3 10:54:58,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:54:58,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 3 is present for follower follower227 10:54:58,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:54:58,688 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: applyState called: one 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Setting last applied to 2 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from 1 to 2 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Applying state for log index 2 data two 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: applyState called: two 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persisting ApplyJournalEntries with index=2 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:58,688 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: lastSequenceNumber prior to capture: 7 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: CaptureSnapshotReply received by actor 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries: AppendEntries [leaderId=leader226, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Number of entries to be appended = 1 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Append entry to log three 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Log size is now 4 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower227, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader226, ServerConfigPayload=null] 10:54:58,689 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower227: Lagging 0 entries behind leader leader226 and reached 1 (of expected -1) 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower227 updated: matchIndex: 3, nextIndex: 4 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Setting last applied to 3 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from 2 to 3 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Applying state for log index 3 data three 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: applyState called: three 10:54:58,689 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 10:54:58,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persisting ApplyJournalEntries with index=3 10:54:58,690 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:54:58,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Snapshot success - sequence number: 7 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:58,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: SnapshotComplete received 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Persisting ApplyJournalEntries with index=1 10:54:58,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: handled a snapshot response 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Commit index set to 3 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower227: Lagging 0 entries behind leader leader226 and reached 3 (of expected -1) 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Setting last applied to 2 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Moving last applied index from 1 to 2 10:54:58,690 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Applying state for log index 2 data two 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: applyState called: two 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227 (Follower): Setting last applied to 3 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Moving last applied index from 2 to 3 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Applying state for log index 3 data three 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: applyState called: three 10:54:58,691 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: handled a journal response 10:54:58,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower227: Persisting ApplyJournalEntries with index=3 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:58,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:54:58,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 [WARN] [08/08/2025 10:54:58.750] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower227] received dead letter from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [08/08/2025 10:54:58.750] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:54:58,767 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [08/08/2025 10:54:58.768] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [08/08/2025 10:54:58.781] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:58,820 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:54:58,821 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] [WARN] [08/08/2025 10:54:58.821] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,902 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:58,902 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour]]] [WARN] [08/08/2025 10:54:58.902] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower227] received dead letter from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour]]] [WARN] [08/08/2025 10:54:58.902] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,946 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:54:58,946 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:54:58,946 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 10:54:58,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower227: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:54:58,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:58,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Checking sendAppendEntries for follower follower228: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [08/08/2025 10:54:58.947] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:58,948 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:54:59,21 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): sendAppendEntries: 4 is present for follower follower227 10:54:59,21 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Sending AppendEntries to follower follower227: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour], SimpleReplicatedLogEntry [index=5, term=1, payload=newFive]]] [WARN] [08/08/2025 10:54:59.022] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower227] received dead letter from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour], SimpleReplicatedLogEntry [index=5, term=1, payload=newFive]]] [WARN] [08/08/2025 10:54:59.022] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader226]: AppendEntries [leaderId=leader226, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/08/2025 10:54:59.062] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader226]: org.opendaylight.controller.cluster.common.actor.Monitor@3dfe1833 10:54:59,63 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader226 with journal batch size 1000 10:54:59,63 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: SnapshotOffer called. 10:54:59,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from -1 to 2 10:54:59,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Set currentTerm=1, votedFor=leader226 10:54:59,64 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader226 in 136.4 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received apply journal entries for recovery, applying to state: 3 to 2 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from 2 to 2 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received apply journal entries for recovery, applying to state: 3 to 3 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Moving last applied index from 2 to 3 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:54:59,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received ReplicatedLogEntry for recovery: index: 5, size: 4 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received ReplicatedLogEntry for recovery: index: 4, size: 7 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Received ReplicatedLogEntry for recovery: index: 5, size: 7 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Recovery completed in 3.201 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Follower): Received TimeoutNow - switching to Candidate 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Election: Candidate has following voting peers: [] 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226: Set currentTerm=2, votedFor=leader226 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Starting new election term 2 10:54:59,67 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:54:59,68 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower227-collector229#1529914725] 10:54:59,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate): Received ElectionTimeout 10:54:59,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Leader): Election: Leader has following peers: [] 10:54:59,68 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader226 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:54:59,79 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower227] 10:54:59,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader226-collector230#-1736613018] 10:54:59,80 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader226] 10:54:59,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader226-collector231#-545656661] 10:54:59,81 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader226] [WARN] [08/08/2025 10:54:59.084] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower233]: org.opendaylight.controller.cluster.common.actor.Monitor@89817fd 10:54:59,84 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower233 with journal batch size 1000 10:54:59,86 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [08/08/2025 10:54:59.086] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader232]: org.opendaylight.controller.cluster.common.actor.Monitor@53e16c50 10:54:59,86 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader232 with journal batch size 1000 10:54:59,87 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.134:25520, Removed) 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Follower): Received ElectionTimeout - switching to Candidate 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Election: Candidate has following voting peers: [follower234, follower233] 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Set currentTerm=1, votedFor=leader232 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Starting new election term 1 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Sending RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1] to peer follower234 10:54:59,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Sending RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1] to peer follower233 10:54:59,583 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Cluster state: [] 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Set currentTerm=1, votedFor=null [WARN] [08/08/2025 10:54:59.583] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1] 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): In requestVote: RequestVote [term=1, candidateId=leader232, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Set currentTerm=1, votedFor=leader232 10:54:59,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Election: Leader has following peers: [follower234, follower233] 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:54:59,584 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [08/08/2025 10:54:59.584] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower233 updated: matchIndex: -1, nextIndex: 0 10:54:59,585 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower233: Last sync leader does not match current leader leader232, need to catch up to -1 10:54:59,585 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/08/2025 10:54:59.585] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower233] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7748ed4d 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 0 is present for follower follower233 10:54:59,593 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [08/08/2025 10:54:59.593] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:54:59,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Number of entries to be appended = 1 10:54:59,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:54:59,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Append entry to log zero 10:54:59,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:59,594 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Log size is now 1 10:54:59,594 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower233, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:54:59,594 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower233: Lagging 0 entries behind leader leader232 and reached -1 (of expected -1) 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower233 updated: matchIndex: 0, nextIndex: 1 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Setting last applied to 0 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from -1 to 0 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Applying state for log index 0 data zero 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: applyState called: zero 10:54:59,594 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persisting ApplyJournalEntries with index=0 10:54:59,594 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/08/2025 10:54:59.595] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower233] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@216534bc 10:54:59,643 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:59,643 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:59,644 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:54:59,644 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:59,644 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:59,644 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 1 is present for follower follower233 10:54:59,644 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [08/08/2025 10:54:59.644] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries: AppendEntries [leaderId=leader232, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Number of entries to be appended = 1 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Append entry to log one 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Log size is now 2 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Commit index set to 0 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower233, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower233: Lagging 0 entries behind leader leader232 and reached 0 (of expected -1) 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Setting last applied to 0 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Moving last applied index from -1 to 0 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Applying state for log index 0 data zero 10:54:59,644 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower233 updated: matchIndex: 1, nextIndex: 2 10:54:59,644 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: applyState called: zero 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Setting last applied to 1 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from 0 to 1 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Applying state for log index 1 data one 10:54:59,645 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: applyState called: one 10:54:59,645 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Persisting ApplyJournalEntries with index=0 10:54:59,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persisting ApplyJournalEntries with index=1 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 10:54:59,694 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [08/08/2025 10:54:59.695] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower234: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [08/08/2025 10:54:59.695] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:54:59,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 [WARN] [08/08/2025 10:54:59.695] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:54:59,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:54:59,696 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 10:54:59,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: lastSequenceNumber prior to capture: 7 10:54:59,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: CaptureSnapshotReply received by actor 10:54:59,697 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader232, ServerConfigPayload=null] 10:54:59,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:54:59,697 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:54:59,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:54:59,697 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:54:59,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Snapshot success - sequence number: 7 10:54:59,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: SnapshotComplete received 10:54:59,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: handled a snapshot response 10:54:59,698 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: handled a journal response [WARN] [08/08/2025 10:54:59.702] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,822 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 10:54:59,822 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [08/08/2025 10:54:59.822] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:54:59,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 10:54:59,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [08/08/2025 10:54:59.942] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/08/2025 10:55:00.062] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader232]: AppendEntries [leaderId=leader232, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:00,62 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower233: Lagging -1 entries behind leader leader232 and reached 0 (of expected -1) 10:55:00,62 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower233, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 417, lastApplied : 1, commitIndex : 1 10:55:00,62 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): sendAppendEntries: 2 is present for follower follower233 10:55:00,62 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Sending AppendEntries to follower follower233: AppendEntries [leaderId=leader232, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries: AppendEntries [leaderId=leader232, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Number of entries to be appended = 3 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Append entry to log two 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Append entry to log three 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Append entry to log four 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Log size is now 5 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Commit index set to 1 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower233, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower233: Lagging 0 entries behind leader leader232 and reached 1 (of expected -1) 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Setting last applied to 1 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Moving last applied index from 0 to 1 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Applying state for log index 1 data one 10:55:00,63 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower233 updated: matchIndex: 4, nextIndex: 5 10:55:00,63 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:55:00,63 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Setting last applied to 2 10:55:00,63 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from 1 to 2 10:55:00,63 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Applying state for log index 2 data two 10:55:00,63 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: applyState called: one 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: applyState called: two 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Setting last applied to 3 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from 2 to 3 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Applying state for log index 3 data three 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: applyState called: three 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Setting last applied to 4 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from 3 to 4 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Applying state for log index 4 data four 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: applyState called: four 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Checking sendAppendEntries for follower follower233: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:55:00,64 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Persisting ApplyJournalEntries with index=4 10:55:00,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:00,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:00,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Persisting ApplyJournalEntries with index=1 10:55:00,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Commit index set to 4 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower233: Lagging 0 entries behind leader leader232 and reached 4 (of expected -1) 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Setting last applied to 2 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Moving last applied index from 1 to 2 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Applying state for log index 2 data two 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: applyState called: two 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Setting last applied to 3 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Moving last applied index from 2 to 3 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Applying state for log index 3 data three 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: applyState called: three 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233 (Follower): Setting last applied to 4 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Moving last applied index from 3 to 4 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Applying state for log index 4 data four 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: applyState called: four 10:55:00,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower233: Persisting ApplyJournalEntries with index=4 [WARN] [08/08/2025 10:55:00.112] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader232]: org.opendaylight.controller.cluster.common.actor.Monitor@3d8ab708 10:55:00,113 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader232 with journal batch size 1000 10:55:00,113 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: SnapshotOffer called. 10:55:00,113 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from -1 to 1 10:55:00,113 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Set currentTerm=1, votedFor=leader232 10:55:00,114 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader232 in 153.5 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 10:55:00,115 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:55:00,116 AM [test-akka.actor.default-dispatcher-11] [WARN] AbstractReplicatedLogImpl - leader232: Cannot append new entry - new index 4 is not greater than the last index 4 java.lang.Exception: stack trace at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.append(AbstractReplicatedLogImpl.java:133) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.onRecoveredJournalLogEntry(RaftActorRecoverySupport.java:181) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.handleRecoveryMessage(RaftActorRecoverySupport.java:67) at org.opendaylight.controller.cluster.raft.RaftActor.handleRecover(RaftActor.java:157) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:214) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:213) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.apply(PartialFunction.scala:266) at akka.persistence.Eventsourced$$anon$2$$anonfun$1.applyOrElse(Eventsourced.scala:639) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:295) at akka.persistence.Eventsourced$$anon$3.stateReceive(Eventsourced.scala:756) at akka.persistence.Eventsourced.aroundReceive(Eventsourced.scala:245) at akka.persistence.Eventsourced.aroundReceive$(Eventsourced.scala:244) at akka.persistence.AbstractPersistentActor.aroundReceive(PersistentActor.scala:295) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) at akka.actor.ActorCell.invoke(ActorCell.scala:547) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) at akka.dispatch.Mailbox.run(Mailbox.scala:231) at akka.dispatch.Mailbox.exec(Mailbox.scala:243) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) 10:55:00,116 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Received apply journal entries for recovery, applying to state: 2 to 4 10:55:00,116 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Moving last applied index from 1 to 4 10:55:00,116 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Recovery completed in 2.640 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:55:00,116 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower233-collector235#1069086277] 10:55:00,117 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Follower): Received TimeoutNow - switching to Candidate 10:55:00,117 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Election: Candidate has following voting peers: [] 10:55:00,117 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232: Set currentTerm=2, votedFor=leader232 10:55:00,117 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Starting new election term 2 10:55:00,117 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:55:00,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate): Received ElectionTimeout 10:55:00,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Leader): Election: Leader has following peers: [] 10:55:00,118 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader232 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:55:00,128 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower233] 10:55:00,128 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader232-collector236#-1392354478] 10:55:00,128 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader232] 10:55:00,128 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader232-collector237#-2025781856] 10:55:00,129 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader232] [WARN] [08/08/2025 10:55:00.131] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower239]: org.opendaylight.controller.cluster.common.actor.Monitor@3016ae88 10:55:00,132 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower239 with journal batch size 1000 10:55:00,133 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [08/08/2025 10:55:00.133] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader238]: org.opendaylight.controller.cluster.common.actor.Monitor@48bc1441 10:55:00,134 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader238 with journal batch size 1000 10:55:00,135 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:55:00,611 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:55:00,611 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.134:25520, Removed) 10:55:00,611 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Follower): Received ElectionTimeout - switching to Candidate 10:55:00,611 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): Election: Candidate has following voting peers: [follower239, follower240] 10:55:00,612 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Set currentTerm=1, votedFor=leader238 10:55:00,612 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): Starting new election term 1 10:55:00,612 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): Sending RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1] to peer follower239 10:55:00,612 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): Sending RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1] to peer follower240 10:55:00,612 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:55:00,612 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:55:00,612 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Cluster state: [] 10:55:00,612 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:55:00,612 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:55:00,612 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=null [WARN] [08/08/2025 10:55:00.612] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader238]: RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1] 10:55:00,613 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): In requestVote: RequestVote [term=1, candidateId=leader238, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:55:00,613 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=leader238 10:55:00,613 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:55:00,613 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:55:00,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:55:00,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Election: Leader has following peers: [follower239, follower240] 10:55:00,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:55:00,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:55:00,614 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [08/08/2025 10:55:00.614] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader238]: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:00,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower239: Last sync leader does not match current leader leader238, need to catch up to -1 10:55:00,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: -1, nextIndex: 0 10:55:00,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/08/2025 10:55:00.615] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower239] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@29dc7510 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): sendAppendEntries: 0 is present for follower follower239 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Sending AppendEntries to follower follower239: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Number of entries to be appended = 1 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log zero 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/08/2025 10:55:00.641] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader238]: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Log size is now 1 10:55:00,641 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower239, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,642 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower239: Lagging 0 entries behind leader leader238 and reached -1 (of expected -1) 10:55:00,642 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: 0, nextIndex: 1 10:55:00,642 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Setting last applied to 0 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Moving last applied index from -1 to 0 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Applying state for log index 0 data zero 10:55:00,643 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: applyState called: zero [WARN] [08/08/2025 10:55:00.643] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower239] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f436c3f 10:55:00,643 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persisting ApplyJournalEntries with index=0 10:55:00,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,692 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:55:00,692 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:00,692 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): sendAppendEntries: 1 is present for follower follower239 10:55:00,692 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Sending AppendEntries to follower follower239: AppendEntries [leaderId=leader238, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:55:00,692 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries: AppendEntries [leaderId=leader238, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [08/08/2025 10:55:00.692] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader238]: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Number of entries to be appended = 1 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log one 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Log size is now 2 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Commit index set to 0 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower239, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower239: Lagging 0 entries behind leader leader238 and reached 0 (of expected -1) 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 0 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from -1 to 0 10:55:00,692 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 0 data zero 10:55:00,693 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: zero 10:55:00,693 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: 1, nextIndex: 2 10:55:00,693 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:00,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:55:00,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Setting last applied to 1 10:55:00,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Moving last applied index from 0 to 1 10:55:00,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Applying state for log index 1 data one 10:55:00,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Persisting ApplyJournalEntries with index=0 10:55:00,694 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: applyState called: one 10:55:00,694 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persisting ApplyJournalEntries with index=1 [WARN] [08/08/2025 10:55:00.732] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader238]: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/08/2025 10:55:00.744] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower240]: org.opendaylight.controller.cluster.common.actor.Monitor@6229045d 10:55:00,746 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower240 with journal batch size 1000 10:55:00,748 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:55:00,845 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower240 set to akka://test/user/follower240 10:55:00,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): sendAppendEntries: 2 is present for follower follower239 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Sending AppendEntries to follower follower239: AppendEntries [leaderId=leader238, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Term 1 in "AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries: AppendEntries [leaderId=leader238, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:55:00,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Set currentTerm=1, votedFor=null 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Number of entries to be appended = 1 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log two 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,846 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower240 updated: matchIndex: -1, nextIndex: 0 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Log size is now 3 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Commit index set to 1 10:55:00,846 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:00,846 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): sendAppendEntries: 0 is present for follower follower240 10:55:00,846 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Sending AppendEntries to follower follower240: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower239, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower239: Lagging 0 entries behind leader leader238 and reached 1 (of expected -1) 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 1 10:55:00,846 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: 2, nextIndex: 3 10:55:00,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from 0 to 1 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 1 data one 10:55:00,847 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:00,847 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower240: Last sync leader does not match current leader leader238, need to catch up to -1 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: one 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Setting last applied to 2 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Moving last applied index from 1 to 2 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Applying state for log index 2 data two 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: applyState called: two 10:55:00,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persisting ApplyJournalEntries with index=2 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): handleAppendEntries: AppendEntries [leaderId=leader238, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Number of entries to be appended = 3 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Append entry to log zero 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Append entry to log one 10:55:00,848 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Append entry to log two 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Log size is now 3 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Commit index set to 1 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower240, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower240: Lagging 0 entries behind leader leader238 and reached 1 (of expected -1) 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Setting last applied to 0 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Moving last applied index from -1 to 0 10:55:00,848 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower240 updated: matchIndex: 2, nextIndex: 3 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Applying state for log index 0 data zero 10:55:00,848 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: fakeSnapshot purging log to 1 for term 1 10:55:00,848 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: applyState called: zero 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Setting last applied to 1 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Moving last applied index from 0 to 1 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Applying state for log index 1 data one 10:55:00,848 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: applyState called: one 10:55:00,848 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Persisting ApplyJournalEntries with index=1 10:55:00,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:00,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:00,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Commit index set to 2 [WARN] [08/08/2025 10:55:00.849] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower240] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5dc9a4c3 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower240: Lagging 0 entries behind leader leader238 and reached 2 (of expected -1) 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Setting last applied to 2 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Moving last applied index from 1 to 2 10:55:00,849 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Applying state for log index 2 data two 10:55:00,850 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: applyState called: two 10:55:00,850 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: fakeSnapshot purging log to 1 for term 1 10:55:00,850 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Persisting ApplyJournalEntries with index=1 10:55:00,850 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Persisting ApplyJournalEntries with index=2 [WARN] [08/08/2025 10:55:00.850] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower240] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7548687c [WARN] [08/08/2025 10:55:00.909] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower240]: org.opendaylight.controller.cluster.common.actor.Monitor@7d8062bd 10:55:00,910 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower240 with journal batch size 1000 10:55:00,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower240 set to akka://test/user/follower240 10:55:00,911 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:55:00,972 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Term 1 in "AppendEntries [leaderId=leader238, prevLogIndex=2, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 10:55:00,972 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Set currentTerm=1, votedFor=null 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Commit index set to 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): The followers log is empty and the senders prevLogIndex is 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower239: Lagging 0 entries behind leader leader238 and reached 2 (of expected -1) 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower240, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower240: Last sync leader does not match current leader leader238, need to catch up to 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from 1 to 2 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 2 data two 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: two 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: fakeSnapshot purging log to 1 for term 1 10:55:00,972 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower240, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:55:00,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower240 updated: matchIndex: -1, nextIndex: 0 10:55:00,972 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): follower follower240 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:55:00,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Checking sendAppendEntries for follower follower240: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:55:00,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Persisting ApplyJournalEntries with index=2 10:55:00,973 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Initiating install snapshot to follower follower240: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 10:55:00,973 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower240 10:55:00,973 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: lastSequenceNumber prior to capture: 7 [WARN] [08/08/2025 10:55:00.973] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower240] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72aed8c2 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: CaptureSnapshotReply received by actor 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader238, ServerConfigPayload=null] 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): sendInstallSnapshot 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader238 (Leader): Snapshot 345 bytes, total chunks to send: 1 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader238 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): next snapshot chunk size for follower follower240: 345 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): InstallSnapshot sent to follower Vector(user, follower240), Chunk: 1/1 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: Snapshot success - sequence number: 7 10:55:00,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: SnapshotComplete received 10:55:00,974 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: handled a snapshot response 10:55:00,975 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 10:55:00,975 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower240, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:00,975 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader238, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 10:55:00,975 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:55:00,975 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Snapshot installed from leader: leader238 10:55:00,975 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower240, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:55:00,975 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): follower follower240 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:55:00,975 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238: handled a journal response 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): Converted InstallSnapshot from leader: leader238 to state 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=null, ServerConfigPayload=null] 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Snapshot success - sequence number: 1 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Moving last applied index from -1 to 2 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Set currentTerm=1, votedFor=null 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: applySnapshot called 10:55:00,976 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower240, chunkIndex=1, success=true] 10:55:00,976 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower240, chunkIndex=1, success=true] 10:55:00,977 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader238 (Leader): Snapshot successfully installed on follower follower240 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 10:55:00,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: SnapshotComplete received 10:55:00,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: handled a snapshot response 10:55:00,977 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: handled a journal response [WARN] [08/08/2025 10:55:01.023] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower240]: org.opendaylight.controller.cluster.common.actor.Monitor@4386e5a1 10:55:01,25 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower240 with journal batch size 1000 10:55:01,25 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: SnapshotOffer called. 10:55:01,25 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Moving last applied index from -1 to 2 10:55:01,25 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Set currentTerm=1, votedFor=null 10:55:01,25 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower240 in 191.3 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 10:55:01,26 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower240: Recovery completed in 1.249 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 10:55:01,27 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower239-collector241#651579742] 10:55:01,38 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower239] 10:55:01,38 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader238-collector242#1070796794] 10:55:01,38 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader238] 10:55:01,38 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower240-collector243#1485938760] 10:55:01,38 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower240] 10:55:01,39 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower240-collector244#-1461366056] 10:55:01,39 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower240] 10:55:01,39 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower240-collector245#1151176973] 10:55:01,39 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower240] [WARN] [08/08/2025 10:55:01.042] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower247]: org.opendaylight.controller.cluster.common.actor.Monitor@3dc388bf 10:55:01,43 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower247 with journal batch size 1000 10:55:01,44 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:55:01,46 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader246 with journal batch size 1000 [WARN] [08/08/2025 10:55:01.047] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader246]: org.opendaylight.controller.cluster.common.actor.Monitor@2a9f12b6 10:55:01,47 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.134:25520, Removed) 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Follower): Received ElectionTimeout - switching to Candidate 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Election: Candidate has following voting peers: [follower248, follower247] 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Set currentTerm=1, votedFor=leader246 10:55:01,491 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Starting new election term 1 10:55:01,492 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Sending RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1] to peer follower248 10:55:01,492 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Sending RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1] to peer follower247 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Cluster state: [] 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Set currentTerm=1, votedFor=null [WARN] [08/08/2025 10:55:01.492] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1] 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): In requestVote: RequestVote [term=1, candidateId=leader246, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Set currentTerm=1, votedFor=leader246 10:55:01,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:55:01,493 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:55:01,493 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:55:01,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:55:01,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Election: Leader has following peers: [follower248, follower247] 10:55:01,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/08/2025 10:55:01.494] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:55:01,494 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower247: Last sync leader does not match current leader leader246, need to catch up to -1 [WARN] [08/08/2025 10:55:01.494] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower247] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24601c2e 10:55:01,494 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:55:01,495 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower247 updated: matchIndex: -1, nextIndex: 0 10:55:01,495 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 0 is present for follower follower247 10:55:01,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [08/08/2025 10:55:01.503] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Number of entries to be appended = 1 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Append entry to log zero 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Log size is now 1 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower247, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:01,504 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower247: Lagging 0 entries behind leader leader246 and reached -1 (of expected -1) 10:55:01,505 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/08/2025 10:55:01.505] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower247] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c181f38 10:55:01,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower247 updated: matchIndex: 0, nextIndex: 1 10:55:01,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:55:01,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:55:01,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:55:01,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Setting last applied to 0 10:55:01,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from -1 to 0 10:55:01,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Applying state for log index 0 data zero 10:55:01,506 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: applyState called: zero 10:55:01,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persisting ApplyJournalEntries with index=0 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 1 is present for follower follower247 10:55:01,554 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries: AppendEntries [leaderId=leader246, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Number of entries to be appended = 1 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Append entry to log one [WARN] [08/08/2025 10:55:01.555] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Log size is now 2 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Commit index set to 0 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower247, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower247: Lagging 0 entries behind leader leader246 and reached 0 (of expected -1) 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Setting last applied to 0 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Moving last applied index from -1 to 0 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Applying state for log index 0 data zero 10:55:01,555 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: applyState called: zero 10:55:01,556 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:01,556 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Persisting ApplyJournalEntries with index=0 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower247 updated: matchIndex: 1, nextIndex: 2 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Setting last applied to 1 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from 0 to 1 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Applying state for log index 1 data one 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: applyState called: one 10:55:01,557 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persisting ApplyJournalEntries with index=1 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 10:55:01,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:55:01,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 [WARN] [08/08/2025 10:55:01.606] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/08/2025 10:55:01.606] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,606 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:01,607 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:01,607 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 10:55:01,607 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: lastSequenceNumber prior to capture: 7 [WARN] [08/08/2025 10:55:01.612] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,731 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 10:55:01,732 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [08/08/2025 10:55:01.732] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 10:55:01,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [08/08/2025 10:55:01.852] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower248: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:55:01,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 [WARN] [08/08/2025 10:55:01.858] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,858 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:01,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower247: Lagging -1 entries behind leader leader246 and reached 0 (of expected -1) [WARN] [08/08/2025 10:55:01.972] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader246]: AppendEntries [leaderId=leader246, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:55:01,972 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower247, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 415, lastApplied : 1, commitIndex : 1 10:55:01,972 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): sendAppendEntries: 2 is present for follower follower247 10:55:01,972 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Sending AppendEntries to follower follower247: AppendEntries [leaderId=leader246, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries: AppendEntries [leaderId=leader246, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Number of entries to be appended = 3 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Append entry to log two 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Append entry to log three 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Append entry to log four 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Log size is now 5 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Commit index set to 1 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower247, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower247: Lagging 0 entries behind leader leader246 and reached 1 (of expected -1) 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Setting last applied to 1 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Moving last applied index from 0 to 1 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Applying state for log index 1 data one 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower247 updated: matchIndex: 4, nextIndex: 5 10:55:01,973 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: applyState called: one 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Setting last applied to 2 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from 1 to 2 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Applying state for log index 2 data two 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: applyState called: two 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Setting last applied to 3 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from 2 to 3 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Applying state for log index 3 data three 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: applyState called: three 10:55:01,973 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Setting last applied to 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from 3 to 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Applying state for log index 4 data four 10:55:01,974 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: applyState called: four 10:55:01,974 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Checking sendAppendEntries for follower follower247: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:55:01,974 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persisting ApplyJournalEntries with index=4 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Persisting ApplyJournalEntries with index=1 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Commit index set to 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower247: Lagging 0 entries behind leader leader246 and reached 4 (of expected -1) 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Setting last applied to 2 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Moving last applied index from 1 to 2 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Applying state for log index 2 data two 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: applyState called: two 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Setting last applied to 3 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Moving last applied index from 2 to 3 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Applying state for log index 3 data three 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: applyState called: three 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247 (Follower): Setting last applied to 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Moving last applied index from 3 to 4 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Applying state for log index 4 data four 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: applyState called: four 10:55:01,974 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower247: Persisting ApplyJournalEntries with index=4 10:55:02,8 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: CaptureSnapshotReply received by actor 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader246, ServerConfigPayload=null] 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Snapshot success - sequence number: 7 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: SnapshotComplete received 10:55:02,9 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: handled a snapshot response 10:55:02,10 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: handled a journal response [WARN] [08/08/2025 10:55:02.072] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader246]: org.opendaylight.controller.cluster.common.actor.Monitor@48a083a3 10:55:02,73 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader246 with journal batch size 1000 10:55:02,73 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: SnapshotOffer called. 10:55:02,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from -1 to 1 10:55:02,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Set currentTerm=1, votedFor=leader246 10:55:02,74 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader246 in 152.5 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 10:55:02,75 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:55:02,75 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Received apply journal entries for recovery, applying to state: 2 to 4 10:55:02,75 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Moving last applied index from 1 to 4 10:55:02,76 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Recovery completed in 1.964 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:55:02,76 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower247-collector249#876461757] 10:55:02,76 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Follower): Received TimeoutNow - switching to Candidate 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Election: Candidate has following voting peers: [] 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246: Set currentTerm=2, votedFor=leader246 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Starting new election term 2 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate): Received ElectionTimeout 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Leader): Election: Leader has following peers: [] 10:55:02,77 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader246 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:55:02,87 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower247] 10:55:02,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader246-collector250#-1249511278] 10:55:02,87 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader246] 10:55:02,88 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader246-collector251#-141139971] 10:55:02,88 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader246] 10:55:02,90 AM [test-akka.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [08/08/2025 10:55:02.090] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/08/2025 10:55:02.091] [test-akka.actor.default-dispatcher-5] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.134:25520) [INFO] [08/08/2025 10:55:02.092] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Exiting completed [INFO] [08/08/2025 10:55:02.092] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Shutting down... 10:55:02,93 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Exiting completed 10:55:02,93 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Shutting down... 10:55:02,93 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.134:25520] - Successfully shut down [INFO] [08/08/2025 10:55:02.092] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.134:25520] - Successfully shut down [INFO] [08/08/2025 10:55:02.094] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.134:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [08/08/2025 10:55:02.094] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.134:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:55:02,95 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 10:55:02,95 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/08/2025 10:55:02.097] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.134:25520/system/remoting-terminator] Remoting shut down.