[DEBUG] [11/01/2025 00:42:42.016] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:42:42,16 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/01/2025 00:42:42.017] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [11/01/2025 00:42:42.017] [main] [EventStream(akka://test)] Default Loggers started [INFO] [11/01/2025 00:42:42.036] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.14:25520] with UID [3496767271547399335] 12:42:42,36 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.14:25520] with UID [3496767271547399335] [INFO] [11/01/2025 00:42:42.037] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Starting up, Akka version [2.6.21] ... 12:42:42,37 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Starting up, Akka version [2.6.21] ... [INFO] [11/01/2025 00:42:42.040] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:42:42,40 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [11/01/2025 00:42:42.040] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Started up successfully 12:42:42,40 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Started up successfully [INFO] [11/01/2025 00:42:42.041] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [11/01/2025 00:42:42.041] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:42:42,41 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:42:42,42 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [11/01/2025 00:42:42.057] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower226]: org.opendaylight.controller.cluster.common.actor.Monitor@264cfcf3 [INFO] [akkaDeadLetter][11/01/2025 00:42:42.057] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower226] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,58 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower226] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,58 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower226 with journal batch size 1000 [WARN] [11/01/2025 00:42:42.059] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader225]: org.opendaylight.controller.cluster.common.actor.Monitor@412b6b0f [INFO] [akkaDeadLetter][11/01/2025 00:42:42.059] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader225] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,59 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader225] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,59 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader225 with journal batch size 1000 12:42:42,64 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:42:42,65 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:42:42,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:42:42,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:42:42,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Follower): Received ElectionTimeout - switching to Candidate 12:42:42,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Election: Candidate has following voting peers: [follower227, follower226] 12:42:42,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Set currentTerm=1, votedFor=leader225 12:42:42,499 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Starting new election term 1 12:42:42,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Sending RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1] to peer follower227 12:42:42,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Sending RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1] to peer follower226 12:42:42,499 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 [WARN] [11/01/2025 00:42:42.499] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1] 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Cluster state: [] 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Set currentTerm=1, votedFor=null 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): In requestVote: RequestVote [term=1, candidateId=leader225, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:42:42,499 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Set currentTerm=1, votedFor=leader225 [INFO] [akkaDeadLetter][11/01/2025 00:42:42.499] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader225] 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'. 12:42:42,500 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:42:42,500 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader225] 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'. 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Election: Leader has following peers: [follower227, follower226] 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:42,501 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [11/01/2025 00:42:42.501] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,502 AM [test-akka.actor.default-dispatcher-17] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. [INFO] [akkaDeadLetter][11/01/2025 00:42:42.502] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,502 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower226: Last sync leader does not match current leader leader225, need to catch up to -1 12:42:42,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower226 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/01/2025 00:42:42.502] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower226] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6191a782 [INFO] [akkaDeadLetter][11/01/2025 00:42:42.502] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower226] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower226] 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'. 12:42:42,502 AM [test-akka.actor.default-dispatcher-14] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower226] 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'. 12:42:42,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:42,512 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:42,512 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:42,512 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:42:42,513 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:42,513 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:42,513 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 0 is present for follower follower226 [WARN] [11/01/2025 00:42:42.513] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,513 AM [test-akka.actor.default-dispatcher-17] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. [INFO] [akkaDeadLetter][11/01/2025 00:42:42.513] [test-akka.actor.default-dispatcher-17] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,513 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Number of entries to be appended = 1 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Append entry to log zero 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Log size is now 1 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower226, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:42,513 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached -1 (of expected -1) 12:42:42,514 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower226 updated: matchIndex: 0, nextIndex: 1 12:42:42,514 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:42,514 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/01/2025 00:42:42.514] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower226] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5258242e [INFO] [akkaDeadLetter][11/01/2025 00:42:42.515] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower226] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower226] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,515 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower226] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Setting last applied to 0 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from -1 to 0 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Applying state for log index 0 data zero 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: applyState called: zero 12:42:42,515 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persisting ApplyJournalEntries with index=0 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 1 is present for follower follower226 12:42:42,563 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries: AppendEntries [leaderId=leader225, 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] [11/01/2025 00:42:42.564] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Number of entries to be appended = 1 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Append entry to log one 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:42,564 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Log size is now 2 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Commit index set to 0 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower226, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 0 (of expected -1) 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:42:42,564 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Setting last applied to 0 12:42:42,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Moving last applied index from -1 to 0 12:42:42,565 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/leader225] 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'. [INFO] [akkaDeadLetter][11/01/2025 00:42:42.564] [test-akka.actor.default-dispatcher-17] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Applying state for log index 0 data zero 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower226 updated: matchIndex: 1, nextIndex: 2 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Setting last applied to 1 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from 0 to 1 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Applying state for log index 1 data one 12:42:42,565 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: applyState called: zero 12:42:42,565 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: applyState called: one 12:42:42,566 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Persisting ApplyJournalEntries with index=0 12:42:42,566 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persisting ApplyJournalEntries with index=1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Commit index set to 1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 1 (of expected -1) 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Setting last applied to 1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Moving last applied index from 0 to 1 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Applying state for log index 1 data one 12:42:42,566 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: applyState called: one 12:42:42,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Persisting ApplyJournalEntries with index=1 12:42:42,613 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:42,613 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:42,613 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 2 is present for follower follower226 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries: AppendEntries [leaderId=leader225, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:42,614 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/leader225] 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'. 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Number of entries to be appended = 1 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Append entry to log two 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Log size is now 3 [WARN] [11/01/2025 00:42:42.614] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower226, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [INFO] [akkaDeadLetter][11/01/2025 00:42:42.614] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:42,614 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 1 (of expected -1) 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:42,614 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 2 is present for follower follower226 12:42:42,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower226 updated: matchIndex: 2, nextIndex: 3 [WARN] [11/01/2025 00:42:42.615] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:42,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 3 is present for follower follower226 12:42:42,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [INFO] [akkaDeadLetter][11/01/2025 00:42:42.615] [test-akka.actor.default-dispatcher-14] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,615 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader225] 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'. 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Setting last applied to 2 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from 1 to 2 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Applying state for log index 2 data two 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries: AppendEntries [leaderId=leader225, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Number of entries to be appended = 1 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Append entry to log three 12:42:42,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:42,616 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: applyState called: two 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Log size is now 4 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower226, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 1 (of expected -1) 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persisting ApplyJournalEntries with index=2 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower226 updated: matchIndex: 3, nextIndex: 4 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Commit index set to 2 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 2 (of expected -1) 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Setting last applied to 2 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Moving last applied index from 1 to 2 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Applying state for log index 2 data two 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: lastSequenceNumber prior to capture: 7 12:42:42,617 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: applyState called: two 12:42:42,617 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Setting last applied to 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from 2 to 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Applying state for log index 3 data three 12:42:42,618 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Persisting ApplyJournalEntries with index=2 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: applyState called: three 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Commit index set to 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: CaptureSnapshotReply received by actor 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower226: Lagging 0 entries behind leader leader225 and reached 3 (of expected -1) 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226 (Follower): Setting last applied to 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Moving last applied index from 2 to 3 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Applying state for log index 3 data three [WARN] [11/01/2025 00:42:42.618] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: applyState called: three 12:42:42,618 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: 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=leader225, ServerConfigPayload=null] 12:42:42,618 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:42:42,618 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower226: Persisting ApplyJournalEntries with index=3 12:42:42,618 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persisting ApplyJournalEntries with index=3 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Snapshot success - sequence number: 7 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: SnapshotComplete received 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: handled a snapshot response 12:42:42,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: handled a journal response 12:42:42,676 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:42,676 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:42,676 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:42:42,676 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:42:42,677 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:42:42,677 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 12:42:42,677 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, 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] [11/01/2025 00:42:42.677] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:42:42.677] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower226] received dead letter from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 12:42:42,693 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [11/01/2025 00:42:42.693] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,694 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:42:42,738 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 [WARN] [11/01/2025 00:42:42.738] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,745 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:42:42,745 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:42:42,745 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 12:42:42,745 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:42:42,746 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:42:42,746 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 [WARN] [11/01/2025 00:42:42.746] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,746 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:42:42,859 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 [WARN] [11/01/2025 00:42:42.859] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,859 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, 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] [11/01/2025 00:42:42.860] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower226] received dead letter from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour]]] 12:42:42,882 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:42:42,882 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:42:42,882 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 12:42:42,882 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower227: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:42:42,883 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Checking sendAppendEntries for follower follower226: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:42:42,883 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 [WARN] [11/01/2025 00:42:42.883] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:42,888 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:42:42,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): sendAppendEntries: 4 is present for follower follower226 12:42:42,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Sending AppendEntries to follower follower226: AppendEntries [leaderId=leader225, 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] [11/01/2025 00:42:42.978] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:42:42.979] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower226] received dead letter from TestActor[akka://test/user/leader225]: AppendEntries [leaderId=leader225, 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] [11/01/2025 00:42:42.997] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader225]: org.opendaylight.controller.cluster.common.actor.Monitor@408352f6 12:42:42,998 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader225 with journal batch size 1000 12:42:42,998 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: SnapshotOffer called. 12:42:42,998 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from -1 to 2 12:42:42,998 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Set currentTerm=1, votedFor=leader225 12:42:42,998 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader225 in 210.3 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received apply journal entries for recovery, applying to state: 3 to 2 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from 2 to 2 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received apply journal entries for recovery, applying to state: 3 to 3 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Moving last applied index from 2 to 3 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received ReplicatedLogEntry for recovery: index: 5, size: 4 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received ReplicatedLogEntry for recovery: index: 4, size: 7 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Received ReplicatedLogEntry for recovery: index: 5, size: 7 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Recovery completed in 4.537 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 12:42:43,3 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower226-collector228#1658597858] 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Follower): Received TimeoutNow - switching to Candidate 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Election: Candidate has following voting peers: [] 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225: Set currentTerm=2, votedFor=leader225 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Starting new election term 2 12:42:43,3 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:42:43,4 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate): Received ElectionTimeout 12:42:43,5 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Leader): Election: Leader has following peers: [] 12:42:43,5 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader225 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:42:43,14 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower226] 12:42:43,14 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader225-collector229#-1162804117] 12:42:43,14 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader225] 12:42:43,15 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader225-collector230#23777036] 12:42:43,15 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader225] 12:42:43,19 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower232 with journal batch size 1000 [WARN] [11/01/2025 00:42:43.019] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower232]: org.opendaylight.controller.cluster.common.actor.Monitor@74e71f65 12:42:43,21 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:42:43.021] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader231]: org.opendaylight.controller.cluster.common.actor.Monitor@44cd6ed4 12:42:43,22 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader231 with journal batch size 1000 12:42:43,22 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:42:43,457 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Follower): Received ElectionTimeout - switching to Candidate 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Election: Candidate has following voting peers: [follower233, follower232] 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Set currentTerm=1, votedFor=leader231 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Starting new election term 1 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Sending RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1] to peer follower233 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Sending RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1] to peer follower232 12:42:43,458 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:42:43,458 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [11/01/2025 00:42:43.458] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1] 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Cluster state: [] 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Set currentTerm=1, votedFor=null 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): In requestVote: RequestVote [term=1, candidateId=leader231, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Set currentTerm=1, votedFor=leader231 12:42:43,459 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:42:43,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:42:43,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:42:43,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Election: Leader has following peers: [follower233, follower232] 12:42:43,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:42:43.461] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,461 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:43,461 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:42:43,461 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower232: Last sync leader does not match current leader leader231, need to catch up to -1 12:42:43,461 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower232 updated: matchIndex: -1, nextIndex: 0 12:42:43,461 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:42:43.461] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower232] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17b3ef0a 12:42:43,477 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:43,477 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:43,477 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:42:43,477 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:42:43.477] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,477 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:43,478 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 0 is present for follower follower232 12:42:43,478 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Number of entries to be appended = 1 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Append entry to log zero 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Log size is now 1 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower232, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:43,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower232: Lagging 0 entries behind leader leader231 and reached -1 (of expected -1) 12:42:43,478 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower232 updated: matchIndex: 0, nextIndex: 1 12:42:43,478 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:43,479 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/01/2025 00:42:43.479] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower232] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47a840a6 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Setting last applied to 0 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from -1 to 0 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Applying state for log index 0 data zero 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: applyState called: zero 12:42:43,480 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persisting ApplyJournalEntries with index=0 12:42:43,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:43,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:43,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:42:43.529] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 1 is present for follower follower232 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries: AppendEntries [leaderId=leader231, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Number of entries to be appended = 1 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Append entry to log one 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Log size is now 2 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Commit index set to 0 12:42:43,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower232, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:43,529 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower232 updated: matchIndex: 1, nextIndex: 2 12:42:43,529 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Setting last applied to 1 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from 0 to 1 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Applying state for log index 1 data one 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: applyState called: one 12:42:43,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persisting ApplyJournalEntries with index=1 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower232: Lagging 0 entries behind leader leader231 and reached 0 (of expected -1) 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Setting last applied to 0 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Moving last applied index from -1 to 0 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Applying state for log index 0 data zero 12:42:43,530 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: applyState called: zero 12:42:43,531 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:43,531 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Persisting ApplyJournalEntries with index=0 [WARN] [11/01/2025 00:42:43.578] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,579 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:43,579 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:43,579 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 [WARN] [11/01/2025 00:42:43.580] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:43,580 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 [WARN] [11/01/2025 00:42:43.580] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower233: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:42:43.581] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:42:43,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 12:42:43,581 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: lastSequenceNumber prior to capture: 7 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: CaptureSnapshotReply received by actor 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader231, ServerConfigPayload=null] 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:42:43,582 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Snapshot success - sequence number: 7 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: SnapshotComplete received 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: handled a snapshot response 12:42:43,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: handled a journal response 12:42:43,698 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 12:42:43,698 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, 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] [11/01/2025 00:42:43.698] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,818 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 12:42:43,818 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, 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] [11/01/2025 00:42:43.819] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:42:43.938] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader231]: AppendEntries [leaderId=leader231, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:43,938 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower232: Lagging -1 entries behind leader leader231 and reached 0 (of expected -1) 12:42:43,938 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower232, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 408, lastApplied : 1, commitIndex : 1 12:42:43,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): sendAppendEntries: 2 is present for follower follower232 12:42:43,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Sending AppendEntries to follower follower232: AppendEntries [leaderId=leader231, 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]]] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries: AppendEntries [leaderId=leader231, 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]]] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Number of entries to be appended = 3 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Append entry to log two 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Append entry to log three 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Append entry to log four 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Log size is now 5 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Commit index set to 1 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower232, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower232: Lagging 0 entries behind leader leader231 and reached 1 (of expected -1) 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Setting last applied to 1 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Moving last applied index from 0 to 1 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Applying state for log index 1 data one 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower232 updated: matchIndex: 4, nextIndex: 5 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 12:42:43,939 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: applyState called: one 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Setting last applied to 2 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from 1 to 2 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Applying state for log index 2 data two 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: applyState called: two 12:42:43,939 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Setting last applied to 3 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from 2 to 3 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Applying state for log index 3 data three 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: applyState called: three 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Setting last applied to 4 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from 3 to 4 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Applying state for log index 4 data four 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: applyState called: four 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Checking sendAppendEntries for follower follower232: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:42:43,940 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Persisting ApplyJournalEntries with index=4 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Persisting ApplyJournalEntries with index=1 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Commit index set to 4 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower232: Lagging 0 entries behind leader leader231 and reached 4 (of expected -1) 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Setting last applied to 2 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Moving last applied index from 1 to 2 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Applying state for log index 2 data two 12:42:43,941 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: applyState called: two 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Setting last applied to 3 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Moving last applied index from 2 to 3 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Applying state for log index 3 data three 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: applyState called: three 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232 (Follower): Setting last applied to 4 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Moving last applied index from 3 to 4 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Applying state for log index 4 data four 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: applyState called: four 12:42:43,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower232: Persisting ApplyJournalEntries with index=4 [WARN] [11/01/2025 00:42:43.994] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader231]: org.opendaylight.controller.cluster.common.actor.Monitor@61e1fea6 12:42:43,995 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader231 with journal batch size 1000 12:42:43,995 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: SnapshotOffer called. 12:42:43,995 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from -1 to 1 12:42:43,995 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Set currentTerm=1, votedFor=leader231 12:42:43,995 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader231 in 134.2 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 12:42:43,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:42:43,998 AM [test-akka.actor.default-dispatcher-17] [WARN] AbstractReplicatedLogImpl - leader231: 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:165) 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) 12:42:43,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Received apply journal entries for recovery, applying to state: 2 to 4 12:42:43,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Moving last applied index from 1 to 4 12:42:43,998 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Recovery completed in 3.034 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 12:42:43,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Follower): Received TimeoutNow - switching to Candidate 12:42:43,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Election: Candidate has following voting peers: [] 12:42:43,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231: Set currentTerm=2, votedFor=leader231 12:42:43,999 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Starting new election term 2 12:42:43,999 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:42:44,0 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate): Received ElectionTimeout 12:42:44,0 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Leader): Election: Leader has following peers: [] 12:42:44,0 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader231 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:42:44,94 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower232-collector234#259252458] 12:42:44,105 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower232] 12:42:44,106 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader231-collector235#1043209723] 12:42:44,106 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader231] 12:42:44,106 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader231-collector236#-1120177188] 12:42:44,106 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader231] [WARN] [11/01/2025 00:42:44.109] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower238]: org.opendaylight.controller.cluster.common.actor.Monitor@4f0c0cf1 12:42:44,110 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower238 with journal batch size 1000 12:42:44,111 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:42:44.111] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader237]: org.opendaylight.controller.cluster.common.actor.Monitor@79054885 12:42:44,111 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader237 with journal batch size 1000 12:42:44,112 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:42:44,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:42:44,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Follower): Received ElectionTimeout - switching to Candidate 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): Election: Candidate has following voting peers: [follower238, follower239] 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Set currentTerm=1, votedFor=leader237 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): Starting new election term 1 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): Sending RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1] to peer follower238 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): Sending RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1] to peer follower239 12:42:44,529 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:42:44,529 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:42:44,529 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Cluster state: [] 12:42:44,529 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:42:44,529 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:42:44,529 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Set currentTerm=1, votedFor=null 12:42:44,530 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): In requestVote: RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:42:44,530 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Set currentTerm=1, votedFor=leader237 12:42:44,530 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [11/01/2025 00:42:44.530] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader237]: RequestVote [term=1, candidateId=leader237, lastLogIndex=-1, lastLogTerm=-1] 12:42:44,530 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:42:44,530 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Election: Leader has following peers: [follower238, follower239] 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:42:44,531 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower238: Last sync leader does not match current leader leader237, need to catch up to -1 [WARN] [11/01/2025 00:42:44.531] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader237]: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower238 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/01/2025 00:42:44.531] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower238] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1ae9ae43 12:42:44,531 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:44,564 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): sendAppendEntries: 0 is present for follower follower238 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Sending AppendEntries to follower follower238: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Number of entries to be appended = 1 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Append entry to log zero 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Log size is now 1 [WARN] [11/01/2025 00:42:44.565] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader237]: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower238, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:44,565 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower238: Lagging 0 entries behind leader leader237 and reached -1 (of expected -1) 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower238 updated: matchIndex: 0, nextIndex: 1 12:42:44,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Setting last applied to 0 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Moving last applied index from -1 to 0 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Applying state for log index 0 data zero 12:42:44,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/01/2025 00:42:44.566] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower238] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@32c2f49 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: applyState called: zero 12:42:44,566 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persisting ApplyJournalEntries with index=0 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): sendAppendEntries: 1 is present for follower follower238 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Sending AppendEntries to follower follower238: AppendEntries [leaderId=leader237, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:44,615 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries: AppendEntries [leaderId=leader237, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Number of entries to be appended = 1 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Append entry to log one 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Log size is now 2 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Commit index set to 0 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower238, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower238: Lagging 0 entries behind leader leader237 and reached 0 (of expected -1) 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Setting last applied to 0 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Moving last applied index from -1 to 0 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Applying state for log index 0 data zero 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower238 updated: matchIndex: 1, nextIndex: 2 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:44,616 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: applyState called: zero 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Setting last applied to 1 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Moving last applied index from 0 to 1 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Applying state for log index 1 data one 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: applyState called: one 12:42:44,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persisting ApplyJournalEntries with index=1 [WARN] [11/01/2025 00:42:44.617] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader237]: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:44,617 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,617 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Persisting ApplyJournalEntries with index=0 [WARN] [11/01/2025 00:42:44.648] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader237]: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:42:44.668] [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@3f952f27 12:42:44,669 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower239 with journal batch size 1000 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower239 set to akka://test/user/follower239 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): sendAppendEntries: 2 is present for follower follower238 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Sending AppendEntries to follower follower238: AppendEntries [leaderId=leader237, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:44,669 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries: AppendEntries [leaderId=leader237, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Number of entries to be appended = 1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Append entry to log two 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Log size is now 3 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Commit index set to 1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower238, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower238: Lagging 0 entries behind leader leader237 and reached 1 (of expected -1) 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Setting last applied to 1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Moving last applied index from 0 to 1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Applying state for log index 1 data one 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower238 updated: matchIndex: 2, nextIndex: 3 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower238: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:44,670 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: applyState called: one 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Setting last applied to 2 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Moving last applied index from 1 to 2 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Applying state for log index 2 data two 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: applyState called: two 12:42:44,670 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Persisting ApplyJournalEntries with index=2 12:42:44,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Persisting ApplyJournalEntries with index=1 12:42:44,672 AM [test-akka.actor.default-dispatcher-16] [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 12:42:44,673 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Term 1 in "AppendEntries [leaderId=leader237, 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 12:42:44,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=null 12:42:44,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower239: Last sync leader does not match current leader leader237, need to catch up to -1 12:42:44,673 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: -1, nextIndex: 0 12:42:44,673 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:44,673 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): sendAppendEntries: 0 is present for follower follower239 12:42:44,673 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Sending AppendEntries to follower follower239: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, 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]]] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleAppendEntries: AppendEntries [leaderId=leader237, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, 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]]] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Number of entries to be appended = 3 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log zero 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log one 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Append entry to log two 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Log size is now 3 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Commit index set to 2 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [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] 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower239: Lagging 0 entries behind leader leader237 and reached 2 (of expected -1) 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 0 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from -1 to 0 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 0 data zero 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: zero 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 1 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from 0 to 1 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 1 data one 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: one 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Setting last applied to 2 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from 1 to 2 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Applying state for log index 2 data two 12:42:44,674 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applyState called: two [WARN] [11/01/2025 00:42:44.674] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower239] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1fd96d1c 12:42:44,675 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: 2, nextIndex: 3 12:42:44,675 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: fakeSnapshot purging log to 1 for term 1 12:42:44,675 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:42:44,675 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:44,675 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:44,675 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:44,675 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Persisting ApplyJournalEntries with index=2 [WARN] [11/01/2025 00:42:44.675] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower239] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e9ef993 12:42:44,725 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower239 with journal batch size 1000 12:42:44,726 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower239 set to akka://test/user/follower239 [WARN] [11/01/2025 00:42:44.727] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower239]: org.opendaylight.controller.cluster.common.actor.Monitor@4aa14da9 12:42:44,730 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 12:42:44,888 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Term 1 in "AppendEntries [leaderId=leader237, 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 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Commit index set to 2 12:42:44,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=null 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower238: Lagging 0 entries behind leader leader237 and reached 2 (of expected -1) 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238 (Follower): Setting last applied to 2 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Moving last applied index from 1 to 2 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Applying state for log index 2 data two 12:42:44,888 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): The followers log is empty and the senders prevLogIndex is 2 12:42:44,888 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: applyState called: two 12:42:44,888 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower239, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:44,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower239: Last sync leader does not match current leader leader237, need to catch up to 2 12:42:44,889 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: fakeSnapshot purging log to 1 for term 1 12:42:44,889 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower238: Persisting ApplyJournalEntries with index=2 12:42:44,889 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower239, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 12:42:44,889 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower239 updated: matchIndex: -1, nextIndex: 0 12:42:44,889 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): follower follower239 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:42:44,889 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Checking sendAppendEntries for follower follower239: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:42:44,890 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Initiating install snapshot to follower follower239: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 [WARN] [11/01/2025 00:42:44.890] [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@dcda040 12:42:44,890 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: 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 follower239 12:42:44,890 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: lastSequenceNumber prior to capture: 7 12:42:44,891 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 12:42:44,891 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower239, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: CaptureSnapshotReply received by actor 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: 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=leader237, ServerConfigPayload=null] 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): sendInstallSnapshot 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader237 (Leader): Snapshot 345 bytes, total chunks to send: 1 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader237 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 12:42:44,891 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): next snapshot chunk size for follower follower239: 345 12:42:44,891 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader237, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 12:42:44,891 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:42:44,892 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Snapshot installed from leader: leader237 12:42:44,892 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): Converted InstallSnapshot from leader: leader237 to state 12:42:44,892 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: 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] 12:42:44,892 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 12:42:44,892 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): InstallSnapshot sent to follower Vector(user, follower239), Chunk: 1/1 12:42:44,892 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 12:42:45,83 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Snapshot success - sequence number: 1 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from -1 to 2 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=null 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: applySnapshot called 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower239, chunkIndex=1, success=true] 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: SnapshotComplete received 12:42:45,84 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: handled a snapshot response 12:42:45,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: handled a journal response 12:42:45,84 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower239, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 12:42:45,84 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): follower follower239 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower239, chunkIndex=1, success=true] 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237 (Leader): Snapshot successfully installed on follower follower239 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: Snapshot success - sequence number: 7 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: SnapshotComplete received 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower238: Lagging 0 entries behind leader leader237 and reached 2 (of expected -1) 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: handled a journal response 12:42:45,85 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader237: handled a snapshot response [WARN] [11/01/2025 00:42:45.147] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower239]: org.opendaylight.controller.cluster.common.actor.Monitor@404fda8b 12:42:45,148 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower239 with journal batch size 1000 12:42:45,148 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: SnapshotOffer called. 12:42:45,148 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Moving last applied index from -1 to 2 12:42:45,148 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Set currentTerm=1, votedFor=null 12:42:45,149 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower239 in 148.2 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 12:42:45,150 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower239: Recovery completed in 1.461 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 12:42:45,150 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower238-collector240#-247120886] 12:42:45,161 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower238] 12:42:45,161 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader237-collector241#-1375611290] 12:42:45,161 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader237] 12:42:45,162 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower239-collector242#98009338] 12:42:45,162 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower239] 12:42:45,162 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower239-collector243#-420856322] 12:42:45,163 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower239] 12:42:45,163 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower239-collector244#-20026738] 12:42:45,163 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower239] [WARN] [11/01/2025 00:42:45.166] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower246]: org.opendaylight.controller.cluster.common.actor.Monitor@3457496e 12:42:45,167 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower246 with journal batch size 1000 12:42:45,168 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:42:45.169] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader245]: org.opendaylight.controller.cluster.common.actor.Monitor@3a886a2e 12:42:45,170 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader245 with journal batch size 1000 12:42:45,171 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:42:45,608 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:42:45,608 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:42:45,608 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Follower): Received ElectionTimeout - switching to Candidate 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Election: Candidate has following voting peers: [follower247, follower246] 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Set currentTerm=1, votedFor=leader245 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Starting new election term 1 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Sending RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1] to peer follower247 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Sending RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1] to peer follower246 12:42:45,609 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:42:45,609 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:42:45,609 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Cluster state: [] 12:42:45,609 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:42:45,609 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:42:45,609 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Set currentTerm=1, votedFor=null [WARN] [11/01/2025 00:42:45.609] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1] 12:42:45,610 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): In requestVote: RequestVote [term=1, candidateId=leader245, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:42:45,610 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Set currentTerm=1, votedFor=leader245 12:42:45,610 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:42:45,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:42:45,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:42:45,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Election: Leader has following peers: [follower247, follower246] 12:42:45,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:45,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:45,611 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower246: Last sync leader does not match current leader leader245, need to catch up to -1 [WARN] [11/01/2025 00:42:45.611] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,611 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [11/01/2025 00:42:45.611] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower246] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@411b87e3 12:42:45,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower246 updated: matchIndex: -1, nextIndex: 0 12:42:45,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:42:45,628 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 0 is present for follower follower246 12:42:45,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries: AppendEntries [leaderId=leader245, 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] [11/01/2025 00:42:45.629] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Number of entries to be appended = 1 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Append entry to log zero 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Log size is now 1 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower246, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:45,629 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower246: Lagging 0 entries behind leader leader245 and reached -1 (of expected -1) 12:42:45,629 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower246 updated: matchIndex: 0, nextIndex: 1 12:42:45,629 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Setting last applied to 0 12:42:45,630 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from -1 to 0 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Applying state for log index 0 data zero 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: applyState called: zero 12:42:45,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persisting ApplyJournalEntries with index=0 [WARN] [11/01/2025 00:42:45.630] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower246] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@218c033b 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 1 is present for follower follower246 12:42:45,679 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:45,679 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries: AppendEntries [leaderId=leader245, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:42:45,679 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Number of entries to be appended = 1 12:42:45,679 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Append entry to log one 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Log size is now 2 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Commit index set to 0 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower246, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower246: Lagging 0 entries behind leader leader245 and reached 0 (of expected -1) 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Setting last applied to 0 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Moving last applied index from -1 to 0 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Applying state for log index 0 data zero 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower246 updated: matchIndex: 1, nextIndex: 2 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: applyState called: zero 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Setting last applied to 1 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from 0 to 1 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Applying state for log index 1 data one 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:42:45,680 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: applyState called: one 12:42:45,680 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Persisting ApplyJournalEntries with index=0 [WARN] [11/01/2025 00:42:45.680] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,681 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persisting ApplyJournalEntries with index=1 [WARN] [11/01/2025 00:42:45.728] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,730 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:45,730 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:45,730 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:42:45,730 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [11/01/2025 00:42:45.731] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 12:42:45,731 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [11/01/2025 00:42:45.731] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,732 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:45,732 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 12:42:45,732 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: lastSequenceNumber prior to capture: 7 12:42:45,848 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 12:42:45,848 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, 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] [11/01/2025 00:42:45.848] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,969 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 12:42:45,969 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, 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] [11/01/2025 00:42:45.969] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower247: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:42:45,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 [WARN] [11/01/2025 00:42:45.983] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:45,983 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:46,88 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower246: Lagging -1 entries behind leader leader245 and reached 0 (of expected -1) [WARN] [11/01/2025 00:42:46.088] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader245]: AppendEntries [leaderId=leader245, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:42:46,88 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower246, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 408, lastApplied : 1, commitIndex : 1 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): sendAppendEntries: 2 is present for follower follower246 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Sending AppendEntries to follower follower246: AppendEntries [leaderId=leader245, 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]]] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries: AppendEntries [leaderId=leader245, 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]]] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Number of entries to be appended = 3 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Append entry to log two 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Append entry to log three 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Append entry to log four 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Log size is now 5 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Commit index set to 1 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower246, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower246: Lagging 0 entries behind leader leader245 and reached 1 (of expected -1) 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Setting last applied to 1 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Moving last applied index from 0 to 1 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Applying state for log index 1 data one 12:42:46,89 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower246 updated: matchIndex: 4, nextIndex: 5 12:42:46,89 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 12:42:46,89 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: applyState called: one 12:42:46,89 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Setting last applied to 2 12:42:46,89 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from 1 to 2 12:42:46,89 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Applying state for log index 2 data two 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: applyState called: two 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Setting last applied to 3 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from 2 to 3 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Applying state for log index 3 data three 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: applyState called: three 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Setting last applied to 4 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from 3 to 4 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Applying state for log index 4 data four 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: applyState called: four 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Checking sendAppendEntries for follower follower246: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:42:46,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persisting ApplyJournalEntries with index=4 12:42:46,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:42:46,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:42:46,90 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:42:46,90 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Persisting ApplyJournalEntries with index=1 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Commit index set to 4 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower246: Lagging 0 entries behind leader leader245 and reached 4 (of expected -1) 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Setting last applied to 2 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Moving last applied index from 1 to 2 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Applying state for log index 2 data two 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: applyState called: two 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Setting last applied to 3 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Moving last applied index from 2 to 3 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Applying state for log index 3 data three 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: applyState called: three 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246 (Follower): Setting last applied to 4 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Moving last applied index from 3 to 4 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Applying state for log index 4 data four 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: applyState called: four 12:42:46,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower246: Persisting ApplyJournalEntries with index=4 12:42:46,133 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: CaptureSnapshotReply received by actor 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader245, ServerConfigPayload=null] 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Snapshot success - sequence number: 7 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: SnapshotComplete received 12:42:46,134 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: handled a snapshot response 12:42:46,135 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: handled a journal response [WARN] [11/01/2025 00:42:46.197] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader245]: org.opendaylight.controller.cluster.common.actor.Monitor@377b5d81 12:42:46,198 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader245 with journal batch size 1000 12:42:46,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: SnapshotOffer called. 12:42:46,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from -1 to 1 12:42:46,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Set currentTerm=1, votedFor=leader245 12:42:46,199 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader245 in 119.0 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Received apply journal entries for recovery, applying to state: 2 to 4 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Moving last applied index from 1 to 4 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Recovery completed in 1.835 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Follower): Received TimeoutNow - switching to Candidate 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Election: Candidate has following voting peers: [] 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245: Set currentTerm=2, votedFor=leader245 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Starting new election term 2 12:42:46,201 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:42:46,202 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower246-collector248#-228177406] 12:42:46,202 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate): Received ElectionTimeout 12:42:46,202 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Leader): Election: Leader has following peers: [] 12:42:46,202 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader245 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:42:46,213 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower246] 12:42:46,213 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader245-collector249#282217577] 12:42:46,213 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader245] 12:42:46,213 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader245-collector250#501812037] 12:42:46,214 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader245] 12:42:46,215 AM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [11/01/2025 00:42:46.215] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/01/2025 00:42:46.216] [test-akka.actor.default-dispatcher-12] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.14:25520) 12:42:46,217 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Exiting completed 12:42:46,217 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Shutting down... [INFO] [11/01/2025 00:42:46.217] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Exiting completed [INFO] [11/01/2025 00:42:46.217] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Shutting down... 12:42:46,218 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Successfully shut down 12:42:46,219 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 12:42:46,219 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/01/2025 00:42:46.217] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Successfully shut down [INFO] [11/01/2025 00:42:46.218] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.14:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/01/2025 00:42:46.218] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.14:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/01/2025 00:42:46.222] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.14:25520/system/remoting-terminator] Remoting shut down. 12:42:46,222 AM [test-akka.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/01/2025 00:42:46.223] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger