[DEBUG] [12/02/2025 00:41:43.462] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:41:43,462 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [12/02/2025 00:41:43.463] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [12/02/2025 00:41:43.463] [main] [EventStream(akka://test)] Default Loggers started [INFO] [12/02/2025 00:41:43.482] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.15:25520] with UID [3032166922489448639] 12:41:43,482 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.15:25520] with UID [3032166922489448639] [INFO] [12/02/2025 00:41:43.483] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Starting up, Akka version [2.6.21] ... 12:41:43,483 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Starting up, Akka version [2.6.21] ... [INFO] [12/02/2025 00:41:43.486] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [12/02/2025 00:41:43.486] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Started up successfully 12:41:43,486 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:41:43,486 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Started up successfully [INFO] [12/02/2025 00:41:43.487] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [12/02/2025 00:41:43.487] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:41:43,487 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:41:43,487 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:41:43,499 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads [WARN] [12/02/2025 00:41:43.507] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower255]: org.opendaylight.controller.cluster.common.actor.Monitor@4f909931 [INFO] [akkaDeadLetter][12/02/2025 00:41:43.507] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower255] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:43,508 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower255] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:43,508 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower255 with journal batch size 1000 12:41:43,511 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower256] 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'. [WARN] [12/02/2025 00:41:43.511] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower256]: org.opendaylight.controller.cluster.common.actor.Monitor@7102211b [INFO] [akkaDeadLetter][12/02/2025 00:41:43.511] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower256] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:43,511 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower256 with journal batch size 1000 12:41:43,512 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader254] to Actor[akka://test/user/termination-monitor] was not delivered. [3] 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'. [WARN] [12/02/2025 00:41:43.512] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader254]: org.opendaylight.controller.cluster.common.actor.Monitor@7fc5c14b [INFO] [akkaDeadLetter][12/02/2025 00:41:43.512] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader254] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:43,512 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader254 with journal batch size 1000 12:41:43,518 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:43,518 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:43,519 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Set currentTerm=5, votedFor=leader254 12:41:43,519 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:44,36 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:44,36 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.15:25520, Removed) 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Follower): Received ElectionTimeout - switching to Candidate 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): Election: Candidate has following voting peers: [follower256, follower255] 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Set currentTerm=6, votedFor=leader254 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): Starting new election term 6 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): Sending RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] to peer follower256 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): Sending RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] to peer follower255 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Cluster state: [] 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:44,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Set currentTerm=6, votedFor=null 12:41:44,38 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): In requestVote: RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:44,38 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Set currentTerm=6, votedFor=leader254 12:41:44,38 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Cluster state: [] 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Set currentTerm=6, votedFor=null 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): In requestVote: RequestVote [term=6, candidateId=leader254, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Set currentTerm=6, votedFor=leader254 12:41:44,38 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:44,38 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Election: Leader has following peers: [follower256, follower255] 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower256: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:41:44,39 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower256: Last sync leader does not match current leader leader254, need to catch up to -1 [WARN] [12/02/2025 00:41:44.039] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower256] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d9ae7e2 [INFO] [akkaDeadLetter][12/02/2025 00:41:44.039] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower256] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower256] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,39 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower256 updated: matchIndex: -1, nextIndex: 0 12:41:44,39 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower256] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,40 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower256: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:44,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower255: Last sync leader does not match current leader leader254, need to catch up to -1 12:41:44,40 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower255 updated: matchIndex: -1, nextIndex: 0 12:41:44,40 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [12/02/2025 00:41:44.040] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower255] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@68c3bbc4 12:41:44,40 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower255] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][12/02/2025 00:41:44.040] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower255] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower255] 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:41:44,75 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower256: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower256: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower255 12:41:44,75 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower255: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:44,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): handleAppendEntries: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:44,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Number of entries to be appended = 1 12:41:44,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:44,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Append entry to log zero 12:41:44,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Log size is now 1 12:41:44,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower255, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:44,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached -1 (of expected -1) 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower255 updated: matchIndex: 0, nextIndex: 1 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower256: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:44,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [12/02/2025 00:41:44.076] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower255] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4d347578 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower255] 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][12/02/2025 00:41:44.076] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower255] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower255] 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:41:44,77 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:44,77 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 1 is present for follower follower255 12:41:44,77 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower255: AppendEntries [leaderId=leader254, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): handleAppendEntries: AppendEntries [leaderId=leader254, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Number of entries to be appended = 1 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Append entry to log one 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Setting last applied to 0 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Log size is now 2 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Moving last applied index from -1 to 0 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Applying state for log index 0 data zero 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower255, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached -1 (of expected -1) 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: applyState called: zero 12:41:44,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower255 updated: matchIndex: 1, nextIndex: 2 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower255: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:44,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Persisting ApplyJournalEntries with index=0 12:41:44,77 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Commit index set to 0 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached 0 (of expected -1) 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Setting last applied to 0 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Moving last applied index from -1 to 0 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Applying state for log index 0 data zero 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Setting last applied to 1 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Moving last applied index from 0 to 1 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Applying state for log index 1 data one 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: applyState called: one 12:41:44,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: Persisting ApplyJournalEntries with index=1 12:41:44,78 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: applyState called: zero 12:41:44,79 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Persisting ApplyJournalEntries with index=0 12:41:44,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower256: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower256: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Commit index set to 1 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255 (Follower): Setting last applied to 1 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Moving last applied index from 0 to 1 12:41:44,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Applying state for log index 1 data one 12:41:44,277 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: applyState called: one 12:41:44,277 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: Persisting ApplyJournalEntries with index=1 12:41:44,396 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,396 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower256: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,397 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,428 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower256 12:41:44,517 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,517 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower256, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 477, lastApplied : 1, commitIndex : 1 12:41:44,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): sendAppendEntries: 0 is present for follower follower256 12:41:44,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Sending AppendEntries to follower follower256: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower256: Lagging 0 entries behind leader leader254 and reached -1 (of expected -1) 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): handleAppendEntries: AppendEntries [leaderId=leader254, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Number of entries to be appended = 2 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Append entry to log zero 12:41:44,517 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Append entry to log one 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Log size is now 2 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Commit index set to 1 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower256, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:44,518 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower256 updated: matchIndex: 1, nextIndex: 2 12:41:44,518 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254: fakeSnapshot purging log to 0 for term 6 12:41:44,518 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader254 (Leader): Checking sendAppendEntries for follower follower256: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower256: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Setting last applied to 0 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Moving last applied index from -1 to 0 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Applying state for log index 0 data zero 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: applyState called: zero 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256 (Follower): Setting last applied to 1 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Moving last applied index from 0 to 1 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Applying state for log index 1 data one 12:41:44,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: applyState called: one 12:41:44,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:44,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:44,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: Persisting ApplyJournalEntries with index=1 [WARN] [12/02/2025 00:41:44.519] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower256] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@8c9d6f6 [INFO] [akkaDeadLetter][12/02/2025 00:41:44.520] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower256] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower256] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,520 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower256] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower255: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower255: fakeSnapshot purging log to 0 for term 6 12:41:44,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower256: Lagging 0 entries behind leader leader254 and reached 1 (of expected -1) 12:41:44,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower256: fakeSnapshot purging log to 0 for term 6 12:41:44,681 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 12:41:44,681 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower255-collector257#1729005593] 12:41:44,693 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower255] 12:41:44,693 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower256-collector258#-1156604959] 12:41:44,693 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower256] 12:41:44,694 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader254-collector259#-289632741] 12:41:44,694 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader254] 12:41:44,695 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting [WARN] [12/02/2025 00:41:44.697] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower264]: org.opendaylight.controller.cluster.common.actor.Monitor@102aecc5 [INFO] [akkaDeadLetter][12/02/2025 00:41:44.697] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower264] to Actor[akka://test/user/termination-monitor] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,697 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower264] to Actor[akka://test/user/termination-monitor] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,698 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower264 with journal batch size 1000 12:41:44,699 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:44.699] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower265]: org.opendaylight.controller.cluster.common.actor.Monitor@2c8c3e4 [INFO] [akkaDeadLetter][12/02/2025 00:41:44.699] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower265] to Actor[akka://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,700 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower265] to Actor[akka://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,700 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower265 with journal batch size 1000 12:41:44,701 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:44.701] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader263]: org.opendaylight.controller.cluster.common.actor.Monitor@4da09a8a [INFO] [akkaDeadLetter][12/02/2025 00:41:44.702] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader263] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,702 AM [test-akka.actor.default-dispatcher-17] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader263] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:41:44,702 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader263 with journal batch size 1000 12:41:44,703 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Set currentTerm=5, votedFor=leader263 12:41:44,704 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.15:25520, Removed) 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Follower): Received ElectionTimeout - switching to Candidate 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): Election: Candidate has following voting peers: [follower265, follower264] 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Set currentTerm=6, votedFor=leader263 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): Starting new election term 6 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): Sending RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] to peer follower265 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): Sending RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] to peer follower264 12:41:45,167 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:41:45,167 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:45,167 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Cluster state: [] 12:41:45,167 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:45,168 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:45,168 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Set currentTerm=6, votedFor=null 12:41:45,168 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): In requestVote: RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:45,168 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Set currentTerm=6, votedFor=leader263 12:41:45,168 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Cluster state: [] 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Set currentTerm=6, votedFor=null 12:41:45,168 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 12:41:45,168 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): In requestVote: RequestVote [term=6, candidateId=leader263, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Set currentTerm=6, votedFor=leader263 12:41:45,168 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Election: Leader has following peers: [follower265, follower264] 12:41:45,168 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:45,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:45,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:45,169 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:41:45,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower264: Last sync leader does not match current leader leader263, need to catch up to -1 12:41:45,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: -1, nextIndex: 0 [WARN] [12/02/2025 00:41:45.169] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower264] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@77494173 12:41:45,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:45,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower265: Last sync leader does not match current leader leader263, need to catch up to -1 12:41:45,169 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower265 updated: matchIndex: -1, nextIndex: 0 12:41:45,169 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [12/02/2025 00:41:45.169] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower265] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@79fc8a62 12:41:45,207 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 0 is present for follower follower265 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower265: AppendEntries [leaderId=leader263, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 0 is present for follower follower264 12:41:45,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Number of entries to be appended = 1 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Append entry to log zero 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log zero 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 1 12:41:45,208 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Log size is now 1 12:41:45,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower265, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached -1 (of expected -1) 12:41:45,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower265: Lagging 0 entries behind leader leader263 and reached -1 (of expected -1) 12:41:45,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 0, nextIndex: 1 12:41:45,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:45,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower265 updated: matchIndex: 0, nextIndex: 1 12:41:45,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:45,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [12/02/2025 00:41:45.209] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower264] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@139f05d 12:41:45,210 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true [WARN] [12/02/2025 00:41:45.210] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower265] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72ea7db8 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 1 is present for follower follower265 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower265: AppendEntries [leaderId=leader263, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 1 is present for follower follower264 12:41:45,210 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 0 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from -1 to 0 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 0 data zero 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log one 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: zero 12:41:45,210 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:45,210 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=0 12:41:45,210 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 2 12:41:45,211 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Number of entries to be appended = 1 12:41:45,211 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,211 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached -1 (of expected -1) 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 1, nextIndex: 2 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 1 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 0 to 1 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 1 data one 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: one 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: fakeSnapshot purging log to 0 for term 6 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:45,211 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=1 12:41:45,211 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:45,211 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Append entry to log one 12:41:45,211 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 1 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 0 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from -1 to 0 12:41:45,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 0 data zero 12:41:45,211 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Log size is now 2 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: zero 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower265, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 1 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 0 to 1 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower265: Lagging 0 entries behind leader leader263 and reached -1 (of expected -1) 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 1 data one 12:41:45,212 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower265 updated: matchIndex: 1, nextIndex: 2 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: one 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: fakeSnapshot purging log to 0 for term 6 12:41:45,212 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:45,212 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=1 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Commit index set to 1 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower265: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Setting last applied to 0 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Moving last applied index from -1 to 0 12:41:45,212 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Applying state for log index 0 data zero 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: applyState called: zero 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Setting last applied to 1 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Moving last applied index from 0 to 1 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Applying state for log index 1 data one 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: applyState called: one 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: fakeSnapshot purging log to 0 for term 6 12:41:45,213 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Persisting ApplyJournalEntries with index=1 12:41:45,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower265: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,527 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,814 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 2 is present for follower follower264 12:41:45,815 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log two 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 2 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,815 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 2, nextIndex: 3 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:45,816 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 3 is present for follower follower264 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:45,816 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:45,816 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log three 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 3 is present for follower follower264 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 3 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:45,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,817 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,818 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:41:45,818 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:45,818 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:45,818 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:45,818 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 3 is present for follower follower264 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 3, nextIndex: 4 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 4 is present for follower follower264 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=3, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:45,818 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:45,818 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=3, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 2 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log four 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log five 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 4, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 4 is present for follower follower264 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 5 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,819 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 1 (of expected -1) 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:41:45,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 2 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 1 to 2 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 2 data two 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: two 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: fakeSnapshot purging log to 1 for term 6 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 5, nextIndex: 6 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 1 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 6 is present for follower follower264 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=2 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log six 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:45,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 6 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 2 12:41:45,820 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 2 (of expected -1) 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: lastSequenceNumber prior to capture: 8 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 2 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 1 to 2 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 2 data two 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 3 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 2 to 3 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 3 data three 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: three 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: two 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: fakeSnapshot purging log to 1 for term 6 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 6, nextIndex: 7 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 1 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: CaptureSnapshotReply received by actor 12:41:45,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=4, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader263, ServerConfigPayload=null] 12:41:45,821 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=2 12:41:45,822 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:41:45,822 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=3 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 3 to 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 4 data four 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 3 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 3 (of expected -1) 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: four 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 3 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 2 to 3 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 3 data three 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: three 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=4 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 4 (of expected -1) 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 6 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 3 to 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 4 data four 12:41:45,822 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: four 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:45,822 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=3 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 5 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 4 to 5 12:41:45,822 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 5 data five 12:41:45,822 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=4 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: five 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=5 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 6 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 5 to 6 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 6 data six 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: six 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=6 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Snapshot success - sequence number: 8 12:41:45,823 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SnapshotComplete received 12:41:45,823 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a snapshot response 12:41:45,824 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a journal response 12:41:45,865 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 7 is present for follower follower264 12:41:45,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log seven 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 6 12:41:45,865 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 6 (of expected -1) 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 7 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 5 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 4 to 5 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 5 data five 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 7, nextIndex: 8 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: five 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 5 to 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 6 data six 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: six 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: lastSequenceNumber prior to capture: 17 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 7 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 6 to 7 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 7 data seven 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: applyState called: seven 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: CaptureSnapshotReply received by actor 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=6, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three, four, five, six]], electionTerm=6, electionVotedFor=leader263, ServerConfigPayload=null] 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=7 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Snapshot success - sequence number: 17 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:45,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=6 12:41:45,866 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SnapshotComplete received 12:41:45,867 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a snapshot response 12:41:45,867 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a journal response 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 7 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 7 (of expected -1) 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 7 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 6 to 7 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 7 data seven 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: applyState called: seven 12:41:46,7 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=7 12:41:46,16 AM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Updated server config: isVoting: true, peers: [PeerInfo [id=follower265, address=akka://test/user/follower265, votingState=NON_VOTING], PeerInfo [id=follower264, address=akka://test/user/follower264, votingState=NON_VOTING]] 12:41:46,16 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]] 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]] 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, isSendImmediate: true 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower265: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendAppendEntries: 8 is present for follower follower264 12:41:46,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Sending AppendEntries to follower follower264: AppendEntries [leaderId=leader263, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries: AppendEntries [leaderId=leader263, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Number of entries to be appended = 1 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Updated server config: isVoting: false, peers: [PeerInfo [id=leader263, address=akka://test/user/leader263, votingState=VOTING], PeerInfo [id=follower265, address=akka://test/user/follower265, votingState=NON_VOTING]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Log size is now 7 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower264, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 7 (of expected -1) 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower264 updated: matchIndex: 8, nextIndex: 9 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Checking sendAppendEntries for follower follower264: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Setting last applied to 8 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Moving last applied index from 7 to 8 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]]] 12:41:46,18 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting ApplyJournalEntries with index=8 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Commit index set to 8 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 8 (of expected -1) 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264 (Follower): Setting last applied to 8 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Moving last applied index from 7 to 8 12:41:46,126 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader263, isVoting=true], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=follower265, isVoting=false]]] 12:41:46,127 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: Persisting ApplyJournalEntries with index=8 12:41:46,168 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 12:41:46,247 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower265: Lagging -2 entries behind leader leader263 and reached 1 (of expected -1) 12:41:46,247 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 8 (of expected -1) 12:41:46,247 AM [test-akka.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower265, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 839, lastApplied : 8, commitIndex : 8 12:41:46,247 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Initiating install snapshot to follower follower265: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 12:41:46,247 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=8, lastAppliedTerm=6, lastIndex=8, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower265 12:41:46,247 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: lastSequenceNumber prior to capture: 20 12:41:46,247 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: CaptureSnapshotReply received by actor 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Persisting of snapshot done: Snapshot [lastIndex=8, lastTerm=6, lastAppliedIndex=8, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader263, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower265, isVoting=false], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=leader263, isVoting=true]]]] 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): sendInstallSnapshot 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader263 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader263 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:41:46,248 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower265: Lagging -2 entries behind leader leader263 and reached 1 (of expected -1) 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): next snapshot chunk size for follower follower265: 431 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): InstallSnapshot sent to follower Vector(user, follower265), Chunk: 1/1 12:41:46,248 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader263, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower265, isVoting=false], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=leader263, isVoting=true]]]] 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SaveSnapshotSuccess received for snapshot, sequenceNr: 20 12:41:46,248 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: Snapshot success - sequence number: 20 12:41:46,248 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower265: Lagging 7 entries behind leader leader263 and reached 1 (of expected -1) 12:41:46,248 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:46,248 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Snapshot installed from leader: leader263 12:41:46,248 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: SnapshotComplete received 12:41:46,248 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a snapshot response 12:41:46,248 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: handled a journal response 12:41:46,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): Converted InstallSnapshot from leader: leader263 to state 12:41:46,249 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Applying snapshot on follower: Snapshot [lastIndex=8, lastTerm=6, lastAppliedIndex=8, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader263, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower265, isVoting=false], ServerInfo[peerId=follower264, isVoting=false], ServerInfo[peerId=leader263, isVoting=true]]]] 12:41:46,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 5 12:41:46,249 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: SaveSnapshotSuccess received for snapshot, sequenceNr: 5 12:41:46,249 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Snapshot success - sequence number: 5 12:41:46,249 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Moving last applied index from 1 to 8 12:41:46,249 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Set currentTerm=6, votedFor=leader263 12:41:46,250 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: Updated server config: isVoting: false, peers: [PeerInfo [id=leader263, address=akka://test/user/leader263, votingState=VOTING], PeerInfo [id=follower264, address=akka://test/user/follower264, votingState=NON_VOTING]] 12:41:46,250 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: applySnapshot called 12:41:46,250 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower265, chunkIndex=1, success=true] 12:41:46,250 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: SnapshotComplete received 12:41:46,250 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower265, chunkIndex=1, success=true] 12:41:46,250 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader263 (Leader): Snapshot successfully installed on follower follower265 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 12:41:46,250 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader263: fakeSnapshot purging log to 7 for term 6 12:41:46,250 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: handled a snapshot response 12:41:46,250 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower265: handled a journal response 12:41:46,366 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower264: Lagging 0 entries behind leader leader263 and reached 8 (of expected -1) 12:41:46,366 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower264: fakeSnapshot purging log to 7 for term 6 12:41:46,366 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower265: Lagging 0 entries behind leader leader263 and reached 8 (of expected -1) 12:41:46,370 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 12:41:46,370 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 12:41:46,370 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower264-collector266#-984202243] 12:41:46,381 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower264] 12:41:46,382 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower265-collector267#31177019] 12:41:46,382 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower265] 12:41:46,383 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader263-collector268#1462382971] 12:41:46,383 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader263] 12:41:46,385 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting [WARN] [12/02/2025 00:41:46.387] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower273]: org.opendaylight.controller.cluster.common.actor.Monitor@2d3e5a7 12:41:46,387 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower273 with journal batch size 1000 12:41:46,389 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:46.389] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower274]: org.opendaylight.controller.cluster.common.actor.Monitor@a02863c 12:41:46,390 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower274 with journal batch size 1000 12:41:46,390 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:46.391] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader272]: org.opendaylight.controller.cluster.common.actor.Monitor@73e573dc 12:41:46,391 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader272 with journal batch size 1000 12:41:46,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Set currentTerm=5, votedFor=leader272 12:41:46,392 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:46,846 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:46,846 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.15:25520, Removed) 12:41:46,846 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Follower): Received ElectionTimeout - switching to Candidate 12:41:46,846 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): Election: Candidate has following voting peers: [follower274, follower273] 12:41:46,846 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Set currentTerm=6, votedFor=leader272 12:41:46,847 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): Starting new election term 6 12:41:46,847 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): Sending RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] to peer follower274 12:41:46,847 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): Sending RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] to peer follower273 12:41:46,847 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:41:46,847 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:46,847 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Cluster state: [] 12:41:46,847 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:46,847 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:46,847 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Set currentTerm=6, votedFor=null 12:41:46,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Cluster state: [] 12:41:46,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:46,848 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): In requestVote: RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:46,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Set currentTerm=6, votedFor=null 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Set currentTerm=6, votedFor=leader272 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Election: Leader has following peers: [follower274, follower273] 12:41:46,848 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:46,849 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:46,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): In requestVote: RequestVote [term=6, candidateId=leader272, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:46,849 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:41:46,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Set currentTerm=6, votedFor=leader272 12:41:46,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:46,849 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower274: Last sync leader does not match current leader leader272, need to catch up to -1 12:41:46,849 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower274 updated: matchIndex: -1, nextIndex: 0 12:41:46,849 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [12/02/2025 00:41:46.849] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower274] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5ed7343f 12:41:46,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower273: Last sync leader does not match current leader leader272, need to catch up to -1 12:41:46,849 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: -1, nextIndex: 0 12:41:46,849 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [12/02/2025 00:41:46.849] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower273] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@63eca1a5 12:41:46,896 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 0 is present for follower follower274 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:46,896 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 0 is present for follower follower273 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 0 is present for follower follower274 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 0 is present for follower follower273 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log zero 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 1 12:41:46,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:46,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Number of entries to be appended = 1 12:41:46,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:46,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log zero 12:41:46,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,897 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 0, nextIndex: 1 12:41:46,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached -1 (of expected -1) 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 1 is present for follower follower273 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 0 12:41:46,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Log size is now 1 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from -1 to 0 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 0 data zero 12:41:46,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower274, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:46,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached -1 (of expected -1) 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log one 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 2 [WARN] [12/02/2025 00:41:46.898] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower273] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5532e2b2 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:46,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached -1 (of expected -1) 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: zero 12:41:46,898 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower274 updated: matchIndex: 0, nextIndex: 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 1 is present for follower follower274 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:46,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 1, nextIndex: 2 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:46,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=0 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 0 (of expected -1) 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from -1 to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Number of entries to be appended = 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 0 data zero 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log one 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: zero 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Log size is now 2 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Commit index set to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower274, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 0 (of expected -1) 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from -1 to 0 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 0 data zero 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from 0 to 1 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 1 data one 12:41:46,899 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: zero 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: one 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: fakeSnapshot purging log to 0 for term 6 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower274 updated: matchIndex: 1, nextIndex: 2 12:41:46,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:46,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=1 12:41:46,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:46,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Persisting ApplyJournalEntries with index=0 [WARN] [12/02/2025 00:41:46.900] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower274] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c0a4737 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Commit index set to 1 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 1 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from 0 to 1 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 1 data one 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: one 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: fakeSnapshot purging log to 0 for term 6 12:41:46,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Persisting ApplyJournalEntries with index=1 12:41:47,86 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 1 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 1 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from 0 to 1 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 1 data one 12:41:47,86 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: one 12:41:47,87 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: fakeSnapshot purging log to 0 for term 6 12:41:47,87 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=1 12:41:47,206 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:47,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower273 12:41:47,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log two 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 2 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:47,249 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 1 (of expected -1) 12:41:47,249 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 2, nextIndex: 3 12:41:47,250 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 2 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from 1 to 2 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 2 data two 12:41:47,250 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: two 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: fakeSnapshot purging log to 1 for term 6 12:41:47,250 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=2 12:41:47,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,327 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:47,447 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,447 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 2 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 2 (of expected -1) 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 2 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from 1 to 2 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 2 data two 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: two 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: fakeSnapshot purging log to 1 for term 6 12:41:47,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=2 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 3 is present for follower follower273 12:41:47,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:47,450 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:47,450 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:47,450 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:47,450 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log three 12:41:47,450 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,451 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 2 12:41:47,451 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:47,451 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 2 (of expected -1) 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: lastSequenceNumber prior to capture: 9 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 3, nextIndex: 4 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 3 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from 2 to 3 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 3 data three 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: three 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: CaptureSnapshotReply received by actor 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader272, ServerConfigPayload=null] 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=3 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: SaveSnapshotSuccess received for snapshot, sequenceNr: 9 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Snapshot success - sequence number: 9 12:41:47,451 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: SnapshotComplete received 12:41:47,452 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: handled a snapshot response 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 3 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 3 (of expected -1) 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 3 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from 2 to 3 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 3 data three 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: three 12:41:47,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=3 12:41:47,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: handled a journal response 12:41:47,500 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 12:41:47,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 4 is present for follower follower273 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log four 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 4 is present for follower follower273 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 3 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 3 (of expected -1) 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 4, nextIndex: 5 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 5 is present for follower follower273 12:41:47,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower273: AppendEntries [leaderId=leader272, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 4 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from 3 to 4 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 4 data four 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: four 12:41:47,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=4 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Number of entries to be appended = 1 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Append entry to log five 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Log size is now 4 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower273, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 3 (of expected -1) 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower273 updated: matchIndex: 5, nextIndex: 6 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower273: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Setting last applied to 5 12:41:47,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Moving last applied index from 4 to 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Applying state for log index 5 data five 12:41:47,503 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: applyState called: five 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: Persisting ApplyJournalEntries with index=5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 4 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 4 (of expected -1) 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 4 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from 3 to 4 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 4 data four 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: four 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Commit index set to 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273 (Follower): Setting last applied to 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Moving last applied index from 4 to 5 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Applying state for log index 5 data five 12:41:47,503 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: applyState called: five 12:41:47,503 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=4 12:41:47,503 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: Persisting ApplyJournalEntries with index=5 12:41:47,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): sendAppendEntries: 2 is present for follower follower274 12:41:47,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Sending AppendEntries to follower follower274: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=5, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries: AppendEntries [leaderId=leader272, prevLogIndex=1, prevLogTerm=6, leaderCommit=5, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Number of entries to be appended = 4 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log two 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log three 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log four 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Append entry to log five 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Log size is now 5 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Commit index set to 5 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower274, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 2 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from 1 to 2 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 2 data two 12:41:47,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower274 updated: matchIndex: 5, nextIndex: 6 12:41:47,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272: fakeSnapshot purging log to 4 for term 6 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: two 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 3 12:41:47,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader272 (Leader): Checking sendAppendEntries for follower follower274: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from 2 to 3 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 3 data three 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: three 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 4 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from 3 to 4 12:41:47,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 4 data four 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: four 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274 (Follower): Setting last applied to 5 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Moving last applied index from 4 to 5 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Applying state for log index 5 data five 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: applyState called: five 12:41:47,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: fakeSnapshot purging log to 1 for term 6 12:41:47,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:47,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:47,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:47,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:47,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: Persisting ApplyJournalEntries with index=5 12:41:47,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower273: fakeSnapshot purging log to 4 for term 6 12:41:47,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower274: fakeSnapshot purging log to 4 for term 6 12:41:47,807 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,927 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower273: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,927 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower274: Lagging 0 entries behind leader leader272 and reached 5 (of expected -1) 12:41:47,956 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 12:41:47,956 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower273-collector275#695086147] 12:41:47,967 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower273] 12:41:47,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower274-collector276#1258087885] 12:41:47,968 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower274] 12:41:47,969 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader272-collector277#-1081987737] 12:41:47,969 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader272] 12:41:47,971 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting [WARN] [12/02/2025 00:41:47.973] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower282]: org.opendaylight.controller.cluster.common.actor.Monitor@22a417ca 12:41:47,974 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower282 with journal batch size 1000 12:41:47,975 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:47,975 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower283 with journal batch size 1000 [WARN] [12/02/2025 00:41:47.976] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower283]: org.opendaylight.controller.cluster.common.actor.Monitor@60ce5ff8 12:41:47,977 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:47.977] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader281]: org.opendaylight.controller.cluster.common.actor.Monitor@67398eed 12:41:47,977 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader281 with journal batch size 1000 12:41:47,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Set currentTerm=5, votedFor=leader281 12:41:47,979 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:48,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:48,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.15:25520, Removed) 12:41:48,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Follower): Received ElectionTimeout - switching to Candidate 12:41:48,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): Election: Candidate has following voting peers: [follower283, follower282] 12:41:48,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Set currentTerm=6, votedFor=leader281 12:41:48,437 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): Starting new election term 6 12:41:48,437 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): Sending RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] to peer follower283 12:41:48,437 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): Sending RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] to peer follower282 12:41:48,437 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Cluster state: [] 12:41:48,437 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=null 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): In requestVote: RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=leader281 12:41:48,437 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:48,437 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Cluster state: [] 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Set currentTerm=6, votedFor=null 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): In requestVote: RequestVote [term=6, candidateId=leader281, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Election: Leader has following peers: [follower283, follower282] 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Set currentTerm=6, votedFor=leader281 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:48,438 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:41:48,438 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower283: Last sync leader does not match current leader leader281, need to catch up to -1 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower283 updated: matchIndex: -1, nextIndex: 0 [WARN] [12/02/2025 00:41:48.438] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower283] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@21027ae 12:41:48,438 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:48,439 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower282: Last sync leader does not match current leader leader281, need to catch up to -1 12:41:48,439 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: -1, nextIndex: 0 12:41:48,439 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [12/02/2025 00:41:48.439] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower282] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@27954dd5 12:41:48,483 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 0 is present for follower follower283 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower283: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 0 is present for follower follower282 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:48,483 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:48,483 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Number of entries to be appended = 1 12:41:48,483 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,483 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:48,483 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 12:41:48,484 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:48,484 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 0 is present for follower follower283 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log zero 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,484 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:48,484 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 0 is present for follower follower282 12:41:48,484 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,483 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Append entry to log zero 12:41:48,484 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,484 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,484 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Log size is now 1 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 1 12:41:48,484 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower283, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:48,484 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower283: Lagging 0 entries behind leader leader281 and reached -1 (of expected -1) 12:41:48,484 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower283 updated: matchIndex: 0, nextIndex: 1 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 0 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from -1 to 0 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 0 data zero 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: zero 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 1 is present for follower follower283 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower283: AppendEntries [leaderId=leader281, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=0 [WARN] [12/02/2025 00:41:48.485] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower283] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7168861a 12:41:48,484 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:48,485 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached -1 (of expected -1) 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 0, nextIndex: 1 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Number of entries to be appended = 1 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Append entry to log one 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 1 is present for follower follower282 12:41:48,485 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Log size is now 2 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Commit index set to 0 12:41:48,485 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower283, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower283 updated: matchIndex: 1, nextIndex: 2 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 1 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 0 to 1 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 1 data one 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: one 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: fakeSnapshot purging log to 0 for term 6 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:48,486 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=1 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log one 12:41:48,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower283: Lagging 0 entries behind leader leader281 and reached 0 (of expected -1) 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Setting last applied to 0 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from -1 to 0 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Applying state for log index 0 data zero 12:41:48,486 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: applyState called: zero 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 2 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 0 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 0 (of expected -1) 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Commit index set to 1 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 0 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower283: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from -1 to 0 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:48,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 1, nextIndex: 2 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Setting last applied to 1 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 0 data zero 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from 0 to 1 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Applying state for log index 1 data one 12:41:48,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:41:48,487 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: zero 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: applyState called: one 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: fakeSnapshot purging log to 0 for term 6 12:41:48,487 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Persisting ApplyJournalEntries with index=0 12:41:48,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Persisting ApplyJournalEntries with index=1 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 1 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 1 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 0 to 1 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 1 data one [WARN] [12/02/2025 00:41:48.488] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower282] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@41a37f22 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: one 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: fakeSnapshot purging log to 0 for term 6 12:41:48,488 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=0 12:41:48,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=1 12:41:48,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower283: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:48,676 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:48,797 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) [WARN] [12/02/2025 00:41:48.797] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:48,916 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) [WARN] [12/02/2025 00:41:48.916] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,37 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) [WARN] [12/02/2025 00:41:49.037] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 2 is present for follower follower282 [WARN] [12/02/2025 00:41:49.090] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:49,90 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 [WARN] [12/02/2025 00:41:49.091] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 2 is present for follower follower282 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log two 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] [WARN] [12/02/2025 00:41:49.091] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 2 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:41:49,91 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 2 is present for follower follower282 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 2, nextIndex: 3 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:41:49,91 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 3 is present for follower follower282 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 2 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log three 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log four 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] [WARN] [12/02/2025 00:41:49.092] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 4 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:49,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 3 is present for follower follower282 12:41:49,92 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 4, nextIndex: 5 12:41:49,92 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:41:49,92 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 5 is present for follower follower282 12:41:49,92 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=4, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 5 is present for follower follower282 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=4, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 [WARN] [12/02/2025 00:41:49.093] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log five 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 5 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 2 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 1 to 2 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,93 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 2 data two 12:41:49,93 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 1 (of expected -1) 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: two 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: fakeSnapshot purging log to 1 for term 6 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 5, nextIndex: 6 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 1 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 6 is present for follower follower282 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=2 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log six 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: lastSequenceNumber prior to capture: 8 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 3 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 2 to 3 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 3 data three 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 6 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 2 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: three 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 2 (of expected -1) 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: CaptureSnapshotReply received by actor 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 2 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 1 to 2 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 2 data two 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: two 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=4, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader281, ServerConfigPayload=null] 12:41:49,94 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: fakeSnapshot purging log to 1 for term 6 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:41:49,94 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:41:49,95 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=3 12:41:49,95 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 6, nextIndex: 7 12:41:49,95 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 4 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 3 to 4 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 4 data four 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=2 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: four 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 3 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 3 (of expected -1) 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 3 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 2 to 3 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 3 data three 12:41:49,95 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=4 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: three 12:41:49,95 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=3 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 4 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 4 (of expected -1) 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 6 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 4 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 3 to 4 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 4 data four 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 4 to 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 5 data five 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: four 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: five 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=4 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 5 (of expected -1) 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 6 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=5 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 4 to 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 5 data five 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: five 12:41:49,96 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=5 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 6 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 5 to 6 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 6 data six 12:41:49,96 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: six 12:41:49,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=6 12:41:49,97 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 12:41:49,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Snapshot success - sequence number: 8 12:41:49,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SnapshotComplete received 12:41:49,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a snapshot response 12:41:49,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a journal response 12:41:49,140 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 12:41:49,140 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:49,140 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:49,140 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendAppendEntries: 7 is present for follower follower282 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Sending AppendEntries to follower follower282: AppendEntries [leaderId=leader281, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries: AppendEntries [leaderId=leader281, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] [WARN] [12/02/2025 00:41:49.141] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Number of entries to be appended = 1 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Append entry to log seven 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Log size is now 6 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 6 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower282, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 6 (of expected -1) 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 7 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 6 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 5 to 6 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 6 data six 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower282 updated: matchIndex: 7, nextIndex: 8 12:41:49,141 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: six 12:41:49,141 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower282: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:41:49,142 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: lastSequenceNumber prior to capture: 17 12:41:49,142 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=6 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Setting last applied to 7 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Moving last applied index from 6 to 7 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Applying state for log index 7 data seven 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: applyState called: seven 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: CaptureSnapshotReply received by actor 12:41:49,142 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=6, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three, four, five, six]], electionTerm=6, electionVotedFor=leader281, ServerConfigPayload=null] 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting ApplyJournalEntries with index=7 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Snapshot success - sequence number: 17 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SnapshotComplete received 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a journal response 12:41:49,143 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a snapshot response [WARN] [12/02/2025 00:41:49.157] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Commit index set to 7 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 7 (of expected -1) 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282 (Follower): Setting last applied to 7 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Moving last applied index from 6 to 7 [WARN] [12/02/2025 00:41:49.276] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower283] received dead letter from TestActor[akka://test/user/leader281]: AppendEntries [leaderId=leader281, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Applying state for log index 7 data seven 12:41:49,276 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: applyState called: seven 12:41:49,277 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: Persisting ApplyJournalEntries with index=7 [WARN] [12/02/2025 00:41:49.294] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower283]: org.opendaylight.controller.cluster.common.actor.Monitor@6f65c3ad 12:41:49,295 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower283 with journal batch size 1000 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=null 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=leader281 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Received ReplicatedLogEntry for recovery: index: 0, size: 4 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Received ReplicatedLogEntry for recovery: index: 1, size: 3 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Received apply journal entries for recovery, applying to state: 0 to 0 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from -1 to 0 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Received apply journal entries for recovery, applying to state: 1 to 1 12:41:49,297 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from 0 to 1 12:41:49,298 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Recovery completed in 123.3 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 12:41:49,396 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower283: Last sync leader does not match current leader leader281, need to catch up to -1 12:41:49,396 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 7 (of expected -1) 12:41:49,396 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: fakeSnapshot purging log to 0 for term 6 12:41:49,396 AM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower283, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 719, lastApplied : 7, commitIndex : 7 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Initiating install snapshot to follower follower283: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=7, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower283 [WARN] [12/02/2025 00:41:49.397] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower283] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4405c05f 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: lastSequenceNumber prior to capture: 18 12:41:49,397 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower283: Lagging -2 entries behind leader leader281 and reached 1 (of expected -1) 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: CaptureSnapshotReply received by actor 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader281, ServerConfigPayload=null] 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendInstallSnapshot 12:41:49,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader281 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader281 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): next snapshot chunk size for follower follower283: 431 [WARN] [12/02/2025 00:41:49.398] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower283] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2af075b0 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): InstallSnapshot sent to follower Vector(user, follower283), Chunk: 1/1 12:41:49,398 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader281, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 12:41:49,398 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower283: Lagging 6 entries behind leader leader281 and reached 1 (of expected -1) 12:41:49,398 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:49,398 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Snapshot installed from leader: leader281 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Snapshot success - sequence number: 18 12:41:49,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SnapshotComplete received 12:41:49,398 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a snapshot response 12:41:49,398 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a journal response 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Converted InstallSnapshot from leader: leader281 to state 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Applying snapshot on follower: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader281, ServerConfigPayload=null] 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Snapshot success - sequence number: 6 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from 1 to 7 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=leader281 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: applySnapshot called 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower283, chunkIndex=1, success=true] 12:41:49,399 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower283, chunkIndex=1, success=true] 12:41:49,399 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Snapshot successfully installed on follower follower283 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: SnapshotComplete received 12:41:49,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: handled a snapshot response 12:41:49,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: handled a journal response 12:41:49,448 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower283 with journal batch size 1000 [WARN] [12/02/2025 00:41:49.448] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower283]: org.opendaylight.controller.cluster.common.actor.Monitor@6eebaedc 12:41:49,450 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:49,517 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Term 6 in "AppendEntries [leaderId=leader281, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=6, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 12:41:49,517 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower282: Lagging 0 entries behind leader leader281 and reached 7 (of expected -1) 12:41:49,517 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=null 12:41:49,517 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower282: fakeSnapshot purging log to 6 for term 6 12:41:49,517 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): The followers log is empty and the senders prevLogIndex is 7 12:41:49,517 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower283, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,517 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower283: Last sync leader does not match current leader leader281, need to catch up to 7 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower283, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower283 updated: matchIndex: -1, nextIndex: 0 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): follower follower283 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Checking sendAppendEntries for follower follower283: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Initiating install snapshot to follower follower283: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=7, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower283 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: lastSequenceNumber prior to capture: 18 [WARN] [12/02/2025 00:41:49.518] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower283] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3132de84 12:41:49,518 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: CaptureSnapshotReply received by actor 12:41:49,518 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 12:41:49,518 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower283, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader281, ServerConfigPayload=null] 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): sendInstallSnapshot 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader281 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader281 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): next snapshot chunk size for follower follower283: 431 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): InstallSnapshot sent to follower Vector(user, follower283), Chunk: 1/1 12:41:49,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader281, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower283, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 12:41:49,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): follower follower283 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:41:49,519 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Snapshot installed from leader: leader281 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: Snapshot success - sequence number: 18 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: SnapshotComplete received 12:41:49,519 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a snapshot response 12:41:49,520 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281: handled a journal response 12:41:49,520 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): Converted InstallSnapshot from leader: leader281 to state 12:41:49,520 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Applying snapshot on follower: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=null, ServerConfigPayload=null] 12:41:49,520 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Snapshot success - sequence number: 1 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Moving last applied index from -1 to 7 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: Set currentTerm=6, votedFor=null 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: applySnapshot called 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower283, chunkIndex=1, success=true] 12:41:49,521 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower283, chunkIndex=1, success=true] 12:41:49,521 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader281 (Leader): Snapshot successfully installed on follower follower283 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: SnapshotComplete received 12:41:49,521 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: handled a snapshot response 12:41:49,521 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower283: handled a journal response 12:41:49,549 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower282-collector284#591340246] 12:41:49,560 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower282] 12:41:49,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower283-collector285#1675457278] 12:41:49,561 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower283] 12:41:49,562 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader281-collector286#-1215289874] 12:41:49,562 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader281] 12:41:49,562 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower283-collector287#-1842532605] 12:41:49,562 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower283] 12:41:49,563 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower283-collector288#-382410759] 12:41:49,563 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower283] 12:41:49,564 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting [WARN] [12/02/2025 00:41:49.566] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower293]: org.opendaylight.controller.cluster.common.actor.Monitor@a5fa11e 12:41:49,567 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower293 with journal batch size 1000 12:41:49,568 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [12/02/2025 00:41:49.569] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower294]: org.opendaylight.controller.cluster.common.actor.Monitor@262ba295 12:41:49,569 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower294 with journal batch size 1000 12:41:49,570 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:49,571 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader292 with journal batch size 1000 [WARN] [12/02/2025 00:41:49.571] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader292]: org.opendaylight.controller.cluster.common.actor.Monitor@425b647b 12:41:49,572 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Set currentTerm=5, votedFor=leader292 12:41:49,572 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.15:25520, Removed) 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Follower): Received ElectionTimeout - switching to Candidate 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Election: Candidate has following voting peers: [follower294, follower293] 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Set currentTerm=6, votedFor=leader292 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Starting new election term 6 12:41:50,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Sending RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] to peer follower294 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Sending RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] to peer follower293 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Cluster state: [] 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Set currentTerm=6, votedFor=null 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): In requestVote: RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Cluster state: [] 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Set currentTerm=6, votedFor=leader292 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Set currentTerm=6, votedFor=null 12:41:50,17 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): In requestVote: RequestVote [term=6, candidateId=leader292, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:41:50,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Set currentTerm=6, votedFor=leader292 12:41:50,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 12:41:50,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 12:41:50,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Election: Leader has following peers: [follower294, follower293] 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:50,19 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower294: Last sync leader does not match current leader leader292, need to catch up to -1 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:50,19 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower293: Last sync leader does not match current leader leader292, need to catch up to -1 [WARN] [12/02/2025 00:41:50.019] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower294] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f5e92b5 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 [WARN] [12/02/2025 00:41:50.019] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower293] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51977f58 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: -1, nextIndex: 0 12:41:50,19 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:50,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: -1, nextIndex: 0 12:41:50,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:41:50,26 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:41:50,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 0 is present for follower follower294 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower294: AppendEntries [leaderId=leader292, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 0 is present for follower follower293 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log zero 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 1 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:50,27 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached -1 (of expected -1) 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 0, nextIndex: 1 12:41:50,27 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Number of entries to be appended = 1 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Append entry to log zero 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Log size is now 1 12:41:50,27 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:41:50,28 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached -1 (of expected -1) 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from -1 to 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 0 data zero 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: zero 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: 0, nextIndex: 1 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=0 12:41:50,28 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Commit index set to 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Setting last applied to 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from -1 to 0 12:41:50,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying state for log index 0 data zero 12:41:50,29 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applyState called: zero [WARN] [12/02/2025 00:41:50.028] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower294] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4cc6e4e9 12:41:50,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Persisting ApplyJournalEntries with index=0 [WARN] [12/02/2025 00:41:50.029] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower293] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4315a5a5 12:41:50,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 0 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 0 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from -1 to 0 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 0 data zero 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: zero 12:41:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=0 12:41:50,256 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,256 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,377 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,616 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 1 is present for follower follower293 12:41:50,686 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:50,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 12:41:50,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:50,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:41:50,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log one 12:41:50,686 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:50,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 2 12:41:50,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:50,687 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 0 (of expected -1) 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 1, nextIndex: 2 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:50,687 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 1 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 0 to 1 12:41:50,687 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 1 data one 12:41:50,688 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: one 12:41:50,688 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: fakeSnapshot purging log to 0 for term 6 12:41:50,688 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=1 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 1 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 1 (of expected -1) 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 1 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 0 to 1 12:41:50,856 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 1 data one 12:41:50,857 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: one 12:41:50,857 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: fakeSnapshot purging log to 0 for term 6 12:41:50,857 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=1 12:41:50,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 1 (of expected -1) 12:41:51,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 1 (of expected -1) 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 2 is present for follower follower293 12:41:51,142 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:51,142 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 12:41:51,142 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:51,142 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:41:51,142 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log two 12:41:51,142 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 2 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 1 (of expected -1) 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 2, nextIndex: 3 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:51,143 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: lastSequenceNumber prior to capture: 7 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 2 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 1 to 2 12:41:51,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 2 data two 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: two 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: CaptureSnapshotReply received by actor 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader292, ServerConfigPayload=null] 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=2 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Snapshot success - sequence number: 7 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SnapshotComplete received 12:41:51,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a snapshot response 12:41:51,144 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a journal response 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 2 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 2 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 1 to 2 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 2 data two 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: two 12:41:51,336 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=2 12:41:51,344 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 12:41:51,457 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower294: Lagging -1 entries behind leader leader292 and reached 0 (of expected -1) 12:41:51,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,457 AM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1200, lastApplied : 2, commitIndex : 2 12:41:51,457 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Initiating install snapshot to follower follower294: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 12:41:51,457 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower294 12:41:51,457 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: lastSequenceNumber prior to capture: 8 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: CaptureSnapshotReply received by actor 12:41:51,458 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower294: Lagging -1 entries behind leader leader292 and reached 0 (of expected -1) 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader292, ServerConfigPayload=null] 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendInstallSnapshot 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader292 (Leader): Snapshot 345 bytes, total chunks to send: 1 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader292 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 12:41:51,458 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): next snapshot chunk size for follower follower294: 345 12:41:51,458 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader292, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower294: Lagging 2 entries behind leader leader292 and reached 0 (of expected -1) 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Snapshot installed from leader: leader292 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Converted InstallSnapshot from leader: leader292 to state 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader292, ServerConfigPayload=null] 12:41:51,459 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 12:41:51,459 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): InstallSnapshot sent to follower Vector(user, follower294), Chunk: 1/1 12:41:51,460 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 12:41:51,460 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Snapshot success - sequence number: 8 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Snapshot success - sequence number: 4 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from 0 to 2 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Set currentTerm=6, votedFor=leader292 12:41:51,460 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SnapshotComplete received 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applySnapshot called 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower294, chunkIndex=1, success=true] 12:41:51,460 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower294, chunkIndex=1, success=true] 12:41:51,460 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Snapshot successfully installed on follower follower294 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 12:41:51,460 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: SnapshotComplete received 12:41:51,460 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a journal response 12:41:51,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: handled a journal response 12:41:51,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a snapshot response 12:41:51,461 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: handled a snapshot response 12:41:51,577 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,577 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: fakeSnapshot purging log to 1 for term 6 12:41:51,577 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,596 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 12:41:51,596 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,596 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,596 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:41:51,596 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:51,596 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 3 is present for follower follower294 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower294: AppendEntries [leaderId=leader292, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 3 is present for follower follower293 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log three 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 2 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 3, nextIndex: 4 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Number of entries to be appended = 1 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Append entry to log three 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Log size is now 1 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,597 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 2 (of expected -1) 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 3 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 2 to 3 12:41:51,597 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 3 data three 12:41:51,598 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: three 12:41:51,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: fakeSnapshot purging log to 2 for term 6 12:41:51,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: 3, nextIndex: 4 12:41:51,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 12:41:51,598 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=3 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,598 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Commit index set to 3 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 3 (of expected -1) 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Setting last applied to 3 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from 2 to 3 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying state for log index 3 data three 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applyState called: three 12:41:51,598 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Persisting ApplyJournalEntries with index=3 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 3 12:41:51,817 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 3 (of expected -1) 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 3 (of expected -1) 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 3 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 2 to 3 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 3 data three 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: three 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: fakeSnapshot purging log to 2 for term 6 12:41:51,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=3 12:41:51,848 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 4 is present for follower follower294 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower294: AppendEntries [leaderId=leader292, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:51,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 4 is present for follower follower293 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Number of entries to be appended = 1 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Append entry to log four 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log four 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 2 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Log size is now 2 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 3 (of expected -1) 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 3 (of expected -1) 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 4, nextIndex: 5 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: 4, nextIndex: 5 12:41:51,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: lastSequenceNumber prior to capture: 11 12:41:51,850 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 4 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 3 to 4 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 4 data four 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: four 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: CaptureSnapshotReply received by actor 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting of snapshot done: Snapshot [lastIndex=4, lastTerm=6, lastAppliedIndex=3, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three]], electionTerm=6, electionVotedFor=leader292, ServerConfigPayload=null] 12:41:51,850 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:41:51,850 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=4 12:41:51,850 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SaveSnapshotSuccess received for snapshot, sequenceNr: 11 12:41:51,851 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Snapshot success - sequence number: 11 12:41:51,851 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SnapshotComplete received 12:41:51,851 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a snapshot response 12:41:51,851 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: handled a journal response 12:41:51,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 5 is present for follower follower294 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower294: AppendEntries [leaderId=leader292, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 5 is present for follower follower293 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Number of entries to be appended = 1 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Append entry to log five 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 5 is present for follower follower294 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 12:41:51,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 5 is present for follower follower293 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log five 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Log size is now 3 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Commit index set to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 3 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 4 (of expected -1) 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Setting last applied to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 4 (of expected -1) 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from 3 to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: 5, nextIndex: 6 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying state for log index 4 data four 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: fakeSnapshot purging log to 3 for term 6 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 3 to 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 4 data four 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 6 is present for follower follower294 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower294: AppendEntries [leaderId=leader292, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: four 12:41:51,899 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applyState called: four 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 5, nextIndex: 6 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): sendAppendEntries: 6 is present for follower follower293 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Sending AppendEntries to follower follower293: AppendEntries [leaderId=leader292, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 5 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 4 to 5 12:41:51,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 5 data five 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: five 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: fakeSnapshot purging log to 4 for term 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=5 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=4 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Number of entries to be appended = 1 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Append entry to log six 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries: AppendEntries [leaderId=leader292, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Log size is now 4 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Number of entries to be appended = 1 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Append entry to log six 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower294, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 4 (of expected -1) 12:41:51,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: fakeSnapshot purging log to 3 for term 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower294 updated: matchIndex: 6, nextIndex: 7 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Log size is now 4 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Setting last applied to 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 5 to 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Applying state for log index 6 data six 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower293, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 4 (of expected -1) 12:41:51,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: fakeSnapshot purging log to 3 for term 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: applyState called: six 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: fakeSnapshot purging log to 5 for term 6 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower294: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower293 updated: matchIndex: 6, nextIndex: 7 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Checking sendAppendEntries for follower follower293: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 12:41:51,900 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Persisting ApplyJournalEntries with index=6 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Commit index set to 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 6 (of expected -1) 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 5 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 4 to 5 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 5 data five 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: five 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293 (Follower): Setting last applied to 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Moving last applied index from 5 to 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Applying state for log index 6 data six 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: applyState called: six 12:41:51,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: fakeSnapshot purging log to 5 for term 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower293: Persisting ApplyJournalEntries with index=6 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Persisting ApplyJournalEntries with index=4 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Commit index set to 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 6 (of expected -1) 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Setting last applied to 5 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from 4 to 5 12:41:51,901 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying state for log index 5 data five 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applyState called: five 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294 (Follower): Setting last applied to 6 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Moving last applied index from 5 to 6 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Applying state for log index 6 data six 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: applyState called: six 12:41:51,902 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: fakeSnapshot purging log to 5 for term 6 12:41:51,902 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower294: Persisting ApplyJournalEntries with index=6 12:41:52,56 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower294: Lagging 0 entries behind leader leader292 and reached 6 (of expected -1) 12:41:52,56 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower293: Lagging 0 entries behind leader leader292 and reached 6 (of expected -1) 12:41:52,101 AM [main] [INFO] InMemoryJournal - Journal log for leader292: 12 = ApplyJournalEntries [toIndex=4] 13 = SimpleReplicatedLogEntry [index=5, term=6, payload=five] 14 = SimpleReplicatedLogEntry [index=6, term=6, payload=six] 15 = ApplyJournalEntries [toIndex=5] 16 = ApplyJournalEntries [toIndex=6] 12:41:52,103 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 12:41:52,103 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 [WARN] [12/02/2025 00:41:52.116] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader292]: org.opendaylight.controller.cluster.common.actor.Monitor@3e668e4b 12:41:52,117 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader292 with journal batch size 1000 12:41:52,117 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: SnapshotOffer called. 12:41:52,117 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from -1 to 3 12:41:52,118 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Set currentTerm=6, votedFor=leader292 12:41:52,118 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader292 in 144.6 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Received apply journal entries for recovery, applying to state: 4 to 4 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 3 to 4 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Received ReplicatedLogEntry for recovery: index: 5, size: 4 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Received ReplicatedLogEntry for recovery: index: 6, size: 3 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Received apply journal entries for recovery, applying to state: 5 to 5 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 4 to 5 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Received apply journal entries for recovery, applying to state: 6 to 6 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Moving last applied index from 5 to 6 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Recovery completed in 2.423 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 12:41:52,120 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 12:41:52,120 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 12:41:52,120 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower293-collector295#1196201169] 12:41:52,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Follower): Received TimeoutNow - switching to Candidate 12:41:52,121 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Election: Candidate has following voting peers: [] 12:41:52,121 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292: Set currentTerm=7, votedFor=leader292 12:41:52,121 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Starting new election term 7 12:41:52,121 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 12:41:52,122 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate): Received ElectionTimeout 12:41:52,122 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Leader): Election: Leader has following peers: [] 12:41:52,122 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader292 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 12:41:52,131 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower293] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower294-collector296#765840826] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower294] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader292-collector297#-1874617359] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader292] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader292-collector298#1923023178] 12:41:52,132 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader292] [INFO] [12/02/2025 00:41:52.133] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:41:52,134 AM [test-akka.actor.default-dispatcher-16] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [12/02/2025 00:41:52.134] [test-akka.actor.default-dispatcher-16] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.15:25520) 12:41:52,136 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Exiting completed 12:41:52,136 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Shutting down... 12:41:52,136 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.15:25520] - Successfully shut down [INFO] [12/02/2025 00:41:52.135] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Exiting completed [INFO] [12/02/2025 00:41:52.135] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Shutting down... 12:41:52,136 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [12/02/2025 00:41:52.135] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.15:25520] - Successfully shut down [INFO] [12/02/2025 00:41:52.136] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.15:25520/system/remoting-terminator] Shutting down remote daemon. 12:41:52,136 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [12/02/2025 00:41:52.136] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.15:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [12/02/2025 00:41:52.139] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.15:25520/system/remoting-terminator] Remoting shut down. 12:41:52,139 AM [test-akka.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [12/02/2025 00:41:52.139] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger