[DEBUG] [04/11/2024 01:14:21.467] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:14:21,468 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [04/11/2024 01:14:21.468] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [04/11/2024 01:14:21.468] [main] [EventStream(akka://test)] Default Loggers started [INFO] [04/11/2024 01:14:21.479] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.228:25520] with UID [-541313296446767885] [INFO] [04/11/2024 01:14:21.480] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Starting up, Akka version [2.6.21] ... 01:14:21,480 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.228:25520] with UID [-541313296446767885] 01:14:21,480 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Starting up, Akka version [2.6.21] ... [INFO] [04/11/2024 01:14:21.483] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [04/11/2024 01:14:21.483] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Started up successfully 01:14:21,483 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:14:21,483 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Started up successfully 01:14:21,491 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads 01:14:21,494 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:14:21,494 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:14:21,495 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower762] 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'. 01:14:21,497 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower762 with journal batch size 1000 [INFO] [04/11/2024 01:14:21.492] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [04/11/2024 01:14:21.492] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [04/11/2024 01:14:21.498] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower762]: org.opendaylight.controller.cluster.common.actor.Monitor@76e64fe8 [INFO] [akkaDeadLetter][04/11/2024 01:14:21.494] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower762] 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'. 01:14:21,503 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:21.594] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower763]: org.opendaylight.controller.cluster.common.actor.Monitor@2ac29518 [INFO] [akkaDeadLetter][04/11/2024 01:14:21.595] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower763] 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'. 01:14:21,595 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower763] 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'. 01:14:21,595 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower763 with journal batch size 1000 01:14:21,596 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:21.696] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader761]: org.opendaylight.controller.cluster.common.actor.Monitor@41d66a10 [INFO] [akkaDeadLetter][04/11/2024 01:14:21.696] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader761] 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'. 01:14:21,696 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader761 with journal batch size 1000 01:14:21,696 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader761] 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'. 01:14:21,698 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Set currentTerm=5, votedFor=leader761 01:14:21,698 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:22,169 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.228:25520, Removed) 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Follower): Received ElectionTimeout - switching to Candidate 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): Election: Candidate has following voting peers: [follower762, follower763] 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Set currentTerm=6, votedFor=leader761 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): Starting new election term 6 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): Sending RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] to peer follower762 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): Sending RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] to peer follower763 01:14:22,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:22,170 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:14:22,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Cluster state: [] 01:14:22,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:22,170 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:22,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Set currentTerm=6, votedFor=null 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): In requestVote: RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Set currentTerm=6, votedFor=leader761 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Cluster state: [] 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Set currentTerm=6, votedFor=null 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): In requestVote: RequestVote [term=6, candidateId=leader761, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Set currentTerm=6, votedFor=leader761 01:14:22,171 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Election: Leader has following peers: [follower762, follower763] 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower763: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:22,172 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:14:22,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower762: Last sync leader does not match current leader leader761, need to catch up to -1 01:14:22,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower762 updated: matchIndex: -1, nextIndex: 0 01:14:22,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:22,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower763: Last sync leader does not match current leader leader761, need to catch up to -1 01:14:22,173 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower762] 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'. 01:14:22,173 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower763 updated: matchIndex: -1, nextIndex: 0 01:14:22,173 AM [test-akka.actor.default-dispatcher-14] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower763] 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'. 01:14:22,173 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower763: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:14:22.173] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower762] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69dc86d1 [INFO] [akkaDeadLetter][04/11/2024 01:14:22.173] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower762] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower762] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [04/11/2024 01:14:22.174] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower763] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c5d8932 [INFO] [akkaDeadLetter][04/11/2024 01:14:22.173] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower763] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower763] 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'. 01:14:22,199 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower762 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower762: AppendEntries [leaderId=leader761, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower763: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower763 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower763: AppendEntries [leaderId=leader761, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,199 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): handleAppendEntries: AppendEntries [leaderId=leader761, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:22,199 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Number of entries to be appended = 1 01:14:22,199 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:22,199 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Append entry to log zero 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:22,199 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower762 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower763: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:22,199 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower763 01:14:22,200 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Log size is now 1 01:14:22,200 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower762, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:22,200 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached -1 (of expected -1) 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower762 updated: matchIndex: 0, nextIndex: 1 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 1 is present for follower follower762 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower762: AppendEntries [leaderId=leader761, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Setting last applied to 0 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Moving last applied index from -1 to 0 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Applying state for log index 0 data zero 01:14:22,200 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: applyState called: zero 01:14:22,200 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): handleAppendEntries: AppendEntries [leaderId=leader761, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Number of entries to be appended = 1 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Append entry to log one 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [04/11/2024 01:14:22.201] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower762] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4149dc3 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Log size is now 2 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower762, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached -1 (of expected -1) [INFO] [akkaDeadLetter][04/11/2024 01:14:22.201] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower762] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower762] 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'. 01:14:22,201 AM [test-akka.actor.default-dispatcher-14] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower762] 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'. 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Persisting ApplyJournalEntries with index=0 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower762 updated: matchIndex: 1, nextIndex: 2 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower762: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Setting last applied to 1 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Moving last applied index from 0 to 1 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Applying state for log index 1 data one 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: applyState called: one 01:14:22,201 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: Persisting ApplyJournalEntries with index=1 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Commit index set to 0 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached 0 (of expected -1) 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Setting last applied to 0 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Moving last applied index from -1 to 0 01:14:22,203 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Applying state for log index 0 data zero 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: applyState called: zero 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Commit index set to 1 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762 (Follower): Setting last applied to 1 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Moving last applied index from 0 to 1 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Applying state for log index 1 data one 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: applyState called: one 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Persisting ApplyJournalEntries with index=0 01:14:22,204 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: Persisting ApplyJournalEntries with index=1 01:14:22,290 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower763 01:14:22,290 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower763: AppendEntries [leaderId=leader761, 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]]] 01:14:22,410 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower763 01:14:22,410 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower763: AppendEntries [leaderId=leader761, 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]]] 01:14:22,410 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,452 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower763 01:14:22,530 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): sendAppendEntries: 0 is present for follower follower763 01:14:22,530 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Sending AppendEntries to follower follower763: AppendEntries [leaderId=leader761, 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]]] 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): handleAppendEntries: AppendEntries [leaderId=leader761, 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]]] 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Number of entries to be appended = 2 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Append entry to log zero 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Append entry to log one 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Log size is now 2 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Commit index set to 1 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower763, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower763: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Setting last applied to 0 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Moving last applied index from -1 to 0 01:14:22,530 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower763 updated: matchIndex: 1, nextIndex: 2 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Applying state for log index 0 data zero 01:14:22,530 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761: fakeSnapshot purging log to 0 for term 6 01:14:22,530 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader761 (Leader): Checking sendAppendEntries for follower follower763: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: applyState called: zero 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763 (Follower): Setting last applied to 1 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Moving last applied index from 0 to 1 01:14:22,530 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Applying state for log index 1 data one 01:14:22,531 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: applyState called: one 01:14:22,531 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:22,531 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:22,531 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: Persisting ApplyJournalEntries with index=1 [WARN] [04/11/2024 01:14:22.532] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower763] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7f39caa1 [INFO] [akkaDeadLetter][04/11/2024 01:14:22.532] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower763] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower763] 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'. 01:14:22,532 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower763] 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'. 01:14:22,650 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower763: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,650 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower762: Lagging 0 entries behind leader leader761 and reached 1 (of expected -1) 01:14:22,650 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower763: fakeSnapshot purging log to 0 for term 6 01:14:22,650 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower762: fakeSnapshot purging log to 0 for term 6 01:14:22,653 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 01:14:22,653 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower762-collector764#56989351] 01:14:22,665 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower762] 01:14:22,665 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower763-collector765#-57754791] 01:14:22,666 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower763] 01:14:22,666 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader761-collector766#-11332711] 01:14:22,666 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader761] 01:14:22,667 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting [WARN] [04/11/2024 01:14:22.669] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower771]: org.opendaylight.controller.cluster.common.actor.Monitor@7c7ae8d1 [INFO] [akkaDeadLetter][04/11/2024 01:14:22.669] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower771] 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'. 01:14:22,669 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower771] 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'. 01:14:22,669 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower771 with journal batch size 1000 01:14:22,671 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:22.770] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower772]: org.opendaylight.controller.cluster.common.actor.Monitor@703be27e 01:14:22,770 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower772] 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'. [INFO] [akkaDeadLetter][04/11/2024 01:14:22.770] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower772] 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'. 01:14:22,771 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower772 with journal batch size 1000 01:14:22,772 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:22.872] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader770]: org.opendaylight.controller.cluster.common.actor.Monitor@60bbf28d [INFO] [akkaDeadLetter][04/11/2024 01:14:22.873] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader770] 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'. 01:14:22,873 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader770] 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'. 01:14:22,873 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader770 with journal batch size 1000 01:14:22,874 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Set currentTerm=5, votedFor=leader770 01:14:22,875 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.228:25520, Removed) 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Follower): Received ElectionTimeout - switching to Candidate 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): Election: Candidate has following voting peers: [follower772, follower771] 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Set currentTerm=6, votedFor=leader770 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): Starting new election term 6 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): Sending RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] to peer follower772 01:14:23,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): Sending RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] to peer follower771 01:14:23,341 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Cluster state: [] 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Set currentTerm=6, votedFor=null 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): In requestVote: RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Set currentTerm=6, votedFor=leader770 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Cluster state: [] 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:23,341 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Set currentTerm=6, votedFor=null 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): In requestVote: RequestVote [term=6, candidateId=leader770, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Set currentTerm=6, votedFor=leader770 01:14:23,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:23,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:14:23,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Election: Leader has following peers: [follower772, follower771] 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:14:23,342 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower772: Last sync leader does not match current leader leader770, need to catch up to -1 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower772 updated: matchIndex: -1, nextIndex: 0 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:23,342 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower771: Last sync leader does not match current leader leader770, need to catch up to -1 [WARN] [04/11/2024 01:14:23.342] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower772] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@11f168b0 [WARN] [04/11/2024 01:14:23.342] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower771] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@44b11b01 01:14:23,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: -1, nextIndex: 0 01:14:23,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:23,375 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 0 is present for follower follower772 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower772: AppendEntries [leaderId=leader770, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 0 is present for follower follower771 01:14:23,375 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:23,375 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Number of entries to be appended = 1 01:14:23,375 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:23,375 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Append entry to log zero 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,375 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,375 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Log size is now 1 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 0 is present for follower follower772 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower772, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached -1 (of expected -1) 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 0 is present for follower follower771 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower772 updated: matchIndex: 0, nextIndex: 1 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 1 is present for follower follower772 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:23,376 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower772: AppendEntries [leaderId=leader770, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log zero 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 1 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:23,376 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached -1 (of expected -1) 01:14:23,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 0, nextIndex: 1 01:14:23,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:23,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 1 is present for follower follower771 01:14:23,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 0 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from -1 to 0 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 0 data zero 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: zero 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=0 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Number of entries to be appended = 1 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Append entry to log one 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Log size is now 2 [WARN] [04/11/2024 01:14:23.377] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower772] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@56e509a9 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower772, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:23,377 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached -1 (of expected -1) 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower772 updated: matchIndex: 1, nextIndex: 2 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 [WARN] [04/11/2024 01:14:23.377] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower771] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4475ccf7 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log one 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 2 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 1 01:14:23,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached -1 (of expected -1) 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 0 to 1 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 1 data one 01:14:23,377 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: one 01:14:23,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: fakeSnapshot purging log to 0 for term 6 01:14:23,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 1, nextIndex: 2 01:14:23,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:23,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=1 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 1 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Commit index set to 0 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached 0 (of expected -1) 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 0 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from -1 to 0 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Setting last applied to 0 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 0 data zero 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Moving last applied index from -1 to 0 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Applying state for log index 0 data zero 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: zero 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 1 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 0 to 1 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 1 data one 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: one 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: fakeSnapshot purging log to 0 for term 6 01:14:23,379 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=1 01:14:23,379 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: applyState called: zero 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Persisting ApplyJournalEntries with index=0 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Commit index set to 1 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Setting last applied to 1 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Moving last applied index from 0 to 1 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Applying state for log index 1 data one 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: applyState called: one 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: fakeSnapshot purging log to 0 for term 6 01:14:23,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Persisting ApplyJournalEntries with index=1 01:14:23,580 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,580 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,700 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,820 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:23,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:24,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 2 is present for follower follower771 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log two 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 2 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 2 is present for follower follower771 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 2, nextIndex: 3 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 3 is present for follower follower771 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:14:24,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:24,34 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 3 is present for follower follower771 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log three 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 3 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 3 is present for follower follower771 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 3, nextIndex: 4 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 4 is present for follower follower771 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, 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]]] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 4, leaderLastIndex: 6, leaderSnapShotIndex: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 4 is present for follower follower771 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, 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]]] 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 2 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log four 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 2 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 1 to 2 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 2 data two 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log five 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: two 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: fakeSnapshot purging log to 1 for term 6 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 5 01:14:24,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=2 01:14:24,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 5, nextIndex: 6 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 1 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 6 is present for follower follower771 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: lastSequenceNumber prior to capture: 8 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log six 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 3 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 2 to 3 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 3 data three 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 6 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 2 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: three 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 2 (of expected -1) 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 2 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: CaptureSnapshotReply received by actor 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 1 to 2 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 2 data two 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: two 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: 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=leader770, ServerConfigPayload=null] 01:14:24,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: fakeSnapshot purging log to 1 for term 6 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 01:14:24,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 6, nextIndex: 7 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=3 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=2 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 4 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 3 to 4 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 4 data four 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: four 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=4 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 3 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 3 (of expected -1) 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 3 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 2 to 3 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 5 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 3 data three 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 4 to 5 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 5 data five 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: five 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: three 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=3 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=5 01:14:24,37 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:24,37 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 5 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 5 (of expected -1) 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 4 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 3 to 4 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 4 data four 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 5 to 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 6 data six 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: six 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: four 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 5 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 4 to 5 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 5 data five 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: five 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=6 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Snapshot success - sequence number: 8 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 6 (of expected -1) 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 5 to 6 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 6 data six 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: six 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=5 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SnapshotComplete received 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a snapshot response 01:14:24,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a journal response 01:14:24,38 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=6 01:14:24,84 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 7 is present for follower follower771 01:14:24,84 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log seven 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 6 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 6 (of expected -1) 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 7, nextIndex: 8 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: lastSequenceNumber prior to capture: 17 01:14:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 7 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 6 to 7 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 7 data seven 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: applyState called: seven 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: CaptureSnapshotReply received by actor 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: 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=leader770, ServerConfigPayload=null] 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=7 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Snapshot success - sequence number: 17 01:14:24,85 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SnapshotComplete received 01:14:24,86 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a snapshot response 01:14:24,86 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a journal response 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 7 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 7 (of expected -1) 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 7 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 6 to 7 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 7 data seven 01:14:24,300 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: applyState called: seven 01:14:24,301 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=7 01:14:24,336 AM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Updated server config: isVoting: true, peers: [PeerInfo [id=follower772, address=akka://test/user/follower772, votingState=NON_VOTING], PeerInfo [id=follower771, address=akka://test/user/follower771, votingState=NON_VOTING]] 01:14:24,336 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]] 01:14:24,336 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, isSendImmediate: true 01:14:24,337 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower772: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 01:14:24,337 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 01:14:24,337 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendAppendEntries: 8 is present for follower follower771 01:14:24,337 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Sending AppendEntries to follower follower771: AppendEntries [leaderId=leader770, 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=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries: AppendEntries [leaderId=leader770, 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=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Number of entries to be appended = 1 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Updated server config: isVoting: false, peers: [PeerInfo [id=follower772, address=akka://test/user/follower772, votingState=NON_VOTING], PeerInfo [id=leader770, address=akka://test/user/leader770, votingState=VOTING]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Log size is now 7 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower771, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 7 (of expected -1) 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower771 updated: matchIndex: 8, nextIndex: 9 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Checking sendAppendEntries for follower follower771: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]] 01:14:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 01:14:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Setting last applied to 8 01:14:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Moving last applied index from 7 to 8 01:14:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]] 01:14:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Persisting ApplyJournalEntries with index=8 01:14:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]]] 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Commit index set to 8 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 8 (of expected -1) 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771 (Follower): Setting last applied to 8 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Moving last applied index from 7 to 8 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader770, isVoting=true], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=follower772, isVoting=false]]] 01:14:24,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: Persisting ApplyJournalEntries with index=8 01:14:24,588 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 01:14:24,660 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 8 (of expected -1) 01:14:24,660 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower772: Lagging -2 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,660 AM [test-akka.actor.default-dispatcher-13] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower772, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1079, lastApplied : 8, commitIndex : 8 01:14:24,660 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Initiating install snapshot to follower follower772: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 01:14:24,660 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: 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 follower772 01:14:24,660 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: lastSequenceNumber prior to capture: 20 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: CaptureSnapshotReply received by actor 01:14:24,661 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower772: Lagging -2 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: 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=leader770, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower772, isVoting=false], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=leader770, isVoting=true]]]] 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): sendInstallSnapshot 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader770 (Leader): Snapshot 431 bytes, total chunks to send: 1 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader770 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): next snapshot chunk size for follower follower772: 431 01:14:24,661 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): InstallSnapshot sent to follower Vector(user, follower772), Chunk: 1/1 01:14:24,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader770, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower772, isVoting=false], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=leader770, isVoting=true]]]] 01:14:24,662 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SaveSnapshotSuccess received for snapshot, sequenceNr: 20 01:14:24,662 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: Snapshot success - sequence number: 20 01:14:24,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower772: Lagging 7 entries behind leader leader770 and reached 1 (of expected -1) 01:14:24,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:14:24,662 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): Snapshot installed from leader: leader770 01:14:24,662 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: SnapshotComplete received 01:14:24,662 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a journal response 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: 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=leader770, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower772, isVoting=false], ServerInfo[peerId=follower771, isVoting=false], ServerInfo[peerId=leader770, isVoting=true]]]] 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 01:14:24,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: handled a snapshot response 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Snapshot success - sequence number: 6 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Moving last applied index from 1 to 8 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Set currentTerm=6, votedFor=leader770 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: Updated server config: isVoting: false, peers: [PeerInfo [id=leader770, address=akka://test/user/leader770, votingState=VOTING], PeerInfo [id=follower771, address=akka://test/user/follower771, votingState=NON_VOTING]] 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: applySnapshot called 01:14:24,663 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower772, chunkIndex=1, success=true] 01:14:24,663 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower772, chunkIndex=1, success=true] 01:14:24,664 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: SnapshotComplete received 01:14:24,664 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader770 (Leader): Snapshot successfully installed on follower follower772 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 01:14:24,664 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader770: fakeSnapshot purging log to 7 for term 6 01:14:24,664 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: handled a journal response 01:14:24,664 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower772: handled a snapshot response 01:14:24,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower772: Lagging 0 entries behind leader leader770 and reached 8 (of expected -1) 01:14:24,780 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower771: Lagging 0 entries behind leader leader770 and reached 8 (of expected -1) 01:14:24,780 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower771: fakeSnapshot purging log to 7 for term 6 01:14:24,791 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 01:14:24,791 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 01:14:24,791 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower771-collector773#427573787] 01:14:24,802 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower771] 01:14:24,802 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower772-collector774#683061287] 01:14:24,803 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower772] 01:14:24,803 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader770-collector775#1418161571] 01:14:24,803 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader770] 01:14:24,804 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting [WARN] [04/11/2024 01:14:24.805] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower780]: org.opendaylight.controller.cluster.common.actor.Monitor@771d3157 01:14:24,806 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower780 with journal batch size 1000 [WARN] [04/11/2024 01:14:24.807] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower781]: org.opendaylight.controller.cluster.common.actor.Monitor@7e21a125 01:14:24,807 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower781 with journal batch size 1000 01:14:24,807 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:24,808 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader779 with journal batch size 1000 [WARN] [04/11/2024 01:14:24.809] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader779]: org.opendaylight.controller.cluster.common.actor.Monitor@79f5fb4c 01:14:24,819 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:24,820 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Set currentTerm=5, votedFor=leader779 01:14:24,820 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.228:25520, Removed) 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Follower): Received ElectionTimeout - switching to Candidate 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): Election: Candidate has following voting peers: [follower780, follower781] 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Set currentTerm=6, votedFor=leader779 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): Starting new election term 6 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): Sending RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] to peer follower780 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): Sending RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] to peer follower781 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:25,340 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Cluster state: [] 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Cluster state: [] 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Set currentTerm=6, votedFor=null 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Set currentTerm=6, votedFor=null 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): In requestVote: RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Set currentTerm=6, votedFor=leader779 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): In requestVote: RequestVote [term=6, candidateId=leader779, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:25,340 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Set currentTerm=6, votedFor=leader779 01:14:25,340 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:25,341 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:14:25,341 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:14:25,341 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Election: Leader has following peers: [follower780, follower781] 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:14:25,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower780: Last sync leader does not match current leader leader779, need to catch up to -1 01:14:25,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower781: Last sync leader does not match current leader leader779, need to catch up to -1 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: -1, nextIndex: 0 [WARN] [04/11/2024 01:14:25.342] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower781] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f8163b2 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:14:25.342] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower780] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24a03668 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower781 updated: matchIndex: -1, nextIndex: 0 01:14:25,342 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:25,373 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 0 is present for follower follower780 01:14:25,373 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 0 is present for follower follower781 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log zero 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 0 is present for follower follower780 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 0 is present for follower follower781 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached -1 (of expected -1) 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 0, nextIndex: 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 1 is present for follower follower780 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Number of entries to be appended = 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log zero 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Log size is now 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower781, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached -1 (of expected -1) 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower781 updated: matchIndex: 0, nextIndex: 1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 1 is present for follower follower781 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 0 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from -1 to 0 01:14:25,374 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 0 data zero 01:14:25,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,375 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: zero 01:14:25,375 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=0 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,375 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log one 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [04/11/2024 01:14:25.375] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower780] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@ec11aa2 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 2 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached -1 (of expected -1) 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] [WARN] [04/11/2024 01:14:25.375] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower781] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28408660 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Number of entries to be appended = 1 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 1, nextIndex: 2 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log one 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 1 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from 0 to 1 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 1 data one 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Log size is now 2 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: one 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower781, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached -1 (of expected -1) 01:14:25,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: fakeSnapshot purging log to 0 for term 6 01:14:25,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower781 updated: matchIndex: 1, nextIndex: 2 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Commit index set to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 1 (of expected -1) 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from -1 to 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 0 data zero 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: zero 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from 0 to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 1 data one 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: one 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Commit index set to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: fakeSnapshot purging log to 0 for term 6 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 1 (of expected -1) 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Persisting ApplyJournalEntries with index=1 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from -1 to 0 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 0 data zero 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: zero 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from 0 to 1 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 1 data one 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: one 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: fakeSnapshot purging log to 0 for term 6 01:14:25,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Persisting ApplyJournalEntries with index=1 01:14:25,579 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 1 (of expected -1) 01:14:25,580 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 1 (of expected -1) 01:14:25,625 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,625 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,625 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower780 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log two 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 2 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 1 (of expected -1) 01:14:25,626 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 2, nextIndex: 3 01:14:25,626 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:25,626 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 2 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from 1 to 2 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 2 data two 01:14:25,627 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: two 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: fakeSnapshot purging log to 1 for term 6 01:14:25,627 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=2 01:14:25,700 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,700 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:25,820 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,820 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Commit index set to 2 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 2 (of expected -1) 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 2 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from 1 to 2 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 2 data two 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: two 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: fakeSnapshot purging log to 1 for term 6 01:14:25,820 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Persisting ApplyJournalEntries with index=2 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 3 is present for follower follower780 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:25,827 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log three 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 2 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 2 (of expected -1) 01:14:25,827 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 3, nextIndex: 4 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: lastSequenceNumber prior to capture: 9 01:14:25,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 3 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from 2 to 3 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 3 data three 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: three 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: CaptureSnapshotReply received by actor 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: 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=leader779, ServerConfigPayload=null] 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 01:14:25,828 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=3 01:14:25,829 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: SaveSnapshotSuccess received for snapshot, sequenceNr: 9 01:14:25,829 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Snapshot success - sequence number: 9 01:14:25,829 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: SnapshotComplete received 01:14:25,829 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: handled a journal response 01:14:25,829 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: handled a snapshot response 01:14:25,877 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 01:14:25,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 4 is present for follower follower780 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, 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]]] 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log four 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 3 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Commit index set to 3 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 4 is present for follower follower780 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 3 (of expected -1) 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 3 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from 2 to 3 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 3 data three 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 4, nextIndex: 5 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 5 is present for follower follower780 01:14:25,878 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: three 01:14:25,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower780: AppendEntries [leaderId=leader779, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 4 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from 3 to 4 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 4 data four 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: four 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=4 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Persisting ApplyJournalEntries with index=3 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Number of entries to be appended = 1 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Append entry to log five 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Log size is now 4 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower780, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,879 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 3 (of expected -1) 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower780 updated: matchIndex: 5, nextIndex: 6 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Setting last applied to 5 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Moving last applied index from 4 to 5 01:14:25,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Applying state for log index 5 data five 01:14:25,880 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: applyState called: five 01:14:25,880 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower780: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 01:14:25,880 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: Persisting ApplyJournalEntries with index=5 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Commit index set to 5 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 4 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from 3 to 4 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 4 data four 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: four 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780 (Follower): Setting last applied to 5 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Moving last applied index from 4 to 5 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Applying state for log index 5 data five 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: applyState called: five 01:14:25,880 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: Persisting ApplyJournalEntries with index=5 01:14:25,939 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): sendAppendEntries: 2 is present for follower follower781 01:14:25,939 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Sending AppendEntries to follower follower781: AppendEntries [leaderId=leader779, 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]]] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries: AppendEntries [leaderId=leader779, 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]]] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Number of entries to be appended = 4 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log two 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log three 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log four 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Append entry to log five 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Log size is now 5 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Commit index set to 5 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower781, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 2 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from 1 to 2 01:14:25,940 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower781 updated: matchIndex: 5, nextIndex: 6 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 2 data two 01:14:25,940 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779: fakeSnapshot purging log to 4 for term 6 01:14:25,940 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader779 (Leader): Checking sendAppendEntries for follower follower781: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: two 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 3 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from 2 to 3 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 3 data three 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: three 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 4 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from 3 to 4 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 4 data four 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: four 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781 (Follower): Setting last applied to 5 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Moving last applied index from 4 to 5 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Applying state for log index 5 data five 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: applyState called: five 01:14:25,940 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: fakeSnapshot purging log to 1 for term 6 01:14:25,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:25,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:25,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:25,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:25,942 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: Persisting ApplyJournalEntries with index=5 01:14:26,60 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,60 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,60 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower781: fakeSnapshot purging log to 4 for term 6 01:14:26,60 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower780: fakeSnapshot purging log to 4 for term 6 01:14:26,179 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,180 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower780: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower781: Lagging 0 entries behind leader leader779 and reached 5 (of expected -1) 01:14:26,331 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 01:14:26,331 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower780-collector782#997017299] 01:14:26,342 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower780] 01:14:26,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower781-collector783#-241946239] 01:14:26,343 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower781] 01:14:26,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader779-collector784#663252315] 01:14:26,343 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader779] 01:14:26,344 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting [WARN] [04/11/2024 01:14:26.346] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower789]: org.opendaylight.controller.cluster.common.actor.Monitor@3b478d21 01:14:26,346 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower789 with journal batch size 1000 01:14:26,348 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:26.348] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower790]: org.opendaylight.controller.cluster.common.actor.Monitor@74adcfe0 01:14:26,348 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower790 with journal batch size 1000 [WARN] [04/11/2024 01:14:26.350] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader788]: org.opendaylight.controller.cluster.common.actor.Monitor@4e225b6 01:14:26,350 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader788 with journal batch size 1000 01:14:26,354 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Set currentTerm=5, votedFor=leader788 01:14:26,354 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:26,354 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.228:25520, Removed) 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Follower): Received ElectionTimeout - switching to Candidate 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): Election: Candidate has following voting peers: [follower789, follower790] 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Set currentTerm=6, votedFor=leader788 01:14:26,810 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): Starting new election term 6 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): Sending RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] to peer follower789 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): Sending RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] to peer follower790 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Cluster state: [] 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Set currentTerm=6, votedFor=null 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): In requestVote: RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Set currentTerm=6, votedFor=leader788 01:14:26,811 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Cluster state: [] 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=null 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): In requestVote: RequestVote [term=6, candidateId=leader788, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=leader788 01:14:26,811 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Election: Leader has following peers: [follower789, follower790] 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:14:26,812 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower789: Last sync leader does not match current leader leader788, need to catch up to -1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: -1, nextIndex: 0 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower790: Last sync leader does not match current leader leader788, need to catch up to -1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower790 updated: matchIndex: -1, nextIndex: 0 [WARN] [04/11/2024 01:14:26.812] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower789] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b06ebe1 01:14:26,812 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:14:26.812] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@367b43f4 01:14:26,857 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 0 is present for follower follower789 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 0 is present for follower follower790 01:14:26,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower790: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 0 is present for follower follower789 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 0 is present for follower follower790 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log zero 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Number of entries to be appended = 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Append entry to log zero 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Log size is now 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower790, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:26,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached -1 (of expected -1) 01:14:26,858 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower790: Lagging 0 entries behind leader leader788 and reached -1 (of expected -1) 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 0, nextIndex: 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 1 is present for follower follower789 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower790 updated: matchIndex: 0, nextIndex: 1 01:14:26,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 1 is present for follower follower790 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower790: AppendEntries [leaderId=leader788, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 0 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from -1 to 0 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 0 data zero 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: zero 01:14:26,859 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=0 01:14:26,859 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Number of entries to be appended = 1 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Append entry to log one 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Log size is now 2 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 1 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower790, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower790: Lagging 0 entries behind leader leader788 and reached -1 (of expected -1) 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log one 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower790 updated: matchIndex: 1, nextIndex: 2 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:14:26.860] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51b92a07 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 2 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 1 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 0 to 1 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 1 data one 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:26,860 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached -1 (of expected -1) 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: one 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: fakeSnapshot purging log to 0 for term 6 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 1, nextIndex: 2 [WARN] [04/11/2024 01:14:26.860] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower789] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ba98598 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:26,860 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Commit index set to 0 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower790: Lagging 0 entries behind leader leader788 and reached 0 (of expected -1) 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Setting last applied to 0 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from -1 to 0 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Applying state for log index 0 data zero 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: applyState called: zero 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Persisting ApplyJournalEntries with index=0 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 0 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from -1 to 0 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 0 data zero 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: zero 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 0 to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 1 data one 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: one 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: fakeSnapshot purging log to 0 for term 6 01:14:26,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Commit index set to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower790: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Setting last applied to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from 0 to 1 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Applying state for log index 1 data one 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: applyState called: one 01:14:26,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: fakeSnapshot purging log to 0 for term 6 01:14:26,862 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Persisting ApplyJournalEntries with index=1 01:14:27,50 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower790: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,50 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) [WARN] [04/11/2024 01:14:27.170] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,290 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) [WARN] [04/11/2024 01:14:27.290] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,410 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) [WARN] [04/11/2024 01:14:27.410] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 2 is present for follower follower789 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 1 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log two 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:27,465 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:27,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 2 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 2 is present for follower follower789 01:14:27,466 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 2, nextIndex: 3 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 3 is present for follower follower789 [WARN] [04/11/2024 01:14:27.466] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] [WARN] [04/11/2024 01:14:27.466] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 3 is present for follower follower789 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true [WARN] [04/11/2024 01:14:27.466] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 3 is present for follower follower789 01:14:27,466 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 01:14:27,466 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:27,466 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] [WARN] [04/11/2024 01:14:27.466] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,466 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 3 is present for follower follower789 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 [WARN] [04/11/2024 01:14:27.467] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:27,467 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 2 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 1 to 2 01:14:27,467 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 2 data two 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 1 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log three 01:14:27,468 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: two 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:27,468 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: fakeSnapshot purging log to 1 for term 6 01:14:27,468 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=2 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 3 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 3, nextIndex: 4 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 4, leaderLastIndex: 6, leaderSnapShotIndex: 1 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 4 is present for follower follower789 01:14:27,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=3, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: lastSequenceNumber prior to capture: 8 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 3 01:14:27,468 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 2 to 3 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 3 data three 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: three 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=3, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: CaptureSnapshotReply received by actor 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 3 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log four 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log five 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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=leader788, ServerConfigPayload=null] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log six 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=3 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 6 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 2 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 2 (of expected -1) 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 2 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 1 to 2 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 2 data two 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 6, nextIndex: 7 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: two 01:14:27,469 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: fakeSnapshot purging log to 1 for term 6 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 4 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 3 to 4 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 4 data four 01:14:27,469 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: four 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=4 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 4 to 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 5 data five 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=2 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: five 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 3 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=5 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 3 (of expected -1) 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 3 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 2 to 3 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 3 data three 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: three 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=3 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 5 (of expected -1) 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 6 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 6 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 4 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 5 to 6 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 3 to 4 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 6 data six 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 4 data four 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: four 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 4 to 5 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 5 data five 01:14:27,470 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: six 01:14:27,470 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: five 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=5 01:14:27,471 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=6 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 6 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 6 (of expected -1) 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 6 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 5 to 6 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 6 data six 01:14:27,471 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: six 01:14:27,471 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=6 01:14:27,473 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 01:14:27,473 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Snapshot success - sequence number: 8 01:14:27,473 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SnapshotComplete received 01:14:27,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a snapshot response 01:14:27,474 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a journal response 01:14:27,515 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 01:14:27,515 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendAppendEntries: 7 is present for follower follower789 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Sending AppendEntries to follower follower789: AppendEntries [leaderId=leader788, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries: AppendEntries [leaderId=leader788, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Number of entries to be appended = 1 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Append entry to log seven 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Log size is now 6 [WARN] [04/11/2024 01:14:27.516] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower789, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 6 (of expected -1) 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower789 updated: matchIndex: 7, nextIndex: 8 01:14:27,516 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower789: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:27,517 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: lastSequenceNumber prior to capture: 17 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Setting last applied to 7 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Moving last applied index from 6 to 7 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Applying state for log index 7 data seven 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: applyState called: seven 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: CaptureSnapshotReply received by actor 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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=leader788, ServerConfigPayload=null] 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 01:14:27,517 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 01:14:27,518 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Persisting ApplyJournalEntries with index=7 01:14:27,518 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 01:14:27,518 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Snapshot success - sequence number: 17 01:14:27,518 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SnapshotComplete received 01:14:27,518 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a journal response 01:14:27,518 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a snapshot response [WARN] [04/11/2024 01:14:27.529] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Commit index set to 7 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 7 (of expected -1) 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789 (Follower): Setting last applied to 7 [WARN] [04/11/2024 01:14:27.650] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower790] received dead letter from TestActor[akka://test/user/leader788]: AppendEntries [leaderId=leader788, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Moving last applied index from 6 to 7 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Applying state for log index 7 data seven 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: applyState called: seven 01:14:27,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: Persisting ApplyJournalEntries with index=7 [WARN] [04/11/2024 01:14:27.668] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower790]: org.opendaylight.controller.cluster.common.actor.Monitor@7fcffe6a 01:14:27,669 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower790 with journal batch size 1000 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=null 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=leader788 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Received ReplicatedLogEntry for recovery: index: 0, size: 4 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Received ReplicatedLogEntry for recovery: index: 1, size: 3 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Received apply journal entries for recovery, applying to state: 0 to 0 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from -1 to 0 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Received apply journal entries for recovery, applying to state: 1 to 1 01:14:27,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from 0 to 1 01:14:27,672 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Recovery completed in 126.2 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 01:14:27,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower790: Last sync leader does not match current leader leader788, need to catch up to -1 01:14:27,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 7 (of expected -1) 01:14:27,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: fakeSnapshot purging log to 0 for term 6 01:14:27,770 AM [test-akka.actor.default-dispatcher-7] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower790, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 720, lastApplied : 7, commitIndex : 7 [WARN] [04/11/2024 01:14:27.770] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower790] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@698ce6c1 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Initiating install snapshot to follower follower790: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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 follower790 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: lastSequenceNumber prior to capture: 18 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: CaptureSnapshotReply received by actor 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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=leader788, ServerConfigPayload=null] 01:14:27,771 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendInstallSnapshot 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader788 (Leader): Snapshot 431 bytes, total chunks to send: 1 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader788 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): next snapshot chunk size for follower follower790: 431 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): InstallSnapshot sent to follower Vector(user, follower790), Chunk: 1/1 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Snapshot success - sequence number: 18 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SnapshotComplete received 01:14:27,772 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower790: Lagging -2 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,772 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader788, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 01:14:27,772 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower790: Lagging 6 entries behind leader leader788 and reached 1 (of expected -1) 01:14:27,772 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:14:27,772 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Snapshot installed from leader: leader788 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a snapshot response 01:14:27,772 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a journal response 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: 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=leader788, ServerConfigPayload=null] 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 [WARN] [04/11/2024 01:14:27.773] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower790] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6fdd6ae5 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Snapshot success - sequence number: 6 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from 1 to 7 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=leader788 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: applySnapshot called 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower790, chunkIndex=1, success=true] 01:14:27,773 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: SnapshotComplete received 01:14:27,773 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower790, chunkIndex=1, success=true] 01:14:27,773 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Snapshot successfully installed on follower follower790 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 01:14:27,774 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: handled a snapshot response 01:14:27,774 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: handled a journal response [WARN] [04/11/2024 01:14:27.820] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower790]: org.opendaylight.controller.cluster.common.actor.Monitor@5b445c3f 01:14:27,821 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower790 with journal batch size 1000 01:14:27,823 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:27,890 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Term 6 in "AppendEntries [leaderId=leader788, 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 01:14:27,890 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=null 01:14:27,890 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): The followers log is empty and the senders prevLogIndex is 7 01:14:27,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower789: Lagging 0 entries behind leader leader788 and reached 7 (of expected -1) 01:14:27,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower789: fakeSnapshot purging log to 6 for term 6 01:14:27,890 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower790, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,890 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower790: Last sync leader does not match current leader leader788, need to catch up to 7 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower790, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower790 updated: matchIndex: -1, nextIndex: 0 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): follower follower790 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Checking sendAppendEntries for follower follower790: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Initiating install snapshot to follower follower790: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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 follower790 01:14:27,891 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: lastSequenceNumber prior to capture: 18 [WARN] [04/11/2024 01:14:27.891] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower790] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c9aad44 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: CaptureSnapshotReply received by actor 01:14:27,892 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 01:14:27,892 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower790, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: 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=leader788, ServerConfigPayload=null] 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): sendInstallSnapshot 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader788 (Leader): Snapshot 431 bytes, total chunks to send: 1 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader788 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): next snapshot chunk size for follower follower790: 431 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): InstallSnapshot sent to follower Vector(user, follower790), Chunk: 1/1 01:14:27,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader788, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower790, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 01:14:27,892 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): follower follower790 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:14:27,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:14:27,892 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): Snapshot installed from leader: leader788 01:14:27,893 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 01:14:27,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: Snapshot success - sequence number: 18 01:14:27,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: SnapshotComplete received 01:14:27,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a snapshot response 01:14:27,893 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: 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] 01:14:27,893 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Snapshot success - sequence number: 1 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Moving last applied index from -1 to 7 01:14:27,893 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788: handled a journal response 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: Set currentTerm=6, votedFor=null 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: applySnapshot called 01:14:27,893 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower790, chunkIndex=1, success=true] 01:14:27,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower790, chunkIndex=1, success=true] 01:14:27,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: SnapshotComplete received 01:14:27,894 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader788 (Leader): Snapshot successfully installed on follower follower790 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 01:14:27,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: handled a snapshot response 01:14:27,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower790: handled a journal response 01:14:27,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower789-collector791#-371691930] 01:14:27,933 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower789] 01:14:27,934 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower790-collector792#-1658147257] 01:14:27,934 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower790] 01:14:27,934 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader788-collector793#-1855604171] 01:14:27,934 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader788] 01:14:27,935 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower790-collector794#-344999887] 01:14:27,935 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower790] 01:14:27,935 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower790-collector795#-1493145762] 01:14:27,935 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower790] 01:14:27,938 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting [WARN] [04/11/2024 01:14:27.940] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower800]: org.opendaylight.controller.cluster.common.actor.Monitor@6f4a11f2 01:14:27,941 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower800 with journal batch size 1000 01:14:27,942 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:27.944] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower801]: org.opendaylight.controller.cluster.common.actor.Monitor@40a55f8a 01:14:27,944 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower801 with journal batch size 1000 01:14:27,945 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/11/2024 01:14:27.946] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader799]: org.opendaylight.controller.cluster.common.actor.Monitor@599b5f90 01:14:27,946 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader799 with journal batch size 1000 01:14:27,947 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=5, votedFor=leader799 01:14:27,947 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.228:25520, Removed) 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower): Received ElectionTimeout - switching to Candidate 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Election: Candidate has following voting peers: [follower801, follower800] 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=6, votedFor=leader799 01:14:28,440 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Starting new election term 6 01:14:28,441 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Sending RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] to peer follower801 01:14:28,441 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Sending RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] to peer follower800 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:28,441 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Cluster state: [] 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=null 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): In requestVote: RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=leader799 01:14:28,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Cluster state: [] 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Set currentTerm=6, votedFor=null 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): In requestVote: RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Set currentTerm=6, votedFor=leader799 01:14:28,441 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Election: Leader has following peers: [follower801, follower800] 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:14:28,442 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower801: Last sync leader does not match current leader leader799, need to catch up to -1 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: -1, nextIndex: 0 01:14:28,442 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:28,442 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Last sync leader does not match current leader leader799, need to catch up to -1 [WARN] [04/11/2024 01:14:28.442] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f2ec333 [WARN] [04/11/2024 01:14:28.442] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower800] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5af7dd7f 01:14:28,442 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: -1, nextIndex: 0 01:14:28,442 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:28,449 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower801 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower800 01:14:28,449 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:28,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:28,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 01:14:28,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:28,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log zero 01:14:28,449 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 01:14:28,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,449 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log zero 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:28,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:28,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 0, nextIndex: 1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 0, nextIndex: 1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 0 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from -1 to 0 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 0 data zero 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: zero 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=0 01:14:28,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 01:14:28,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [04/11/2024 01:14:28.450] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower800] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d0bcef4 [WARN] [04/11/2024 01:14:28.451] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37b1b8fb 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from -1 to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 0 data zero 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from -1 to 0 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 0 data zero 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: zero 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: zero 01:14:28,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=0 01:14:28,560 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=0 01:14:28,679 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:28,679 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:28,800 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:28,920 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,110 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:29,110 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:29,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:29,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:29,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:29,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 1 is present for follower follower800 01:14:29,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log one 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 1, nextIndex: 2 01:14:29,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 1 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 0 to 1 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 1 data one 01:14:29,112 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: one 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 0 for term 6 01:14:29,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=1 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 1 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 1 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 0 to 1 01:14:29,280 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 1 data one 01:14:29,281 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: one 01:14:29,281 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 0 for term 6 01:14:29,281 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=1 01:14:29,399 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 01:14:29,520 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 01:14:29,566 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:29,566 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:29,567 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:29,567 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:29,567 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:29,567 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 2 is present for follower follower800 01:14:29,567 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log two 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 2, nextIndex: 3 01:14:29,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 7 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 2 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 1 to 2 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 2 data two 01:14:29,568 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: two 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader799, ServerConfigPayload=null] 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 01:14:29,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=2 01:14:29,569 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:14:29,569 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 7 01:14:29,569 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 01:14:29,569 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 01:14:29,570 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 2 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 2 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 1 to 2 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 2 data two 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: two 01:14:29,760 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=2 01:14:29,768 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 01:14:29,880 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:29,880 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower801: Lagging -1 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,880 AM [test-akka.actor.default-dispatcher-6] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1200, lastApplied : 2, commitIndex : 2 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Initiating install snapshot to follower follower801: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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 follower801 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 8 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 01:14:29,881 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower801: Lagging -1 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendInstallSnapshot 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Snapshot 345 bytes, total chunks to send: 1 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): next snapshot chunk size for follower follower801: 345 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): InstallSnapshot sent to follower Vector(user, follower801), Chunk: 1/1 01:14:29,881 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader799, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 01:14:29,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 01:14:29,882 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 8 01:14:29,882 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower801: Lagging 2 entries behind leader leader799 and reached 0 (of expected -1) 01:14:29,882 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:14:29,882 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Snapshot installed from leader: leader799 01:14:29,882 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 01:14:29,882 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 01:14:29,882 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 01:14:29,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: 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=leader799, ServerConfigPayload=null] 01:14:29,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Snapshot success - sequence number: 4 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 0 to 2 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=leader799 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applySnapshot called 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 01:14:29,883 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SnapshotComplete received 01:14:29,883 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 01:14:29,883 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Snapshot successfully installed on follower follower801 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 01:14:29,884 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a snapshot response 01:14:29,884 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a journal response 01:14:30,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:30,0 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:30,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 1 for term 6 01:14:30,20 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 3 is present for follower follower801 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 3 is present for follower follower800 01:14:30,21 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:30,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:30,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 01:14:30,21 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:14:30,21 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:30,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:30,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log three 01:14:30,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 1 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 3, nextIndex: 4 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 3 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 2 to 3 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 3 data three 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log three 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: three 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 2 for term 6 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 2 (of expected -1) 01:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=3 01:14:30,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 3, nextIndex: 4 01:14:30,23 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 3 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 3 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 2 to 3 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 3 data three 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: three 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 2 for term 6 01:14:30,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=3 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 3 01:14:30,240 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 3 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 2 to 3 01:14:30,240 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 3 data three 01:14:30,241 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: three 01:14:30,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=3 01:14:30,272 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 01:14:30,272 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,272 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 4 is present for follower follower801 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 4 is present for follower follower800 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log four 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log four 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 01:14:30,273 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 4, nextIndex: 5 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 4, nextIndex: 5 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:14:30,273 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 11 01:14:30,274 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 4 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 3 to 4 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 4 data four 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: four 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=4 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 11 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 11 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 01:14:30,274 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 01:14:30,275 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 5 is present for follower follower801 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 5 is present for follower follower800 01:14:30,323 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:30,323 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log five 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log five 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 5 is present for follower follower801 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 3 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 5 is present for follower follower800 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 3 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 4 (of expected -1) 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 4 (of expected -1) 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 5, nextIndex: 6 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 3 to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 3 to 4 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 4 data four 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 3 for term 6 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 4 data four 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 6 is present for follower follower801 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:30,324 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: four 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 5, nextIndex: 6 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 6 is present for follower follower800 01:14:30,324 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:30,324 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: four 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 5 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 4 to 5 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 5 data five 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: five 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 4 for term 6 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=4 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=5 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log six 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 4 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 4 (of expected -1) 01:14:30,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 3 for term 6 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log six 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,325 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 6, nextIndex: 7 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 4 01:14:30,325 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 4 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 4 (of expected -1) 01:14:30,325 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: fakeSnapshot purging log to 3 for term 6 01:14:30,325 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 6, nextIndex: 7 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 4 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 6 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 5 to 6 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 6 data six 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: six 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 5 for term 6 01:14:30,326 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 5 (of expected -1) 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 4 to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 5 data five 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: five 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 4 for term 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=4 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 5 (of expected -1) 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 4 to 5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 5 data five 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: five 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: fakeSnapshot purging log to 4 for term 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=5 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 5 to 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 6 data six 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: six 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: fakeSnapshot purging log to 5 for term 6 01:14:30,327 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 5 to 6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 6 data six 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: six 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 5 for term 6 01:14:30,328 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=6 01:14:30,480 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 01:14:30,480 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 01:14:30,526 AM [main] [INFO] InMemoryJournal - Journal log for leader799: 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] 01:14:30,527 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 01:14:30,527 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 [WARN] [04/11/2024 01:14:30.540] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader799]: org.opendaylight.controller.cluster.common.actor.Monitor@19803ca9 01:14:30,540 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader799 with journal batch size 1000 01:14:30,541 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotOffer called. 01:14:30,541 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from -1 to 3 01:14:30,541 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=6, votedFor=leader799 01:14:30,541 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader799 in 117.6 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 01:14:30,542 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Received apply journal entries for recovery, applying to state: 4 to 4 01:14:30,542 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 3 to 4 01:14:30,542 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Received ReplicatedLogEntry for recovery: index: 5, size: 4 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Received ReplicatedLogEntry for recovery: index: 6, size: 3 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Received apply journal entries for recovery, applying to state: 5 to 5 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 4 to 5 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Received apply journal entries for recovery, applying to state: 6 to 6 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 5 to 6 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Recovery completed in 1.945 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower): Received TimeoutNow - switching to Candidate 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Election: Candidate has following voting peers: [] 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=7, votedFor=leader799 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Starting new election term 7 01:14:30,543 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 01:14:30,544 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Received ElectionTimeout 01:14:30,544 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Election: Leader has following peers: [] 01:14:30,544 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 01:14:30,640 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 01:14:30,640 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 01:14:30,640 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower800-collector802#433253127] 01:14:30,651 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower800] 01:14:30,651 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower801-collector803#-329350577] 01:14:30,652 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower801] 01:14:30,652 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader799-collector804#-1934986918] 01:14:30,652 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader799] 01:14:30,652 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader799-collector805#-1805564771] 01:14:30,652 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader799] [INFO] [04/11/2024 01:14:30.653] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:14:30,653 AM [test-akka.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [04/11/2024 01:14:30.654] [test-akka.actor.default-dispatcher-13] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.228:25520) 01:14:30,655 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Exiting completed 01:14:30,655 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Shutting down... [INFO] [04/11/2024 01:14:30.655] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Exiting completed [INFO] [04/11/2024 01:14:30.655] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Shutting down... [INFO] [04/11/2024 01:14:30.655] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Successfully shut down 01:14:30,655 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Successfully shut down [INFO] [04/11/2024 01:14:30.657] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.228:25520/system/remoting-terminator] Shutting down remote daemon. 01:14:30,657 AM [test-akka.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [04/11/2024 01:14:30.657] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.228:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:14:30,657 AM [test-akka.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [04/11/2024 01:14:30.661] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.228:25520/system/remoting-terminator] Remoting shut down. 01:14:30,661 AM [test-akka.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [04/11/2024 01:14:30.661] [test-akka.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger