[DEBUG] [01/22/2024 06:57:28.942] [main] [EventStream(akka://test)] logger log1-TestEventListener started 06:57:28,946 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/22/2024 06:57:28.947] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/22/2024 06:57:28.947] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/22/2024 06:57:28.962] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [6751475823367873049] 06:57:28,963 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [6751475823367873049] [INFO] [01/22/2024 06:57:28.962] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... 06:57:28,963 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/22/2024 06:57:28.964] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/22/2024 06:57:28.964] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully 06:57:28,964 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] 06:57:28,964 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully 06:57:28,973 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads [INFO] [01/22/2024 06:57:28.974] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/22/2024 06:57:28.974] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 06:57:28,974 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 06:57:28,975 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 06:57:28,980 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower773 with journal batch size 1000 [WARN] [01/22/2024 06:57:28.980] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower773]: org.opendaylight.controller.cluster.common.actor.Monitor@1efe8451 [INFO] [akkaDeadLetter][01/22/2024 06:57:28.980] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower773] 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'. 06:57:28,982 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:28,984 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower773] 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'. 06:57:29,84 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower774 with journal batch size 1000 [WARN] [01/22/2024 06:57:29.084] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower774]: org.opendaylight.controller.cluster.common.actor.Monitor@6257a6b6 [INFO] [akkaDeadLetter][01/22/2024 06:57:29.084] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower774] 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'. 06:57:29,84 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower774] 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'. 06:57:29,85 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:29.184] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader772]: org.opendaylight.controller.cluster.common.actor.Monitor@1c81ca2a [INFO] [akkaDeadLetter][01/22/2024 06:57:29.184] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader772] 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'. 06:57:29,184 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader772] 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'. 06:57:29,184 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader772 with journal batch size 1000 06:57:29,186 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Set currentTerm=5, votedFor=leader772 06:57:29,186 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:29,637 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Follower): Received ElectionTimeout - switching to Candidate 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): Election: Candidate has following voting peers: [follower773, follower774] 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Set currentTerm=6, votedFor=leader772 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): Starting new election term 6 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): Sending RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] to peer follower773 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): Sending RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] to peer follower774 06:57:29,638 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Cluster state: [] 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Set currentTerm=6, votedFor=null 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): In requestVote: RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Set currentTerm=6, votedFor=leader772 06:57:29,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:29,638 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:29,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Cluster state: [] 06:57:29,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:29,638 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:29,638 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Set currentTerm=6, votedFor=null 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): In requestVote: RequestVote [term=6, candidateId=leader772, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Set currentTerm=6, votedFor=leader772 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Election: Leader has following peers: [follower773, follower774] 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower774: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:29,639 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 06:57:29,639 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower773: Last sync leader does not match current leader leader772, need to catch up to -1 06:57:29,640 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower774: Last sync leader does not match current leader leader772, need to catch up to -1 06:57:29,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower773 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/22/2024 06:57:29.640] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower773] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@52a8954 [WARN] [01/22/2024 06:57:29.640] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower774] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@25b0fa90 06:57:29,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:29,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower774 updated: matchIndex: -1, nextIndex: 0 [INFO] [akkaDeadLetter][01/22/2024 06:57:29.640] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower773] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower773] 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'. 06:57:29,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower774: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:29,640 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower773] 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'. 06:57:29,640 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower774] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][01/22/2024 06:57:29.640] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower774] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower774] 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'. 06:57:29,687 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 06:57:29,687 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower773 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower773: AppendEntries [leaderId=leader772, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower774: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower774 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower774: AppendEntries [leaderId=leader772, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): handleAppendEntries: AppendEntries [leaderId=leader772, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Number of entries to be appended = 1 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Append entry to log zero 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Log size is now 1 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower773, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:29,688 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached -1 (of expected -1) 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower773 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower774: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower774 06:57:29,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower773 updated: matchIndex: 0, nextIndex: 1 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 1 is present for follower follower773 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower773: AppendEntries [leaderId=leader772, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:29,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Setting last applied to 0 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Moving last applied index from -1 to 0 06:57:29,689 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Applying state for log index 0 data zero 06:57:29,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): handleAppendEntries: AppendEntries [leaderId=leader772, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Number of entries to be appended = 1 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 [WARN] [01/22/2024 06:57:29.689] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower773] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2eb581d1 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Append entry to log one 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Log size is now 2 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: applyState called: zero 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower773, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:29,690 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached -1 (of expected -1) [INFO] [akkaDeadLetter][01/22/2024 06:57:29.690] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower773] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower773] 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'. 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower773] 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'. 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Persisting ApplyJournalEntries with index=0 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower773 updated: matchIndex: 1, nextIndex: 2 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower773: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Commit index set to 0 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached 0 (of expected -1) 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Setting last applied to 1 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Moving last applied index from 0 to 1 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Setting last applied to 0 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Moving last applied index from -1 to 0 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Applying state for log index 1 data one 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Applying state for log index 0 data zero 06:57:29,690 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: applyState called: one 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: applyState called: zero 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Persisting ApplyJournalEntries with index=0 06:57:29,690 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Commit index set to 1 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:29,691 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: Persisting ApplyJournalEntries with index=1 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773 (Follower): Setting last applied to 1 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Moving last applied index from 0 to 1 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Applying state for log index 1 data one 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: applyState called: one 06:57:29,691 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: Persisting ApplyJournalEntries with index=1 06:57:29,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower774 06:57:29,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower774: AppendEntries [leaderId=leader772, 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]]] 06:57:29,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower774 06:57:29,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:29,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower774: AppendEntries [leaderId=leader772, 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]]] 06:57:29,890 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower774 06:57:29,997 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): sendAppendEntries: 0 is present for follower follower774 06:57:29,998 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Sending AppendEntries to follower follower774: AppendEntries [leaderId=leader772, 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]]] 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): handleAppendEntries: AppendEntries [leaderId=leader772, 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]]] 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Number of entries to be appended = 2 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Append entry to log zero 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Append entry to log one 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Log size is now 2 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Commit index set to 1 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower774, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower774: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Setting last applied to 0 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Moving last applied index from -1 to 0 06:57:29,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Applying state for log index 0 data zero 06:57:29,998 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower774 updated: matchIndex: 1, nextIndex: 2 06:57:29,998 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772: fakeSnapshot purging log to 0 for term 6 06:57:29,998 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader772 (Leader): Checking sendAppendEntries for follower follower774: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:57:29,999 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: applyState called: zero 06:57:29,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774 (Follower): Setting last applied to 1 06:57:29,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Moving last applied index from 0 to 1 06:57:29,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Applying state for log index 1 data one 06:57:29,999 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: applyState called: one 06:57:30,0 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,0 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,1 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: Persisting ApplyJournalEntries with index=1 [WARN] [01/22/2024 06:57:30.001] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower774] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28fd153b [INFO] [akkaDeadLetter][01/22/2024 06:57:30.001] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower774] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower774] 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'. 06:57:30,1 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower774] 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'. 06:57:30,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower774: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:30,118 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower773: Lagging 0 entries behind leader leader772 and reached 1 (of expected -1) 06:57:30,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower774: fakeSnapshot purging log to 0 for term 6 06:57:30,118 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower773: fakeSnapshot purging log to 0 for term 6 06:57:30,142 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 06:57:30,142 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower773-collector775#1985581207] 06:57:30,154 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower773] 06:57:30,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower774-collector776#1007065112] 06:57:30,154 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower774] 06:57:30,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader772-collector777#776659938] 06:57:30,155 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader772] 06:57:30,156 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting [WARN] [01/22/2024 06:57:30.157] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower782]: org.opendaylight.controller.cluster.common.actor.Monitor@2cc294fc [INFO] [akkaDeadLetter][01/22/2024 06:57:30.158] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower782] 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'. 06:57:30,158 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower782] 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'. 06:57:30,158 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower782 with journal batch size 1000 06:57:30,159 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:30.259] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower783]: org.opendaylight.controller.cluster.common.actor.Monitor@7f80b1d3 [INFO] [akkaDeadLetter][01/22/2024 06:57:30.259] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower783] 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'. 06:57:30,259 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower783] 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'. 06:57:30,259 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower783 with journal batch size 1000 06:57:30,260 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:30.260] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader781]: org.opendaylight.controller.cluster.common.actor.Monitor@18774b2b 06:57:30,261 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader781 with journal batch size 1000 [INFO] [akkaDeadLetter][01/22/2024 06:57:30.261] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader781] 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'. 06:57:30,261 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader781] 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'. 06:57:30,262 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Set currentTerm=5, votedFor=leader781 06:57:30,262 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Follower): Received ElectionTimeout - switching to Candidate 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): Election: Candidate has following voting peers: [follower783, follower782] 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Set currentTerm=6, votedFor=leader781 06:57:30,757 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): Starting new election term 6 06:57:30,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): Sending RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] to peer follower783 06:57:30,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): Sending RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] to peer follower782 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:30,758 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Cluster state: [] 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Set currentTerm=6, votedFor=null 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Cluster state: [] 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): In requestVote: RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Set currentTerm=6, votedFor=leader781 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Set currentTerm=6, votedFor=null 06:57:30,758 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): In requestVote: RequestVote [term=6, candidateId=leader781, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Set currentTerm=6, votedFor=leader781 06:57:30,758 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Election: Leader has following peers: [follower783, follower782] 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 06:57:30,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower783: Last sync leader does not match current leader leader781, need to catch up to -1 [WARN] [01/22/2024 06:57:30.759] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower783] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@339120ca 06:57:30,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower782: Last sync leader does not match current leader leader781, need to catch up to -1 [WARN] [01/22/2024 06:57:30.759] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower782] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3cb345d3 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower783 updated: matchIndex: -1, nextIndex: 0 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: -1, nextIndex: 0 06:57:30,759 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:30,764 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 0 is present for follower follower783 06:57:30,764 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower783: AppendEntries [leaderId=leader781, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 0 is present for follower follower782 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 0 is present for follower follower783 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 0 is present for follower follower782 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Number of entries to be appended = 1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Append entry to log zero 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Log size is now 1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower783, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached -1 (of expected -1) 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:30,765 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower783 updated: matchIndex: 0, nextIndex: 1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 1 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log zero 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,765 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:30,765 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 1 is present for follower follower783 06:57:30,765 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower783: AppendEntries [leaderId=leader781, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:30,765 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 1 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached -1 (of expected -1) 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 0, nextIndex: 1 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 1 is present for follower follower782 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 0 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from -1 to 0 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 0 data zero 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: zero 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Number of entries to be appended = 1 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Append entry to log one 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=0 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Log size is now 2 [WARN] [01/22/2024 06:57:30.766] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower783] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@19574052 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower783, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:30,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached -1 (of expected -1) 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower783 updated: matchIndex: 1, nextIndex: 2 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 1 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log one 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 1 [WARN] [01/22/2024 06:57:30.766] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower782] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b8dfc09 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 0 to 1 06:57:30,766 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 1 data one 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 2 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:30,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached -1 (of expected -1) 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: one 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: fakeSnapshot purging log to 0 for term 6 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 1, nextIndex: 2 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=1 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Commit index set to 0 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached 0 (of expected -1) 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Setting last applied to 0 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Moving last applied index from -1 to 0 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Applying state for log index 0 data zero 06:57:30,767 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:30,767 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: applyState called: zero 06:57:30,767 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:30,768 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Persisting ApplyJournalEntries with index=0 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 0 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from -1 to 0 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 0 data zero 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: zero 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 0 to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 1 data one 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Commit index set to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: one 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: fakeSnapshot purging log to 0 for term 6 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Setting last applied to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Moving last applied index from 0 to 1 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Applying state for log index 1 data one 06:57:30,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=1 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: applyState called: one 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: fakeSnapshot purging log to 0 for term 6 06:57:30,768 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Persisting ApplyJournalEntries with index=1 06:57:30,877 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:30,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:30,997 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,117 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,238 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 2 is present for follower follower782 06:57:31,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 1 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log two 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 2 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 2 is present for follower follower782 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:31,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 2 is present for follower follower782 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 2, nextIndex: 3 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 3 is present for follower follower782 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 3 is present for follower follower782 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 06:57:31,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 3 is present for follower follower782 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 2 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 1 to 2 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 2 data two 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 2 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: two 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log three 06:57:31,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: fakeSnapshot purging log to 1 for term 6 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=2 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log four 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 4 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:31,330 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: lastSequenceNumber prior to capture: 8 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 4, nextIndex: 5 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 3 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 2 to 3 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 3 data three 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: three 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 1 06:57:31,330 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 5 is present for follower follower782 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: CaptureSnapshotReply received by actor 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: 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=leader781, ServerConfigPayload=null] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 2 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=3 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log five 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log six 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 6 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 3 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 4 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 3 to 4 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 4 data four 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 3 (of expected -1) 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 6 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 2 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 1 to 2 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: four 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 2 data two 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 6, nextIndex: 7 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: two 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 3 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 2 to 3 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 3 data three 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: three 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=4 06:57:31,331 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: fakeSnapshot purging log to 1 for term 6 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 5 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 4 to 5 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 5 data five 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: five 06:57:31,331 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=5 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 5 to 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 6 data six 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: six 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Snapshot success - sequence number: 8 06:57:31,332 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SnapshotComplete received 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 4 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 4 (of expected -1) 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 4 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 3 to 4 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 4 data four 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: four 06:57:31,332 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a snapshot response 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=3 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 6 (of expected -1) 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 5 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 4 to 5 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 5 data five 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: five 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 5 to 6 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 6 data six 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: six 06:57:31,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=4 06:57:31,333 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=6 06:57:31,333 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a journal response 06:57:31,380 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 7 is present for follower follower782 06:57:31,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 1 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log seven 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 6 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 6 (of expected -1) 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 7, nextIndex: 8 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: lastSequenceNumber prior to capture: 17 06:57:31,381 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 7 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 6 to 7 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 7 data seven 06:57:31,382 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: applyState called: seven 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: CaptureSnapshotReply received by actor 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: 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=leader781, ServerConfigPayload=null] 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=7 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Snapshot success - sequence number: 17 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SnapshotComplete received 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a snapshot response 06:57:31,382 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a journal response 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 7 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 7 (of expected -1) 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 7 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 6 to 7 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 7 data seven 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: applyState called: seven 06:57:31,598 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=7 06:57:31,634 AM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Updated server config: isVoting: true, peers: [PeerInfo [id=follower783, address=akka://test/user/follower783, votingState=NON_VOTING], PeerInfo [id=follower782, address=akka://test/user/follower782, votingState=NON_VOTING]] 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]] 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]] 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, isSendImmediate: true 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower783: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendAppendEntries: 8 is present for follower follower782 06:57:31,634 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Sending AppendEntries to follower follower782: AppendEntries [leaderId=leader781, 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=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries: AppendEntries [leaderId=leader781, 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=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Number of entries to be appended = 1 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Updated server config: isVoting: false, peers: [PeerInfo [id=follower783, address=akka://test/user/follower783, votingState=NON_VOTING], PeerInfo [id=leader781, address=akka://test/user/leader781, votingState=VOTING]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Log size is now 7 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower782, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:31,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 7 (of expected -1) 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower782 updated: matchIndex: 8, nextIndex: 9 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Checking sendAppendEntries for follower follower782: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Setting last applied to 8 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Moving last applied index from 7 to 8 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]] 06:57:31,635 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Persisting ApplyJournalEntries with index=8 06:57:31,636 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]]] 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Commit index set to 8 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 8 (of expected -1) 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782 (Follower): Setting last applied to 8 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Moving last applied index from 7 to 8 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader781, isVoting=true], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=follower783, isVoting=false]]] 06:57:31,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: Persisting ApplyJournalEntries with index=8 06:57:31,886 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 06:57:31,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 8 (of expected -1) 06:57:31,958 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower783: Lagging -2 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,958 AM [test-akka.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower783, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1080, lastApplied : 8, commitIndex : 8 06:57:31,958 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Initiating install snapshot to follower follower783: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 06:57:31,958 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: 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 follower783 06:57:31,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: lastSequenceNumber prior to capture: 20 06:57:31,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: CaptureSnapshotReply received by actor 06:57:31,958 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower783: Lagging -2 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: 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=leader781, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower783, isVoting=false], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=leader781, isVoting=true]]]] 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): sendInstallSnapshot 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader781 (Leader): Snapshot 431 bytes, total chunks to send: 1 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader781 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): next snapshot chunk size for follower follower783: 431 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): InstallSnapshot sent to follower Vector(user, follower783), Chunk: 1/1 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SaveSnapshotSuccess received for snapshot, sequenceNr: 20 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: Snapshot success - sequence number: 20 06:57:31,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: SnapshotComplete received 06:57:31,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader781, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower783, isVoting=false], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=leader781, isVoting=true]]]] 06:57:31,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower783: Lagging 7 entries behind leader leader781 and reached 1 (of expected -1) 06:57:31,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:57:31,959 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): Snapshot installed from leader: leader781 06:57:31,959 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a journal response 06:57:31,960 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: 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=leader781, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower783, isVoting=false], ServerInfo[peerId=follower782, isVoting=false], ServerInfo[peerId=leader781, isVoting=true]]]] 06:57:31,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 06:57:31,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: handled a snapshot response 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Snapshot success - sequence number: 6 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Moving last applied index from 1 to 8 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Set currentTerm=6, votedFor=leader781 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: Updated server config: isVoting: false, peers: [PeerInfo [id=leader781, address=akka://test/user/leader781, votingState=VOTING], PeerInfo [id=follower782, address=akka://test/user/follower782, votingState=NON_VOTING]] 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: applySnapshot called 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower783, chunkIndex=1, success=true] 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: SnapshotComplete received 06:57:31,961 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower783, chunkIndex=1, success=true] 06:57:31,961 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader781 (Leader): Snapshot successfully installed on follower follower783 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 06:57:31,961 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader781: fakeSnapshot purging log to 7 for term 6 06:57:31,961 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: handled a snapshot response 06:57:31,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower783: handled a journal response 06:57:32,78 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower782: Lagging 0 entries behind leader leader781 and reached 8 (of expected -1) 06:57:32,78 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower783: Lagging 0 entries behind leader leader781 and reached 8 (of expected -1) 06:57:32,78 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower782: fakeSnapshot purging log to 7 for term 6 06:57:32,89 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 06:57:32,89 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 06:57:32,89 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower782-collector784#-175938291] 06:57:32,100 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower782] 06:57:32,100 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower783-collector785#1758449496] 06:57:32,101 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower783] 06:57:32,101 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader781-collector786#136522819] 06:57:32,101 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader781] 06:57:32,102 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting 06:57:32,108 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower791 with journal batch size 1000 [WARN] [01/22/2024 06:57:32.109] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower791]: org.opendaylight.controller.cluster.common.actor.Monitor@2da923eb [WARN] [01/22/2024 06:57:32.110] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower792]: org.opendaylight.controller.cluster.common.actor.Monitor@534ef89b 06:57:32,110 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:32,110 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower792 with journal batch size 1000 06:57:32,111 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:32.112] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader790]: org.opendaylight.controller.cluster.common.actor.Monitor@727e9dd0 06:57:32,112 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader790 with journal batch size 1000 06:57:32,113 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Set currentTerm=5, votedFor=leader790 06:57:32,113 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:32,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:32,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:32,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Follower): Received ElectionTimeout - switching to Candidate 06:57:32,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): Election: Candidate has following voting peers: [follower791, follower792] 06:57:32,627 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Set currentTerm=6, votedFor=leader790 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): Starting new election term 6 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): Sending RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] to peer follower791 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): Sending RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] to peer follower792 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Cluster state: [] 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Set currentTerm=6, votedFor=null 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): In requestVote: RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Set currentTerm=6, votedFor=leader790 06:57:32,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Cluster state: [] 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Set currentTerm=6, votedFor=null 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): In requestVote: RequestVote [term=6, candidateId=leader790, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Set currentTerm=6, votedFor=leader790 06:57:32,628 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:32,629 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 06:57:32,629 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Election: Leader has following peers: [follower791, follower792] 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 06:57:32,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower791: Last sync leader does not match current leader leader790, need to catch up to -1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: -1, nextIndex: 0 06:57:32,630 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower792: Last sync leader does not match current leader leader790, need to catch up to -1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower792 updated: matchIndex: -1, nextIndex: 0 06:57:32,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:32.630] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower791] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@379c3f62 [WARN] [01/22/2024 06:57:32.630] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower792] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33bf4e15 06:57:32,667 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 0 is present for follower follower791 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 0 is present for follower follower792 06:57:32,667 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:32,667 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log zero 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,668 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached -1 (of expected -1) 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 0 is present for follower follower791 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 0 is present for follower follower792 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Number of entries to be appended = 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 0, nextIndex: 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log zero 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 1 is present for follower follower791 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Log size is now 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower792, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:32,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached -1 (of expected -1) 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower792 updated: matchIndex: 0, nextIndex: 1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 1 is present for follower follower792 06:57:32,668 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 0 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from -1 to 0 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 0 data zero 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: zero 06:57:32,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=0 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log one 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [01/22/2024 06:57:32.669] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower791] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6395ed8 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 2 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:32,669 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached -1 (of expected -1) [WARN] [01/22/2024 06:57:32.669] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower792] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7316a597 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:32,669 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 1, nextIndex: 2 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Number of entries to be appended = 1 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log one 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,669 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Log size is now 2 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower792, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:32,669 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached -1 (of expected -1) 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower792 updated: matchIndex: 1, nextIndex: 2 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from 0 to 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 1 data one 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: one 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 0 (of expected -1) 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: fakeSnapshot purging log to 0 for term 6 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from -1 to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 0 data zero 06:57:32,670 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=1 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: zero 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=0 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Commit index set to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 1 (of expected -1) 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 0 (of expected -1) 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from 0 to 1 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from -1 to 0 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 1 data one 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 0 data zero 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: one 06:57:32,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: fakeSnapshot purging log to 0 for term 6 06:57:32,670 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: zero 06:57:32,671 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=1 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Commit index set to 1 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 1 (of expected -1) 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 1 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from 0 to 1 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 1 data one 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: one 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: fakeSnapshot purging log to 0 for term 6 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Persisting ApplyJournalEntries with index=0 06:57:32,671 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Persisting ApplyJournalEntries with index=1 06:57:32,868 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 1 (of expected -1) 06:57:32,868 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 1 (of expected -1) 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower791 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:32,869 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log two 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:32,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 2 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 1 (of expected -1) 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 2, nextIndex: 3 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 2 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from 1 to 2 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 2 data two 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: two 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: fakeSnapshot purging log to 1 for term 6 06:57:32,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=2 06:57:32,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:32,988 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:32,988 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 2 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 2 (of expected -1) 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 2 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from 1 to 2 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 2 data two 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: two 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: fakeSnapshot purging log to 1 for term 6 06:57:32,988 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=2 06:57:33,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:33,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:33,20 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 3 is present for follower follower791 06:57:33,21 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:33,21 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:33,21 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log three 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 2 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 2 (of expected -1) 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 3, nextIndex: 4 06:57:33,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:33,21 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: lastSequenceNumber prior to capture: 9 06:57:33,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 3 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from 2 to 3 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 3 data three 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: three 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: CaptureSnapshotReply received by actor 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: 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=leader790, ServerConfigPayload=null] 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 06:57:33,22 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=3 06:57:33,22 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: SaveSnapshotSuccess received for snapshot, sequenceNr: 9 06:57:33,22 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Snapshot success - sequence number: 9 06:57:33,22 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: SnapshotComplete received 06:57:33,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: handled a journal response 06:57:33,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: handled a snapshot response 06:57:33,71 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 4 is present for follower follower791 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, 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]]] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,71 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:33,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 06:57:33,71 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:33,71 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 06:57:33,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log four 06:57:33,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 4 is present for follower follower791 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 06:57:33,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 3 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 3 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 3 (of expected -1) 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 3 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from 2 to 3 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 3 data three 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 4, nextIndex: 5 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: three 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 5 is present for follower follower791 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower791: AppendEntries [leaderId=leader790, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 4 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from 3 to 4 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 4 data four 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=3 06:57:33,72 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: four 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Number of entries to be appended = 1 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 06:57:33,72 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Append entry to log five 06:57:33,73 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=4 06:57:33,73 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Log size is now 4 06:57:33,73 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower791, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:33,73 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 3 (of expected -1) 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower791 updated: matchIndex: 5, nextIndex: 6 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower791: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Setting last applied to 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Moving last applied index from 4 to 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Applying state for log index 5 data five 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: applyState called: five 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: Persisting ApplyJournalEntries with index=5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 4 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 4 (of expected -1) 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 4 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from 3 to 4 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 4 data four 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: four 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Commit index set to 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791 (Follower): Setting last applied to 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Moving last applied index from 4 to 5 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Applying state for log index 5 data five 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: applyState called: five 06:57:33,73 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=4 06:57:33,74 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: Persisting ApplyJournalEntries with index=5 06:57:33,107 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:33,107 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, 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]]] 06:57:33,228 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): sendAppendEntries: 2 is present for follower follower792 06:57:33,228 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Sending AppendEntries to follower follower792: AppendEntries [leaderId=leader790, 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]]] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries: AppendEntries [leaderId=leader790, 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]]] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Number of entries to be appended = 4 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log two 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log three 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log four 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Append entry to log five 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Log size is now 5 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Commit index set to 5 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower792, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 2 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from 1 to 2 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 2 data two 06:57:33,228 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower792 updated: matchIndex: 5, nextIndex: 6 06:57:33,228 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790: fakeSnapshot purging log to 4 for term 6 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: two 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 3 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from 2 to 3 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 3 data three 06:57:33,228 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader790 (Leader): Checking sendAppendEntries for follower follower792: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: three 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 4 06:57:33,228 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from 3 to 4 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 4 data four 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: four 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792 (Follower): Setting last applied to 5 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Moving last applied index from 4 to 5 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Applying state for log index 5 data five 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: applyState called: five 06:57:33,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: fakeSnapshot purging log to 1 for term 6 06:57:33,229 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:33,229 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:33,229 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:33,229 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:33,229 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: Persisting ApplyJournalEntries with index=5 06:57:33,347 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,347 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower791: fakeSnapshot purging log to 4 for term 6 06:57:33,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower792: fakeSnapshot purging log to 4 for term 6 06:57:33,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,468 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,588 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower792: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,588 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower791: Lagging 0 entries behind leader leader790 and reached 5 (of expected -1) 06:57:33,626 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 06:57:33,626 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower791-collector793#686096549] 06:57:33,637 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower791] 06:57:33,638 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower792-collector794#1033250481] 06:57:33,638 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower792] 06:57:33,638 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader790-collector795#-250282017] 06:57:33,638 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader790] 06:57:33,639 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting 06:57:33,641 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower800 with journal batch size 1000 [WARN] [01/22/2024 06:57:33.641] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower800]: org.opendaylight.controller.cluster.common.actor.Monitor@4c2e84d5 [WARN] [01/22/2024 06:57:33.647] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower801]: org.opendaylight.controller.cluster.common.actor.Monitor@67087fca 06:57:33,647 AM [test-akka.actor.default-dispatcher-5] [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 06:57:33,647 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower801 with journal batch size 1000 06:57:33,648 AM [test-akka.actor.default-dispatcher-17] [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] [01/22/2024 06:57:33.743] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader799]: org.opendaylight.controller.cluster.common.actor.Monitor@74db6310 06:57:33,744 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader799 with journal batch size 1000 06:57:33,745 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=5, votedFor=leader799 06:57:33,745 AM [test-akka.actor.default-dispatcher-5] [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 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:34,168 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.69:25520, Removed) 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower): Received ElectionTimeout - switching to Candidate 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Election: Candidate has following voting peers: [follower801, follower800] 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Set currentTerm=6, votedFor=leader799 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): Starting new election term 6 06:57:34,168 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 06:57:34,168 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 06:57:34,168 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:34,168 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 06:57:34,168 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Cluster state: [] 06:57:34,168 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:34,168 AM [test-akka.actor.default-dispatcher-5] [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 06:57:34,168 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=null 06:57:34,169 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): In requestVote: RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:34,169 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=leader799 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:34,169 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Cluster state: [] 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [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 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Set currentTerm=6, votedFor=null 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): In requestVote: RequestVote [term=6, candidateId=leader799, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Set currentTerm=6, votedFor=leader799 06:57:34,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Election: Leader has following peers: [follower801, follower800] 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 06:57:34,170 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower801: Last sync leader does not match current leader leader799, need to catch up to -1 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: -1, nextIndex: 0 06:57:34,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:34.170] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2549c6e 06:57:34,170 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Last sync leader does not match current leader leader799, need to catch up to -1 06:57:34,170 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: -1, nextIndex: 0 06:57:34,170 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:34.170] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower800] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@287af670 06:57:34,197 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 06:57:34,197 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,197 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower801 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [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]]] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower800 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [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]]] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower801 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 0 is present for follower follower800 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [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]]] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log zero 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 1 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [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] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [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]]] 06:57:34,198 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log zero 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 1 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [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] 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 0, nextIndex: 1 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 1 is present for follower follower801 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower801: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:34,199 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 0, nextIndex: 1 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 1 is present for follower follower800 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 0 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from -1 to 0 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 0 data zero 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: zero 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=0 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Number of entries to be appended = 1 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Append entry to log one 06:57:34,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Log size is now 2 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) [WARN] [01/22/2024 06:57:34.201] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6cf02690 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: 1, nextIndex: 2 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log one 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [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] 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached -1 (of expected -1) [WARN] [01/22/2024 06:57:34.201] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower800] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a00aef6 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 1, nextIndex: 2 06:57:34,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 1 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 0 to 1 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 1 data one 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: one 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 0 for term 6 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from -1 to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 0 data zero 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 0 (of expected -1) 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:34,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=1 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from -1 to 0 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 0 data zero 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: zero 06:57:34,202 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=0 06:57:34,202 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: zero 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=0 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Commit index set to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 0 to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 1 data one 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Setting last applied to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 0 to 1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Applying state for log index 1 data one 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: one 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 0 for term 6 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applyState called: one 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: fakeSnapshot purging log to 0 for term 6 06:57:34,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=1 06:57:34,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Persisting ApplyJournalEntries with index=1 06:57:34,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower801: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) [WARN] [01/22/2024 06:57:34.527] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,527 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,648 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) [WARN] [01/22/2024 06:57:34.648] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,767 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) [WARN] [01/22/2024 06:57:34.767] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,856 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:34,856 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:34,856 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:34,856 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 2 is present for follower follower800 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [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]]] [WARN] [01/22/2024 06:57:34.857] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [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]]] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log two 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 2 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 2 is present for follower follower800 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [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] 06:57:34,857 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true [WARN] [01/22/2024 06:57:34.857] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 2 is present for follower follower800 [WARN] [01/22/2024 06:57:34.857] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 2, nextIndex: 3 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 3 is present for follower follower800 06:57:34,857 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=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:34,857 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 2 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 3 is present for follower follower800 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log three 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] [WARN] [01/22/2024 06:57:34.858] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log four 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 4 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [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] 06:57:34,858 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 3 is present for follower follower800 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 4, nextIndex: 5 [WARN] [01/22/2024 06:57:34.858] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 0 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 5 is present for follower follower800 06:57:34,858 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=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 2 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 1 to 2 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 2 data two 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: two 06:57:34,858 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: fakeSnapshot purging log to 1 for term 6 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=2 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=4, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 2 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log five 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log six 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 8 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 6 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [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] 06:57:34,859 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 1 (of expected -1) 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 3 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 2 to 3 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 3 data three 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: three 06:57:34,859 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 6, nextIndex: 7 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=3 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 4 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 3 to 4 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 4 data four 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: four 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=4 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 5 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 4 to 5 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 5 data five 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: five 06:57:34,860 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=5 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 6 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 5 to 6 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 6 data six 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: six 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=6 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 8 06:57:34,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 06:57:34,861 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:34,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 3 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 3 (of expected -1) 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 6 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 2 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 1 to 2 06:57:34,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 2 data two 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: two 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 3 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 2 to 3 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 3 data three 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: three 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 1 for term 6 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 6 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 3, lastIndex(): 6 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 4 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 3 to 4 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 4 data four 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: four 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 5 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 4 to 5 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 5 data five 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: five 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 6 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 5 to 6 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 6 data six 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: six 06:57:34,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=3 06:57:34,863 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=6 [WARN] [01/22/2024 06:57:34.887] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,907 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendAppendEntries: 7 is present for follower follower800 06:57:34,907 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Sending AppendEntries to follower follower800: AppendEntries [leaderId=leader799, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] [WARN] [01/22/2024 06:57:34.907] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries: AppendEntries [leaderId=leader799, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Number of entries to be appended = 1 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Append entry to log seven 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Log size is now 6 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower800, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:34,907 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 6 (of expected -1) 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower800 updated: matchIndex: 7, nextIndex: 8 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower800: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 17 06:57:34,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Setting last applied to 7 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Moving last applied index from 6 to 7 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Applying state for log index 7 data seven 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: applyState called: seven 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Persisting ApplyJournalEntries with index=7 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 06:57:34,908 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 17 06:57:34,909 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 06:57:34,909 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 06:57:34,909 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Commit index set to 7 [WARN] [01/22/2024 06:57:35.008] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] received dead letter from TestActor[akka://test/user/leader799]: AppendEntries [leaderId=leader799, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 7 (of expected -1) 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800 (Follower): Setting last applied to 7 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Moving last applied index from 6 to 7 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Applying state for log index 7 data seven 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: applyState called: seven 06:57:35,8 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: Persisting ApplyJournalEntries with index=7 [WARN] [01/22/2024 06:57:35.060] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower801]: org.opendaylight.controller.cluster.common.actor.Monitor@64b84379 06:57:35,61 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower801 with journal batch size 1000 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=null 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=leader799 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Received ReplicatedLogEntry for recovery: index: 0, size: 4 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Received ReplicatedLogEntry for recovery: index: 1, size: 3 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Received apply journal entries for recovery, applying to state: 0 to 0 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from -1 to 0 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Received apply journal entries for recovery, applying to state: 1 to 1 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 0 to 1 06:57:35,63 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Recovery completed in 119.8 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower801: Last sync leader does not match current leader leader799, need to catch up to -1 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: fakeSnapshot purging log to 0 for term 6 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 7 (of expected -1) 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower801, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 720, lastApplied : 7, commitIndex : 7 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Initiating install snapshot to follower follower801: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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 follower801 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 18 06:57:35,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendInstallSnapshot 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Snapshot 431 bytes, total chunks to send: 1 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): next snapshot chunk size for follower follower801: 431 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): InstallSnapshot sent to follower Vector(user, follower801), Chunk: 1/1 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 18 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received [WARN] [01/22/2024 06:57:35.129] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bd7cbd5 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower801: Lagging -2 entries behind leader leader799 and reached 1 (of expected -1) 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader799, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower801: Lagging 6 entries behind leader leader799 and reached 1 (of expected -1) 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:57:35,129 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Snapshot installed from leader: leader799 06:57:35,129 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 06:57:35,129 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 06:57:35,130 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: 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=leader799, ServerConfigPayload=null] 06:57:35,130 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 [WARN] [01/22/2024 06:57:35.130] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4b5f5b66 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Snapshot success - sequence number: 6 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from 1 to 7 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=leader799 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applySnapshot called 06:57:35,130 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 06:57:35,131 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 06:57:35,131 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SnapshotComplete received 06:57:35,131 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Snapshot successfully installed on follower follower801 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 06:57:35,131 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a snapshot response 06:57:35,131 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a journal response [WARN] [01/22/2024 06:57:35.163] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower801]: org.opendaylight.controller.cluster.common.actor.Monitor@70721c12 06:57:35,163 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower801 with journal batch size 1000 06:57:35,164 AM [test-akka.actor.default-dispatcher-15] [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 06:57:35,250 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Term 6 in "AppendEntries [leaderId=leader799, 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 06:57:35,250 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=null 06:57:35,251 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): The followers log is empty and the senders prevLogIndex is 7 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower800: Lagging 0 entries behind leader leader799 and reached 7 (of expected -1) 06:57:35,251 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower801, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:35,251 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower801: Last sync leader does not match current leader leader799, need to catch up to 7 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower800: fakeSnapshot purging log to 6 for term 6 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower801, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower801 updated: matchIndex: -1, nextIndex: 0 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): follower follower801 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Checking sendAppendEntries for follower follower801: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 06:57:35,251 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Initiating install snapshot to follower follower801: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 06:57:35,252 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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 follower801 06:57:35,252 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: lastSequenceNumber prior to capture: 18 [WARN] [01/22/2024 06:57:35.252] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower801] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7deb0071 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: CaptureSnapshotReply received by actor 06:57:35,253 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 06:57:35,253 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower801, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: 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=leader799, ServerConfigPayload=null] 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): sendInstallSnapshot 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Snapshot 431 bytes, total chunks to send: 1 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader799 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): next snapshot chunk size for follower follower801: 431 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): InstallSnapshot sent to follower Vector(user, follower801), Chunk: 1/1 06:57:35,253 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader799, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower801, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): follower follower801 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 06:57:35,253 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:57:35,253 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): Snapshot installed from leader: leader799 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: Snapshot success - sequence number: 18 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: SnapshotComplete received 06:57:35,253 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a snapshot response 06:57:35,253 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799: handled a journal response 06:57:35,254 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: 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] 06:57:35,254 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Snapshot success - sequence number: 1 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Moving last applied index from -1 to 7 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: Set currentTerm=6, votedFor=null 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: applySnapshot called 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 06:57:35,254 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower801, chunkIndex=1, success=true] 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: SnapshotComplete received 06:57:35,254 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader799 (Leader): Snapshot successfully installed on follower follower801 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 06:57:35,254 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a snapshot response 06:57:35,254 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower801: handled a journal response 06:57:35,263 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower800-collector802#-518499375] 06:57:35,273 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower800] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower801-collector803#-964177327] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower801] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader799-collector804#-1527455701] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader799] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower801-collector805#-2059379072] 06:57:35,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower801] 06:57:35,275 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower801-collector806#-1675478400] 06:57:35,275 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower801] 06:57:35,275 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting 06:57:35,277 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower811 with journal batch size 1000 [WARN] [01/22/2024 06:57:35.278] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower811]: org.opendaylight.controller.cluster.common.actor.Monitor@6abc1d02 06:57:35,279 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower812 with journal batch size 1000 [WARN] [01/22/2024 06:57:35.279] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower812]: org.opendaylight.controller.cluster.common.actor.Monitor@5c169fc1 06:57:35,280 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:35,281 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:35.380] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader810]: org.opendaylight.controller.cluster.common.actor.Monitor@529b8e9a 06:57:35,380 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader810 with journal batch size 1000 06:57:35,382 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Set currentTerm=5, votedFor=leader810 06:57:35,382 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:35,867 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:35,867 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:35,867 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Follower): Received ElectionTimeout - switching to Candidate 06:57:35,867 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Election: Candidate has following voting peers: [follower812, follower811] 06:57:35,867 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Set currentTerm=6, votedFor=leader810 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Starting new election term 6 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Sending RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] to peer follower812 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Sending RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] to peer follower811 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Cluster state: [] 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Set currentTerm=6, votedFor=null 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Cluster state: [] 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Set currentTerm=6, votedFor=null 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): In requestVote: RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Set currentTerm=6, votedFor=leader810 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): In requestVote: RequestVote [term=6, candidateId=leader810, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Set currentTerm=6, votedFor=leader810 06:57:35,868 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:35,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Election: Leader has following peers: [follower812, follower811] 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:35,869 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower812: Last sync leader does not match current leader leader810, need to catch up to -1 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 06:57:35,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower811: Last sync leader does not match current leader leader810, need to catch up to -1 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: -1, nextIndex: 0 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:35.869] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower812] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4ff3ba66 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/22/2024 06:57:35.869] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower811] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7349b2ab 06:57:35,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:35,882 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 0 is present for follower follower812 06:57:35,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower812: AppendEntries [leaderId=leader810, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 0 is present for follower follower811 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Number of entries to be appended = 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Append entry to log zero 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log zero 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Log size is now 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached -1 (of expected -1) 06:57:35,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached -1 (of expected -1) 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: 0, nextIndex: 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 0, nextIndex: 1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 0 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from -1 to 0 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 0 data zero 06:57:35,884 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: zero 06:57:35,884 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=0 06:57:35,884 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [01/22/2024 06:57:35.885] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower812] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@58e948da [WARN] [01/22/2024 06:57:35.885] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower811] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d423e1b 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Commit index set to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Setting last applied to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from -1 to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from -1 to 0 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 0 data zero 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Applying state for log index 0 data zero 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: zero 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applyState called: zero 06:57:35,988 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=0 06:57:35,988 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Persisting ApplyJournalEntries with index=0 06:57:36,107 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,227 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,468 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 1 is present for follower follower811 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log one 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 2 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 0 (of expected -1) 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 1, nextIndex: 2 06:57:36,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 1 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 0 to 1 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 1 data one 06:57:36,543 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: one 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: fakeSnapshot purging log to 0 for term 6 06:57:36,543 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=1 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 1 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 1 (of expected -1) 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 1 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 0 to 1 06:57:36,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 1 data one 06:57:36,708 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: one 06:57:36,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: fakeSnapshot purging log to 0 for term 6 06:57:36,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=1 06:57:36,828 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 1 (of expected -1) 06:57:36,948 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 1 (of expected -1) 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 2 is present for follower follower811 06:57:36,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log two 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 2 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:36,999 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 1 (of expected -1) 06:57:36,999 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 2, nextIndex: 3 06:57:36,999 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:57:36,999 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:36,999 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: lastSequenceNumber prior to capture: 7 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 2 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 1 to 2 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 2 data two 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: two 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: CaptureSnapshotReply received by actor 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader810, ServerConfigPayload=null] 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 06:57:37,0 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 06:57:37,0 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=2 06:57:37,0 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 06:57:37,0 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Snapshot success - sequence number: 7 06:57:37,1 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SnapshotComplete received 06:57:37,1 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a journal response 06:57:37,1 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a snapshot response 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 2 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 2 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 1 to 2 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 2 data two 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: two 06:57:37,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=2 06:57:37,199 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 06:57:37,308 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,308 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower812: Lagging -1 entries behind leader leader810 and reached 0 (of expected -1) 06:57:37,308 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1200, lastApplied : 2, commitIndex : 2 06:57:37,308 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Initiating install snapshot to follower follower812: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 06:57:37,308 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: 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 follower812 06:57:37,308 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: lastSequenceNumber prior to capture: 8 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: CaptureSnapshotReply received by actor 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: 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=leader810, ServerConfigPayload=null] 06:57:37,309 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower812: Lagging -1 entries behind leader leader810 and reached 0 (of expected -1) 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendInstallSnapshot 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader810 (Leader): Snapshot 345 bytes, total chunks to send: 1 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader810 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): next snapshot chunk size for follower follower812: 345 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): InstallSnapshot sent to follower Vector(user, follower812), Chunk: 1/1 06:57:37,309 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader810, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 06:57:37,309 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower812: Lagging 2 entries behind leader leader810 and reached 0 (of expected -1) 06:57:37,309 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 06:57:37,309 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Snapshot installed from leader: leader810 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Snapshot success - sequence number: 8 06:57:37,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SnapshotComplete received 06:57:37,309 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a snapshot response 06:57:37,309 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a journal response 06:57:37,310 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: 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=leader810, ServerConfigPayload=null] 06:57:37,310 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Snapshot success - sequence number: 4 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from 0 to 2 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Set currentTerm=6, votedFor=leader810 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applySnapshot called 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower812, chunkIndex=1, success=true] 06:57:37,310 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower812, chunkIndex=1, success=true] 06:57:37,310 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Snapshot successfully installed on follower follower812 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 06:57:37,310 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: SnapshotComplete received 06:57:37,311 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: handled a snapshot response 06:57:37,311 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: handled a journal response 06:57:37,428 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,428 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,428 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: fakeSnapshot purging log to 1 for term 6 06:57:37,453 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 3 is present for follower follower812 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower812: AppendEntries [leaderId=leader810, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 3 is present for follower follower811 06:57:37,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Number of entries to be appended = 1 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Append entry to log three 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log three 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Log size is now 1 06:57:37,453 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 2 06:57:37,453 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,454 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,454 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,454 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 2 (of expected -1) 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: 3, nextIndex: 4 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 3, nextIndex: 4 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 3 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 2 to 3 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 3 data three 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: three 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: fakeSnapshot purging log to 2 for term 6 06:57:37,454 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=3 06:57:37,455 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Commit index set to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 3 (of expected -1) 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Setting last applied to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from 2 to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Applying state for log index 3 data three 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 3 (of expected -1) 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 2 to 3 06:57:37,668 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 3 data three 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applyState called: three 06:57:37,668 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Persisting ApplyJournalEntries with index=3 06:57:37,669 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: three 06:57:37,669 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: fakeSnapshot purging log to 2 for term 6 06:57:37,669 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=3 06:57:37,705 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 4 is present for follower follower812 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower812: AppendEntries [leaderId=leader810, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 4 is present for follower follower811 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 06:57:37,705 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log four 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Number of entries to be appended = 1 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Append entry to log four 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 2 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Log size is now 2 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 3 (of expected -1) 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 4, nextIndex: 5 06:57:37,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 3 (of expected -1) 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: 4, nextIndex: 5 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:37,706 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,706 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:37,706 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: lastSequenceNumber prior to capture: 11 06:57:37,706 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 4 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 3 to 4 06:57:37,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 4 data four 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: four 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: CaptureSnapshotReply received by actor 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: 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=leader810, ServerConfigPayload=null] 06:57:37,707 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 06:57:37,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=4 06:57:37,707 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SaveSnapshotSuccess received for snapshot, sequenceNr: 11 06:57:37,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Snapshot success - sequence number: 11 06:57:37,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SnapshotComplete received 06:57:37,708 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a snapshot response 06:57:37,708 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: handled a journal response 06:57:37,755 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 5 is present for follower follower812 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower812: AppendEntries [leaderId=leader810, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 5 is present for follower follower811 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Number of entries to be appended = 1 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Append entry to log five 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 5 is present for follower follower812 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log five 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 5 is present for follower follower811 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 3 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 4 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 4 (of expected -1) 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 4 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 3 to 4 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 4 data four 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 5, nextIndex: 6 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: fakeSnapshot purging log to 3 for term 6 06:57:37,756 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: four 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 06:57:37,756 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 6 is present for follower follower811 06:57:37,756 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Log size is now 3 06:57:37,757 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower811: AppendEntries [leaderId=leader810, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Commit index set to 4 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 4 (of expected -1) 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Setting last applied to 4 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: 5, nextIndex: 6 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from 3 to 4 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Applying state for log index 4 data four 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): sendAppendEntries: 6 is present for follower follower812 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Sending AppendEntries to follower follower812: AppendEntries [leaderId=leader810, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:37,757 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applyState called: four 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 5 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 4 to 5 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 5 data five 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: five 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: fakeSnapshot purging log to 4 for term 6 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=5 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=4 06:57:37,757 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:37,757 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Number of entries to be appended = 1 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Append entry to log six 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Log size is now 4 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower811, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries: AppendEntries [leaderId=leader810, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 4 (of expected -1) 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Number of entries to be appended = 1 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: fakeSnapshot purging log to 3 for term 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Append entry to log six 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower811 updated: matchIndex: 6, nextIndex: 7 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Log size is now 4 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Setting last applied to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 5 to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Applying state for log index 6 data six 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower812, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 4 (of expected -1) 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: fakeSnapshot purging log to 3 for term 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: applyState called: six 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: fakeSnapshot purging log to 5 for term 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower811: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower812 updated: matchIndex: 6, nextIndex: 7 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Checking sendAppendEntries for follower follower812: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,758 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Persisting ApplyJournalEntries with index=6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Commit index set to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 6 (of expected -1) 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 5 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 4 to 5 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 5 data five 06:57:37,758 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: five 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811 (Follower): Setting last applied to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Moving last applied index from 5 to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Applying state for log index 6 data six 06:57:37,758 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Persisting ApplyJournalEntries with index=4 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: applyState called: six 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: fakeSnapshot purging log to 5 for term 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower811: Persisting ApplyJournalEntries with index=6 06:57:37,758 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Commit index set to 6 06:57:37,758 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 6 (of expected -1) 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Setting last applied to 5 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from 4 to 5 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Applying state for log index 5 data five 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applyState called: five 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812 (Follower): Setting last applied to 6 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Moving last applied index from 5 to 6 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Applying state for log index 6 data six 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: applyState called: six 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: fakeSnapshot purging log to 5 for term 6 06:57:37,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower812: Persisting ApplyJournalEntries with index=6 06:57:37,908 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower812: Lagging 0 entries behind leader leader810 and reached 6 (of expected -1) 06:57:37,908 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower811: Lagging 0 entries behind leader leader810 and reached 6 (of expected -1) 06:57:37,958 AM [main] [INFO] InMemoryJournal - Journal log for leader810: 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] 06:57:37,959 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 06:57:37,959 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 06:57:37,972 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader810 with journal batch size 1000 [WARN] [01/22/2024 06:57:37.972] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader810]: org.opendaylight.controller.cluster.common.actor.Monitor@6bc973a6 06:57:37,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: SnapshotOffer called. 06:57:37,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from -1 to 3 06:57:37,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Set currentTerm=6, votedFor=leader810 06:57:37,973 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader810 in 120.3 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Received apply journal entries for recovery, applying to state: 4 to 4 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 3 to 4 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Received ReplicatedLogEntry for recovery: index: 5, size: 4 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Received ReplicatedLogEntry for recovery: index: 6, size: 3 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Received apply journal entries for recovery, applying to state: 5 to 5 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 4 to 5 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Received apply journal entries for recovery, applying to state: 6 to 6 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Moving last applied index from 5 to 6 06:57:37,974 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Recovery completed in 1.956 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 06:57:37,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Follower): Received TimeoutNow - switching to Candidate 06:57:37,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Election: Candidate has following voting peers: [] 06:57:37,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810: Set currentTerm=7, votedFor=leader810 06:57:37,975 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Starting new election term 7 06:57:37,975 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 06:57:37,976 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate): Received ElectionTimeout 06:57:37,976 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Leader): Election: Leader has following peers: [] 06:57:37,976 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader810 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 06:57:38,71 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 06:57:38,71 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 06:57:38,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower811-collector813#-1880432678] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower811] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower812-collector814#1767437474] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower812] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader810-collector815#183198158] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader810] 06:57:38,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader810-collector816#-1629542474] 06:57:38,83 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader810] [INFO] [01/22/2024 06:57:38.083] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 06:57:38,84 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/22/2024 06:57:38.084] [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.69:25520) [INFO] [01/22/2024 06:57:38.085] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed [INFO] [01/22/2024 06:57:38.085] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... [INFO] [01/22/2024 06:57:38.085] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down 06:57:38,86 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed 06:57:38,86 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... 06:57:38,86 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down [INFO] [01/22/2024 06:57:38.087] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.69:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [01/22/2024 06:57:38.087] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.69:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 06:57:38,88 AM [test-akka.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 06:57:38,88 AM [test-akka.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/22/2024 06:57:38.090] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.69:25520/system/remoting-terminator] Remoting shut down. 06:57:38,90 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [01/22/2024 06:57:38.090] [test-akka.actor.internal-dispatcher-8] [EventStream] shutting down: StandardOutLogger