[DEBUG] [02/27/2024 11:14:28.079] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:14:28,79 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [02/27/2024 11:14:28.079] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [02/27/2024 11:14:28.079] [main] [EventStream(akka://test)] Default Loggers started 11:14:28,92 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [8955964848267127422] [INFO] [02/27/2024 11:14:28.091] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [8955964848267127422] [INFO] [02/27/2024 11:14:28.092] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... 11:14:28,92 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... [INFO] [02/27/2024 11:14:28.097] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [02/27/2024 11:14:28.097] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully 11:14:28,98 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:14:28,98 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully 11:14:28,99 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:14:28,99 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [02/27/2024 11:14:28.099] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [02/27/2024 11:14:28.099] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:14:28,106 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads [WARN] [02/27/2024 11:14:28.109] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower597]: org.opendaylight.controller.cluster.common.actor.Monitor@2ad1ff9d [INFO] [akkaDeadLetter][02/27/2024 11:14:28.109] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower597] 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'. 11:14:28,109 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower597] 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'. 11:14:28,111 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower597 with journal batch size 1000 [WARN] [02/27/2024 11:14:28.113] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower598]: org.opendaylight.controller.cluster.common.actor.Monitor@4fed1780 [INFO] [akkaDeadLetter][02/27/2024 11:14:28.113] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower598] 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'. 11:14:28,113 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower598] 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'. 11:14:28,113 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower598 with journal batch size 1000 11:14:28,114 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:28,114 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:28.214] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader596]: org.opendaylight.controller.cluster.common.actor.Monitor@58e11826 [INFO] [akkaDeadLetter][02/27/2024 11:14:28.214] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader596] 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'. 11:14:28,214 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader596] 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'. 11:14:28,215 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader596 with journal batch size 1000 11:14:28,217 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Set currentTerm=5, votedFor=leader596 11:14:28,217 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Follower): Received ElectionTimeout - switching to Candidate 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): Election: Candidate has following voting peers: [follower597, follower598] 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Set currentTerm=6, votedFor=leader596 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): Starting new election term 6 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): Sending RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] to peer follower597 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): Sending RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] to peer follower598 11:14:28,658 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:28,658 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Cluster state: [] 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Set currentTerm=6, votedFor=null 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Cluster state: [] 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Set currentTerm=6, votedFor=null 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): In requestVote: RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Set currentTerm=6, votedFor=leader596 11:14:28,659 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): In requestVote: RequestVote [term=6, candidateId=leader596, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Set currentTerm=6, votedFor=leader596 11:14:28,659 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:28,659 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 11:14:28,659 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 11:14:28,660 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Election: Leader has following peers: [follower597, follower598] 11:14:28,660 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:28,660 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower598: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:28,660 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 11:14:28,660 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower597: Last sync leader does not match current leader leader596, need to catch up to -1 11:14:28,660 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower598: Last sync leader does not match current leader leader596, need to catch up to -1 [WARN] [02/27/2024 11:14:28.660] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower598] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1a87c5f1 [WARN] [02/27/2024 11:14:28.661] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower597] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@de565e1 11:14:28,661 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower598] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][02/27/2024 11:14:28.661] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower598] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower598] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][02/27/2024 11:14:28.661] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower597] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower597] 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'. 11:14:28,661 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower597] 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'. 11:14:28,661 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower597 updated: matchIndex: -1, nextIndex: 0 11:14:28,661 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:28,662 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower598 updated: matchIndex: -1, nextIndex: 0 11:14:28,662 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower598: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:28,671 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower597 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Sending AppendEntries to follower follower597: AppendEntries [leaderId=leader596, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower598: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower598 11:14:28,671 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Sending AppendEntries to follower follower598: AppendEntries [leaderId=leader596, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:28,671 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): handleAppendEntries: AppendEntries [leaderId=leader596, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:28,671 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Number of entries to be appended = 1 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Append entry to log zero 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Log size is now 1 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower597 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower598: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower598 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower597, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:28,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached -1 (of expected -1) 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower597 updated: matchIndex: 0, nextIndex: 1 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 1 is present for follower follower597 11:14:28,672 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Sending AppendEntries to follower follower597: AppendEntries [leaderId=leader596, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Setting last applied to 0 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Moving last applied index from -1 to 0 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Applying state for log index 0 data zero 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: applyState called: zero 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): handleAppendEntries: AppendEntries [leaderId=leader596, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Number of entries to be appended = 1 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Persisting ApplyJournalEntries with index=0 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Append entry to log one 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Log size is now 2 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower597, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:28,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached -1 (of expected -1) 11:14:28,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower597 updated: matchIndex: 1, nextIndex: 2 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Setting last applied to 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Moving last applied index from 0 to 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Applying state for log index 1 data one [WARN] [02/27/2024 11:14:28.674] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower597] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f64829c 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: applyState called: one 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower597: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][02/27/2024 11:14:28.674] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower597] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower597] 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'. 11:14:28,674 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower597] 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'. 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: Persisting ApplyJournalEntries with index=1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Commit index set to 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Setting last applied to 0 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Moving last applied index from -1 to 0 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Applying state for log index 0 data zero 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: applyState called: zero 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597 (Follower): Setting last applied to 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Moving last applied index from 0 to 1 11:14:28,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Applying state for log index 1 data one 11:14:28,675 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: applyState called: one 11:14:28,675 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: Persisting ApplyJournalEntries with index=1 11:14:28,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower598 11:14:28,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Sending AppendEntries to follower follower598: AppendEntries [leaderId=leader596, 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]]] 11:14:28,778 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:28,822 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower598 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): sendAppendEntries: 0 is present for follower follower598 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Sending AppendEntries to follower follower598: AppendEntries [leaderId=leader596, 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]]] 11:14:28,898 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): handleAppendEntries: AppendEntries [leaderId=leader596, 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]]] 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Number of entries to be appended = 2 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Append entry to log zero 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Append entry to log one 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Log size is now 2 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Commit index set to 1 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower598, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:28,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower598: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:14:28,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower598 updated: matchIndex: 1, nextIndex: 2 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Setting last applied to 0 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Moving last applied index from -1 to 0 11:14:28,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596: fakeSnapshot purging log to 0 for term 6 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Applying state for log index 0 data zero 11:14:28,899 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader596 (Leader): Checking sendAppendEntries for follower follower598: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: applyState called: zero 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598 (Follower): Setting last applied to 1 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Moving last applied index from 0 to 1 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Applying state for log index 1 data one 11:14:28,899 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: applyState called: one 11:14:28,900 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:28,900 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:28,900 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: Persisting ApplyJournalEntries with index=1 [WARN] [02/27/2024 11:14:28.900] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower598] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7fe1f5ee [INFO] [akkaDeadLetter][02/27/2024 11:14:28.901] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower598] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower598] 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'. 11:14:28,901 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower598] 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'. 11:14:29,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower598: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:29,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower597: Lagging 0 entries behind leader leader596 and reached 1 (of expected -1) 11:14:29,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower598: fakeSnapshot purging log to 0 for term 6 11:14:29,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower597: fakeSnapshot purging log to 0 for term 6 11:14:29,24 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 11:14:29,24 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower597-collector599#-322875738] 11:14:29,36 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower597] 11:14:29,36 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower598-collector600#-432467845] 11:14:29,36 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower598] 11:14:29,36 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader596-collector601#-1795145939] 11:14:29,37 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader596] 11:14:29,38 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting [WARN] [02/27/2024 11:14:29.039] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower606]: org.opendaylight.controller.cluster.common.actor.Monitor@4acc72a8 [INFO] [akkaDeadLetter][02/27/2024 11:14:29.039] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower606] 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'. 11:14:29,40 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower606] 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'. 11:14:29,41 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower606 with journal batch size 1000 11:14:29,43 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:29.043] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower607]: org.opendaylight.controller.cluster.common.actor.Monitor@2e2482d2 11:14:29,43 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower607 with journal batch size 1000 [INFO] [akkaDeadLetter][02/27/2024 11:14:29.043] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower607] 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'. 11:14:29,43 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower607] 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'. [WARN] [02/27/2024 11:14:29.045] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader605]: org.opendaylight.controller.cluster.common.actor.Monitor@2bd06574 [INFO] [akkaDeadLetter][02/27/2024 11:14:29.045] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader605] 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'. 11:14:29,45 AM [test-akka.actor.default-dispatcher-18] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader605] 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'. 11:14:29,46 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader605 with journal batch size 1000 11:14:29,48 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Set currentTerm=5, votedFor=leader605 11:14:29,48 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:29,48 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Follower): Received ElectionTimeout - switching to Candidate 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): Election: Candidate has following voting peers: [follower607, follower606] 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Set currentTerm=6, votedFor=leader605 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): Starting new election term 6 11:14:29,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): Sending RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] to peer follower607 11:14:29,489 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): Sending RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] to peer follower606 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Cluster state: [] 11:14:29,489 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Set currentTerm=6, votedFor=null 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): In requestVote: RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Set currentTerm=6, votedFor=leader605 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Cluster state: [] 11:14:29,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Set currentTerm=6, votedFor=null 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): In requestVote: RequestVote [term=6, candidateId=leader605, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Set currentTerm=6, votedFor=leader605 11:14:29,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:29,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 11:14:29,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 11:14:29,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Election: Leader has following peers: [follower607, follower606] 11:14:29,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 11:14:29,491 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower607: Last sync leader does not match current leader leader605, need to catch up to -1 11:14:29,491 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower606: Last sync leader does not match current leader leader605, need to catch up to -1 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower607 updated: matchIndex: -1, nextIndex: 0 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:29.491] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower607] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@437fbbf4 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: -1, nextIndex: 0 [WARN] [02/27/2024 11:14:29.491] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower606] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28c124b0 11:14:29,491 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:29,498 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 11:14:29,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:29,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:29,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 0 is present for follower follower607 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower607: AppendEntries [leaderId=leader605, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 0 is present for follower follower606 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Number of entries to be appended = 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Append entry to log zero 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Log size is now 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower607, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:29,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached -1 (of expected -1) 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log zero 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 0 is present for follower follower607 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 0 is present for follower follower606 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower607 updated: matchIndex: 0, nextIndex: 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 1 is present for follower follower607 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower607: AppendEntries [leaderId=leader605, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:29,499 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached -1 (of expected -1) 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 0, nextIndex: 1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 1 is present for follower follower606 11:14:29,499 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:29,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,500 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 0 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from -1 to 0 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 0 data zero 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Number of entries to be appended = 1 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Append entry to log one 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: zero 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Log size is now 2 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower607, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:29,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached -1 (of expected -1) 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=0 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 1 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log one 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [02/27/2024 11:14:29.501] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower607] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7f4be229 [WARN] [02/27/2024 11:14:29.501] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower606] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43a1f202 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower607 updated: matchIndex: 1, nextIndex: 2 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 2 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:29,501 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached -1 (of expected -1) 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 1, nextIndex: 2 11:14:29,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:29,502 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 0 (of expected -1) 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Commit index set to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from -1 to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached 0 (of expected -1) 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 0 data zero 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Setting last applied to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Moving last applied index from -1 to 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Applying state for log index 0 data zero 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: zero 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: applyState called: zero 11:14:29,503 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=0 11:14:29,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Persisting ApplyJournalEntries with index=0 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 1 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 0 to 1 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 1 data one 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: one 11:14:29,503 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: fakeSnapshot purging log to 0 for term 6 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 0 to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 1 data one 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: one 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: fakeSnapshot purging log to 0 for term 6 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Commit index set to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Setting last applied to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Moving last applied index from 0 to 1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Applying state for log index 1 data one 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: applyState called: one 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: fakeSnapshot purging log to 0 for term 6 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Persisting ApplyJournalEntries with index=1 11:14:29,504 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=1 11:14:29,608 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,728 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,848 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:29,968 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,15 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:30,15 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:30,15 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,16 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:30,16 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:30,16 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 2 is present for follower follower606 11:14:30,16 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 1 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log two 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 2 is present for follower follower606 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 2 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:30,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:14:30,17 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 2 is present for follower follower606 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 2, nextIndex: 3 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 3 is present for follower follower606 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, 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]]] 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 3 is present for follower follower606 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, 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]]] 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 2 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log three 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 11:14:30,18 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 3 is present for follower follower606 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log four 11:14:30,18 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:30,19 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 4 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:30,19 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:30,19 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 2 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 1 to 2 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 2 data two 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: two 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: fakeSnapshot purging log to 1 for term 6 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 4, nextIndex: 5 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 1 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 5 is present for follower follower606 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, prevLogIndex=4, prevLogTerm=6, leaderCommit=2, 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]]] 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=2 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 11:14:30,19 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: lastSequenceNumber prior to capture: 8 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 3 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 2 to 3 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 3 data three 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: three 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: CaptureSnapshotReply received by actor 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=4, prevLogTerm=6, leaderCommit=2, 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]]] 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: 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=leader605, ServerConfigPayload=null] 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log five 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=3 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log six 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 6 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 4 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 3 to 4 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 4 data four 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 2 (of expected -1) 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: four 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 1 to 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 2 data two 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 6, nextIndex: 7 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=4 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: two 11:14:30,20 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: fakeSnapshot purging log to 1 for term 6 11:14:30,20 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:30,21 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 11:14:30,21 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 5 11:14:30,21 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 4 to 5 11:14:30,21 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 5 data five 11:14:30,21 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: five 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=5 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 6 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 5 to 6 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 6 data six 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: six 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=6 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Snapshot success - sequence number: 8 11:14:30,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SnapshotComplete received 11:14:30,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a snapshot response 11:14:30,27 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:30,27 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 4 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 4 (of expected -1) 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 2, lastIndex(): 6 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 3 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 2 to 3 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 3 data three 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: three 11:14:30,28 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a journal response 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 4 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 3 to 4 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 4 data four 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: four 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=2 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 6 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 6 (of expected -1) 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 5 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 4 to 5 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 5 data five 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: five 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 6 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 5 to 6 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 6 data six 11:14:30,28 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: six 11:14:30,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=4 11:14:30,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=6 11:14:30,69 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 7 is present for follower follower606 11:14:30,69 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 1 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log seven 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:30,69 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 6 11:14:30,70 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:30,70 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 6 (of expected -1) 11:14:30,70 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 7, nextIndex: 8 11:14:30,70 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: lastSequenceNumber prior to capture: 17 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 7 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 6 to 7 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 7 data seven 11:14:30,70 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: applyState called: seven 11:14:30,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: CaptureSnapshotReply received by actor 11:14:30,71 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: 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=leader605, ServerConfigPayload=null] 11:14:30,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 11:14:30,71 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 11:14:30,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=7 11:14:30,71 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 11:14:30,71 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Snapshot success - sequence number: 17 11:14:30,71 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SnapshotComplete received 11:14:30,71 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a snapshot response 11:14:30,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a journal response 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 7 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 7 (of expected -1) 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 7 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 6 to 7 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 7 data seven 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: applyState called: seven 11:14:30,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=7 11:14:30,220 AM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Updated server config: isVoting: true, peers: [PeerInfo [id=follower607, address=akka://test/user/follower607, votingState=NON_VOTING], PeerInfo [id=follower606, address=akka://test/user/follower606, votingState=NON_VOTING]] 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]] 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]] 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, payload: class org.opendaylight.controller.cluster.raft.persisted.ServerConfigurationPayload, isSendImmediate: true 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 11:14:30,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendAppendEntries: 8 is present for follower follower606 11:14:30,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader605, 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=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]]]] 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries: AppendEntries [leaderId=leader605, 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=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]]]] 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Number of entries to be appended = 1 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]] 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]] 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Updated server config: isVoting: false, peers: [PeerInfo [id=follower607, address=akka://test/user/follower607, votingState=NON_VOTING], PeerInfo [id=leader605, address=akka://test/user/leader605, votingState=VOTING]] 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Log size is now 7 11:14:30,224 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower606, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:30,225 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 7 (of expected -1) 11:14:30,225 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: 8, nextIndex: 9 11:14:30,225 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 11:14:30,225 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]] 11:14:30,225 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]]] 11:14:30,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 11:14:30,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Setting last applied to 8 11:14:30,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Moving last applied index from 7 to 8 11:14:30,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]] 11:14:30,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Persisting ApplyJournalEntries with index=8 11:14:30,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Commit index set to 8 11:14:30,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 8 (of expected -1) 11:14:30,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 11:14:30,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Setting last applied to 8 11:14:30,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from 7 to 8 11:14:30,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader605, isVoting=true], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=follower607, isVoting=false]]] 11:14:30,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Persisting ApplyJournalEntries with index=8 11:14:30,376 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 11:14:30,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower607: Lagging -2 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,448 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 8 (of expected -1) 11:14:30,448 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower607, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 839, lastApplied : 8, commitIndex : 8 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Initiating install snapshot to follower follower607: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: 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 follower607 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: lastSequenceNumber prior to capture: 20 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: CaptureSnapshotReply received by actor 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: 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=leader605, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower607, isVoting=false], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=leader605, isVoting=true]]]] 11:14:30,449 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): sendInstallSnapshot 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader605 (Leader): Snapshot 431 bytes, total chunks to send: 1 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader605 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): next snapshot chunk size for follower follower607: 431 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): InstallSnapshot sent to follower Vector(user, follower607), Chunk: 1/1 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SaveSnapshotSuccess received for snapshot, sequenceNr: 20 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: Snapshot success - sequence number: 20 11:14:30,450 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: SnapshotComplete received 11:14:30,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower607: Lagging -2 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader605, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower607, isVoting=false], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=leader605, isVoting=true]]]] 11:14:30,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower607: Lagging 7 entries behind leader leader605 and reached 1 (of expected -1) 11:14:30,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:14:30,450 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Snapshot installed from leader: leader605 11:14:30,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a snapshot response 11:14:30,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: handled a journal response 11:14:30,451 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: 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=leader605, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower607, isVoting=false], ServerInfo[peerId=follower606, isVoting=false], ServerInfo[peerId=leader605, isVoting=true]]]] 11:14:30,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Snapshot success - sequence number: 6 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Moving last applied index from 1 to 8 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Set currentTerm=6, votedFor=leader605 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Updated server config: isVoting: false, peers: [PeerInfo [id=follower606, address=akka://test/user/follower606, votingState=NON_VOTING], PeerInfo [id=leader605, address=akka://test/user/leader605, votingState=VOTING]] 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: applySnapshot called 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower607, chunkIndex=1, success=true] 11:14:30,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: SnapshotComplete received 11:14:30,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower607, chunkIndex=1, success=true] 11:14:30,453 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader605 (Leader): Snapshot successfully installed on follower follower607 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 11:14:30,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader605: fakeSnapshot purging log to 7 for term 6 11:14:30,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: handled a journal response 11:14:30,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: handled a snapshot response 11:14:30,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower606: Lagging 0 entries behind leader leader605 and reached 8 (of expected -1) 11:14:30,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader605 and reached 8 (of expected -1) 11:14:30,569 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: fakeSnapshot purging log to 7 for term 6 11:14:30,582 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 11:14:30,582 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 11:14:30,582 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower606-collector608#-1956146700] 11:14:30,593 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower606] 11:14:30,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower607-collector609#1628785218] 11:14:30,594 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower607] 11:14:30,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader605-collector610#1089428426] 11:14:30,594 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader605] 11:14:30,595 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting [WARN] [02/27/2024 11:14:30.597] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower615]: org.opendaylight.controller.cluster.common.actor.Monitor@5143d660 11:14:30,598 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower615 with journal batch size 1000 [WARN] [02/27/2024 11:14:30.600] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower616]: org.opendaylight.controller.cluster.common.actor.Monitor@4cf2e7bb 11:14:30,600 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:30,600 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower616 with journal batch size 1000 11:14:30,601 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:30.601] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader614]: org.opendaylight.controller.cluster.common.actor.Monitor@13fe404c 11:14:30,602 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader614 with journal batch size 1000 11:14:30,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Set currentTerm=5, votedFor=leader614 11:14:30,604 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Follower): Received ElectionTimeout - switching to Candidate 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): Election: Candidate has following voting peers: [follower616, follower615] 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Set currentTerm=6, votedFor=leader614 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): Starting new election term 6 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): Sending RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] to peer follower616 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): Sending RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] to peer follower615 11:14:31,108 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 11:14:31,108 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:31,108 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Cluster state: [] 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Set currentTerm=6, votedFor=null 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Cluster state: [] 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): In requestVote: RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Set currentTerm=6, votedFor=leader614 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Set currentTerm=6, votedFor=null 11:14:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): In requestVote: RequestVote [term=6, candidateId=leader614, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Set currentTerm=6, votedFor=leader614 11:14:31,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Election: Leader has following peers: [follower616, follower615] 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:31,110 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower616: Last sync leader does not match current leader leader614, need to catch up to -1 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 11:14:31,110 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower615: Last sync leader does not match current leader leader614, need to catch up to -1 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower616 updated: matchIndex: -1, nextIndex: 0 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:31.110] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower616] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4d9afb0d 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: -1, nextIndex: 0 [WARN] [02/27/2024 11:14:31.110] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower615] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5859028b 11:14:31,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:31,155 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 0 is present for follower follower616 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:31,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 0 is present for follower follower615 11:14:31,155 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:31,155 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Number of entries to be appended = 1 11:14:31,155 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:31,155 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log zero 11:14:31,155 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:31,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Log size is now 1 11:14:31,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower616, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached -1 (of expected -1) 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 0 is present for follower follower616 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 0 is present for follower follower615 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower616 updated: matchIndex: 0, nextIndex: 1 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 1 is present for follower follower616 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log zero 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 1 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,156 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached -1 (of expected -1) 11:14:31,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 0, nextIndex: 1 11:14:31,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 1 is present for follower follower615 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Number of entries to be appended = 1 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log one 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Log size is now 2 [WARN] [02/27/2024 11:14:31.157] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower616] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51e4b2d 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower616, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,157 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached -1 (of expected -1) 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 0 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from -1 to 0 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 0 data zero 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: zero 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower616 updated: matchIndex: 1, nextIndex: 2 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log one 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 2 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,157 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached -1 (of expected -1) [WARN] [02/27/2024 11:14:31.157] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower615] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6821272d 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Commit index set to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 0 (of expected -1) 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from -1 to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 0 data zero 11:14:31,158 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 1, nextIndex: 2 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: zero 11:14:31,158 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Persisting ApplyJournalEntries with index=0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from 0 to 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 1 data one 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: one 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 0 (of expected -1) 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: fakeSnapshot purging log to 0 for term 6 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from -1 to 0 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 0 data zero 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: zero 11:14:31,158 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=1 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from 0 to 1 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 1 data one 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: one 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: fakeSnapshot purging log to 0 for term 6 11:14:31,158 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=0 11:14:31,159 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=1 11:14:31,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Commit index set to 1 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 1 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from 0 to 1 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 1 data one 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: one 11:14:31,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: fakeSnapshot purging log to 0 for term 6 11:14:31,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Persisting ApplyJournalEntries with index=1 11:14:31,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,508 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower615 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log two 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 2 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 1 (of expected -1) 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 2, nextIndex: 3 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 2 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from 1 to 2 11:14:31,509 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 2 data two 11:14:31,510 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: two 11:14:31,510 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: fakeSnapshot purging log to 1 for term 6 11:14:31,510 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=2 11:14:31,510 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,588 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,588 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:31,708 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,708 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 2 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 2 (of expected -1) 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 2 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from 1 to 2 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 2 data two 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: two 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: fakeSnapshot purging log to 1 for term 6 11:14:31,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=2 11:14:31,709 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,709 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 3 is present for follower follower615 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log three 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 2 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 2 (of expected -1) 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 3, nextIndex: 4 11:14:31,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: lastSequenceNumber prior to capture: 9 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 3 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from 2 to 3 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 3 data three 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: three 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: CaptureSnapshotReply received by actor 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: 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=leader614, ServerConfigPayload=null] 11:14:31,711 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 11:14:31,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=3 11:14:31,712 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: SaveSnapshotSuccess received for snapshot, sequenceNr: 9 11:14:31,712 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Snapshot success - sequence number: 9 11:14:31,712 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: SnapshotComplete received 11:14:31,712 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: handled a snapshot response 11:14:31,714 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: handled a journal response 11:14:31,760 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, 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]]] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 4 is present for follower follower615 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log four 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 11:14:31,760 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 4 is present for follower follower615 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 3 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 3 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 3 (of expected -1) 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 3 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from 2 to 3 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 3 data three 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: three 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 4, nextIndex: 5 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 5 is present for follower follower615 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower615: AppendEntries [leaderId=leader614, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=3 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Number of entries to be appended = 1 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 4 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Append entry to log five 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from 3 to 4 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,761 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 4 data four 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Log size is now 4 11:14:31,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower615, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,762 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 3 (of expected -1) 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: four 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower615 updated: matchIndex: 5, nextIndex: 6 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower615: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=4 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 4 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 4 (of expected -1) 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 4 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from 3 to 4 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Setting last applied to 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 4 data four 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Moving last applied index from 4 to 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Applying state for log index 5 data five 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: four 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: applyState called: five 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=4 11:14:31,762 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: Persisting ApplyJournalEntries with index=5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Commit index set to 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615 (Follower): Setting last applied to 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Moving last applied index from 4 to 5 11:14:31,762 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Applying state for log index 5 data five 11:14:31,763 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: applyState called: five 11:14:31,763 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: Persisting ApplyJournalEntries with index=5 11:14:31,828 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): sendAppendEntries: 2 is present for follower follower616 11:14:31,828 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Sending AppendEntries to follower follower616: AppendEntries [leaderId=leader614, 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]]] 11:14:31,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries: AppendEntries [leaderId=leader614, 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]]] 11:14:31,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Number of entries to be appended = 4 11:14:31,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:14:31,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log two 11:14:31,828 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log three 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log four 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Append entry to log five 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Log size is now 5 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Commit index set to 5 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower616, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:31,829 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower616 updated: matchIndex: 5, nextIndex: 6 11:14:31,829 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614: fakeSnapshot purging log to 4 for term 6 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 2 11:14:31,829 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader614 (Leader): Checking sendAppendEntries for follower follower616: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from 1 to 2 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 2 data two 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: two 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 3 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from 2 to 3 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 3 data three 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: three 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 4 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from 3 to 4 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 4 data four 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: four 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616 (Follower): Setting last applied to 5 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Moving last applied index from 4 to 5 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Applying state for log index 5 data five 11:14:31,829 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: applyState called: five 11:14:31,830 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: fakeSnapshot purging log to 1 for term 6 11:14:31,830 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:31,831 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:31,831 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:31,831 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:31,831 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: Persisting ApplyJournalEntries with index=5 11:14:31,949 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:31,949 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower615: fakeSnapshot purging log to 4 for term 6 11:14:31,949 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:31,949 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower616: fakeSnapshot purging log to 4 for term 6 11:14:32,68 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:32,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:32,188 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower615: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:32,188 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower616: Lagging 0 entries behind leader leader614 and reached 5 (of expected -1) 11:14:32,215 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 11:14:32,215 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower615-collector617#-100651179] 11:14:32,226 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower615] 11:14:32,226 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower616-collector618#391650416] 11:14:32,226 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower616] 11:14:32,227 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader614-collector619#-1476375968] 11:14:32,227 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader614] 11:14:32,228 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting [WARN] [02/27/2024 11:14:32.230] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower624]: org.opendaylight.controller.cluster.common.actor.Monitor@63b5a0e4 11:14:32,231 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower624 with journal batch size 1000 11:14:32,233 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:32.332] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower625]: org.opendaylight.controller.cluster.common.actor.Monitor@601dc326 11:14:32,333 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower625 with journal batch size 1000 11:14:32,334 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:32.335] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader623]: org.opendaylight.controller.cluster.common.actor.Monitor@7b5a4e80 11:14:32,335 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader623 with journal batch size 1000 11:14:32,336 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Set currentTerm=5, votedFor=leader623 11:14:32,336 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:32,818 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Follower): Received ElectionTimeout - switching to Candidate 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): Election: Candidate has following voting peers: [follower625, follower624] 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Set currentTerm=6, votedFor=leader623 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): Starting new election term 6 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): Sending RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] to peer follower625 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): Sending RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] to peer follower624 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Cluster state: [] 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=null 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Cluster state: [] 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): In requestVote: RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=leader623 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Set currentTerm=6, votedFor=null 11:14:32,819 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): In requestVote: RequestVote [term=6, candidateId=leader623, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:32,819 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Set currentTerm=6, votedFor=leader623 11:14:32,820 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:32,820 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 11:14:32,820 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 11:14:32,820 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Election: Leader has following peers: [follower625, follower624] 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:32,821 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower625: Last sync leader does not match current leader leader623, need to catch up to -1 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 11:14:32,821 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower624: Last sync leader does not match current leader leader623, need to catch up to -1 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: -1, nextIndex: 0 [WARN] [02/27/2024 11:14:32.821] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51eeef37 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:32.821] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower624] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@27ec8bc7 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: -1, nextIndex: 0 11:14:32,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:32,838 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 0 is present for follower follower625 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower625: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 0 is present for follower follower624 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:32,838 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:32,838 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Number of entries to be appended = 1 11:14:32,838 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:32,838 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Append entry to log zero 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,838 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,838 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Log size is now 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower625, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 0 is present for follower follower625 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader623 and reached -1 (of expected -1) 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 0 is present for follower follower624 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: 0, nextIndex: 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 1 is present for follower follower625 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower625: AppendEntries [leaderId=leader623, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log zero 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached -1 (of expected -1) 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 0, nextIndex: 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 1 is present for follower follower624 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 0 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from -1 to 0 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 0 data zero 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Number of entries to be appended = 1 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: zero 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Append entry to log one 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Log size is now 2 11:14:32,839 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=0 11:14:32,839 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower625, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader623 and reached -1 (of expected -1) 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: 1, nextIndex: 2 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:32.840] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5236a343 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [02/27/2024 11:14:32.840] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower624] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33ff4b1b 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 1 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log one 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 1 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 0 to 1 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 1 data one 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 2 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:32,840 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached -1 (of expected -1) 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: one 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: fakeSnapshot purging log to 0 for term 6 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 1, nextIndex: 2 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:14:32,840 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Commit index set to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Commit index set to 0 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 0 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader623 and reached 0 (of expected -1) 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from -1 to 0 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 0 data zero 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Setting last applied to 0 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from -1 to 0 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Applying state for log index 0 data zero 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: zero 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 0 to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 1 data one 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: one 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: fakeSnapshot purging log to 0 for term 6 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applyState called: zero 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Persisting ApplyJournalEntries with index=0 11:14:32,841 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Persisting ApplyJournalEntries with index=1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Commit index set to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Setting last applied to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from 0 to 1 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Applying state for log index 1 data one 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applyState called: one 11:14:32,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: fakeSnapshot purging log to 0 for term 6 11:14:32,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Persisting ApplyJournalEntries with index=1 11:14:33,58 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,58 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,179 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) [WARN] [02/27/2024 11:14:33.179] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:14:33.298] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,299 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) [WARN] [02/27/2024 11:14:33.419] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,419 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 2 is present for follower follower624 [WARN] [02/27/2024 11:14:33.496] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 1 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log two 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 2 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 2 is present for follower follower624 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:33,496 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 [WARN] [02/27/2024 11:14:33.497] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 2 is present for follower follower624 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 2, nextIndex: 3 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 3 is present for follower follower624 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, 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]]] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] [WARN] [02/27/2024 11:14:33.497] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 3 is present for follower follower624 [WARN] [02/27/2024 11:14:33.497] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,497 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 11:14:33,497 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 3 is present for follower follower624 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, 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]]] 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 2 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log three 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 2 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 1 to 2 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 2 data two 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log four 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 4 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: two 11:14:33,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: fakeSnapshot purging log to 1 for term 6 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,498 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=2 [WARN] [02/27/2024 11:14:33.498] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,498 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 4, nextIndex: 5 11:14:33,498 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 1 11:14:33,498 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 5 is present for follower follower624 11:14:33,498 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, prevLogIndex=4, prevLogTerm=6, leaderCommit=2, 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]]] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: lastSequenceNumber prior to capture: 8 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 3 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 2 to 3 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 3 data three 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=4, prevLogTerm=6, leaderCommit=2, 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]]] 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log five 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: three 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log six 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: CaptureSnapshotReply received by actor 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 6 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Commit index set to 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 2 (of expected -1) 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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=leader623, ServerConfigPayload=null] 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 1 to 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 2 data two 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: two 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=3 11:14:33,499 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: fakeSnapshot purging log to 1 for term 6 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 6, nextIndex: 7 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:33,499 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 4 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 3 to 4 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 4 data four 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: four 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=4 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 5 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 4 to 5 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 5 data five 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: five 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=5 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 6 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 5 to 6 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 6 data six 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: six 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=6 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Snapshot success - sequence number: 8 11:14:33,500 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SnapshotComplete received 11:14:33,501 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a snapshot response 11:14:33,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:33,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:33,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Persisting ApplyJournalEntries with index=2 11:14:33,501 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a journal response 11:14:33,501 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Commit index set to 3 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 3 (of expected -1) 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 3 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 2 to 3 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 3 data three 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: three 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Commit index set to 6 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 6 (of expected -1) 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 3, lastIndex(): 6 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 4 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 3 to 4 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 4 data four 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: four 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 5 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 4 to 5 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 5 data five 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: five 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 6 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 5 to 6 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 6 data six 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: six 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Persisting ApplyJournalEntries with index=3 11:14:33,502 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Persisting ApplyJournalEntries with index=6 [WARN] [02/27/2024 11:14:33.538] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,549 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendAppendEntries: 7 is present for follower follower624 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Sending AppendEntries to follower follower624: AppendEntries [leaderId=leader623, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries: AppendEntries [leaderId=leader623, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Number of entries to be appended = 1 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Append entry to log seven [WARN] [02/27/2024 11:14:33.549] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Log size is now 6 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower624, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,549 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 6 (of expected -1) 11:14:33,550 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower624 updated: matchIndex: 7, nextIndex: 8 11:14:33,550 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower624: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: lastSequenceNumber prior to capture: 17 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Setting last applied to 7 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Moving last applied index from 6 to 7 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Applying state for log index 7 data seven 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: applyState called: seven 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: CaptureSnapshotReply received by actor 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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=leader623, ServerConfigPayload=null] 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Persisting ApplyJournalEntries with index=7 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Snapshot success - sequence number: 17 11:14:33,551 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SnapshotComplete received 11:14:33,551 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a snapshot response 11:14:33,552 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a journal response 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Commit index set to 7 [WARN] [02/27/2024 11:14:33.659] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower625] received dead letter from TestActor[akka://test/user/leader623]: AppendEntries [leaderId=leader623, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 7 (of expected -1) 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624 (Follower): Setting last applied to 7 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Moving last applied index from 6 to 7 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Applying state for log index 7 data seven 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: applyState called: seven 11:14:33,659 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: Persisting ApplyJournalEntries with index=7 11:14:33,704 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower625 with journal batch size 1000 [WARN] [02/27/2024 11:14:33.703] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower625]: org.opendaylight.controller.cluster.common.actor.Monitor@49f08b54 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=null 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=leader623 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Received ReplicatedLogEntry for recovery: index: 0, size: 4 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Received ReplicatedLogEntry for recovery: index: 1, size: 3 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Received apply journal entries for recovery, applying to state: 0 to 0 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from -1 to 0 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Received apply journal entries for recovery, applying to state: 1 to 1 11:14:33,706 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from 0 to 1 11:14:33,707 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Recovery completed in 127.2 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 11:14:33,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower625: Last sync leader does not match current leader leader623, need to catch up to -1 11:14:33,778 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 7 (of expected -1) 11:14:33,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: fakeSnapshot purging log to 0 for term 6 11:14:33,778 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower625, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 719, lastApplied : 7, commitIndex : 7 11:14:33,778 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Initiating install snapshot to follower follower625: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 [WARN] [02/27/2024 11:14:33.778] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ec79b9e 11:14:33,778 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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 follower625 11:14:33,778 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: lastSequenceNumber prior to capture: 18 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: CaptureSnapshotReply received by actor 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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=leader623, ServerConfigPayload=null] 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendInstallSnapshot 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader623 (Leader): Snapshot 431 bytes, total chunks to send: 1 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader623 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): next snapshot chunk size for follower follower625: 431 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): InstallSnapshot sent to follower Vector(user, follower625), Chunk: 1/1 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Snapshot success - sequence number: 18 11:14:33,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SnapshotComplete received 11:14:33,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower625: Lagging -2 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader623, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 11:14:33,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower625: Lagging 6 entries behind leader leader623 and reached 1 (of expected -1) 11:14:33,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:14:33,780 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Snapshot installed from leader: leader623 11:14:33,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a snapshot response 11:14:33,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a journal response 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: 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=leader623, ServerConfigPayload=null] 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 [WARN] [02/27/2024 11:14:33.781] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30037b25 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Snapshot success - sequence number: 6 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from 1 to 7 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=leader623 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applySnapshot called 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower625, chunkIndex=1, success=true] 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: SnapshotComplete received 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower625, chunkIndex=1, success=true] 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Snapshot successfully installed on follower follower625 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: handled a snapshot response 11:14:33,781 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: handled a journal response 11:14:33,805 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower625 with journal batch size 1000 [WARN] [02/27/2024 11:14:33.805] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower625]: org.opendaylight.controller.cluster.common.actor.Monitor@45dbf437 11:14:33,806 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:33,898 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Term 6 in "AppendEntries [leaderId=leader623, 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 11:14:33,898 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=null 11:14:33,898 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): The followers log is empty and the senders prevLogIndex is 7 11:14:33,898 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower625, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower625: Last sync leader does not match current leader leader623, need to catch up to 7 11:14:33,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower624: Lagging 0 entries behind leader leader623 and reached 7 (of expected -1) 11:14:33,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower624: fakeSnapshot purging log to 6 for term 6 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower625, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: -1, nextIndex: 0 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): follower follower625 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Initiating install snapshot to follower follower625: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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 follower625 11:14:33,899 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: lastSequenceNumber prior to capture: 18 [WARN] [02/27/2024 11:14:33.899] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7815d6fb 11:14:33,900 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: CaptureSnapshotReply received by actor 11:14:33,900 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower625, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: 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=leader623, ServerConfigPayload=null] 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): sendInstallSnapshot 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader623 (Leader): Snapshot 431 bytes, total chunks to send: 1 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader623 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): next snapshot chunk size for follower follower625: 431 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): InstallSnapshot sent to follower Vector(user, follower625), Chunk: 1/1 11:14:33,900 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader623, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 11:14:33,900 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower625, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 11:14:33,900 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Snapshot installed from leader: leader623 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): follower follower625 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 11:14:33,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: Snapshot success - sequence number: 18 11:14:33,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: SnapshotComplete received 11:14:33,901 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a snapshot response 11:14:33,901 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623: handled a journal response 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: 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] 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Snapshot success - sequence number: 1 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from -1 to 7 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=6, votedFor=null 11:14:33,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applySnapshot called 11:14:33,902 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower625, chunkIndex=1, success=true] 11:14:33,902 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: SnapshotComplete received 11:14:33,902 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower625, chunkIndex=1, success=true] 11:14:33,902 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader623 (Leader): Snapshot successfully installed on follower follower625 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 11:14:33,902 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: handled a snapshot response 11:14:33,902 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: handled a journal response 11:14:33,906 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower624-collector626#625184283] 11:14:33,917 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower624] 11:14:33,918 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower625-collector627#309701218] 11:14:33,918 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower625] 11:14:33,918 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader623-collector628#-1027945429] 11:14:33,918 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader623] 11:14:33,919 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower625-collector629#753671944] 11:14:33,919 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower625] 11:14:33,919 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower625-collector630#758163197] 11:14:33,919 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower625] 11:14:33,920 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting [WARN] [02/27/2024 11:14:33.921] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower635]: org.opendaylight.controller.cluster.common.actor.Monitor@da221a 11:14:33,922 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower635 with journal batch size 1000 11:14:33,923 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:34.022] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower636]: org.opendaylight.controller.cluster.common.actor.Monitor@3de67394 11:14:34,23 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower636 with journal batch size 1000 11:14:34,24 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:34.024] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader634]: org.opendaylight.controller.cluster.common.actor.Monitor@19a75598 11:14:34,25 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader634 with journal batch size 1000 11:14:34,26 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Set currentTerm=5, votedFor=leader634 11:14:34,26 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Follower): Received ElectionTimeout - switching to Candidate 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Election: Candidate has following voting peers: [follower636, follower635] 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Set currentTerm=6, votedFor=leader634 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Starting new election term 6 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Sending RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] to peer follower636 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Sending RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] to peer follower635 11:14:34,448 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 11:14:34,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:34,448 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:34,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Cluster state: [] 11:14:34,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:34,448 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:34,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Set currentTerm=6, votedFor=null 11:14:34,448 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Cluster state: [] 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:34,449 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): In requestVote: RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:34,449 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Set currentTerm=6, votedFor=leader634 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Set currentTerm=6, votedFor=null 11:14:34,449 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): In requestVote: RequestVote [term=6, candidateId=leader634, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Set currentTerm=6, votedFor=leader634 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 11:14:34,449 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Election: Leader has following peers: [follower636, follower635] 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 11:14:34,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Last sync leader does not match current leader leader634, need to catch up to -1 11:14:34,450 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower635: Last sync leader does not match current leader leader634, need to catch up to -1 [WARN] [02/27/2024 11:14:34.450] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower636] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24993eb 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: -1, nextIndex: 0 [WARN] [02/27/2024 11:14:34.450] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower635] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28450b54 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: -1, nextIndex: 0 11:14:34,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:34,477 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 0 is present for follower follower636 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower636: AppendEntries [leaderId=leader634, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 0 is present for follower follower635 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Number of entries to be appended = 1 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Append entry to log zero 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Log size is now 1 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log zero 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:34,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached -1 (of expected -1) 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 1 11:14:34,477 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: 0, nextIndex: 1 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:34,477 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached -1 (of expected -1) 11:14:34,477 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:34,477 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 0, nextIndex: 1 11:14:34,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,478 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 0 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from -1 to 0 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 0 data zero 11:14:34,478 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: zero [WARN] [02/27/2024 11:14:34.478] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower636] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3618837b 11:14:34,478 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:14:34.478] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower635] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a7839a 11:14:34,688 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Commit index set to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Setting last applied to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from -1 to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Applying state for log index 0 data zero 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applyState called: zero 11:14:34,689 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Persisting ApplyJournalEntries with index=0 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from -1 to 0 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 0 data zero 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: zero 11:14:34,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=0 11:14:34,809 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:34,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:34,928 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:35,49 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:35,168 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 1 is present for follower follower635 11:14:35,237 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:35,237 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log one 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 2 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:35,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 0 (of expected -1) 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 1, nextIndex: 2 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 1 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 0 to 1 11:14:35,238 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 1 data one 11:14:35,239 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: one 11:14:35,239 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: fakeSnapshot purging log to 0 for term 6 11:14:35,239 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=1 11:14:35,239 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 1 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 1 (of expected -1) 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 1 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 0 to 1 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 1 data one 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: one 11:14:35,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 0 for term 6 11:14:35,409 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=1 11:14:35,529 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 1 (of expected -1) 11:14:35,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 1 (of expected -1) 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 2 is present for follower follower635 11:14:35,693 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:35,693 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log two 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 2 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 1 (of expected -1) 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 2, nextIndex: 3 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: lastSequenceNumber prior to capture: 7 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 2 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 1 to 2 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 2 data two 11:14:35,694 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: two 11:14:35,694 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: CaptureSnapshotReply received by actor 11:14:35,695 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader634, ServerConfigPayload=null] 11:14:35,695 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 11:14:35,695 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 11:14:35,695 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=2 11:14:35,695 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:14:35,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Snapshot success - sequence number: 7 11:14:35,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SnapshotComplete received 11:14:35,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a snapshot response 11:14:35,696 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a journal response 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 2 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 2 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 1 to 2 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 2 data two 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: two 11:14:35,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=2 11:14:35,895 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 11:14:36,9 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower636: Lagging -1 entries behind leader leader634 and reached 0 (of expected -1) 11:14:36,9 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1199, lastApplied : 2, commitIndex : 2 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Initiating install snapshot to follower follower636: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: 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 follower636 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: lastSequenceNumber prior to capture: 8 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: CaptureSnapshotReply received by actor 11:14:36,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower636: Lagging -1 entries behind leader leader634 and reached 0 (of expected -1) 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: 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=leader634, ServerConfigPayload=null] 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendInstallSnapshot 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader634 (Leader): Snapshot 345 bytes, total chunks to send: 1 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader634 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): next snapshot chunk size for follower follower636: 345 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): InstallSnapshot sent to follower Vector(user, follower636), Chunk: 1/1 11:14:36,9 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader634, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 11:14:36,9 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Lagging 2 entries behind leader leader634 and reached 0 (of expected -1) 11:14:36,9 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:14:36,9 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Snapshot installed from leader: leader634 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Snapshot success - sequence number: 8 11:14:36,9 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SnapshotComplete received 11:14:36,10 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a snapshot response 11:14:36,10 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a journal response 11:14:36,10 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: 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=leader634, ServerConfigPayload=null] 11:14:36,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Snapshot success - sequence number: 4 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from 0 to 2 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Set currentTerm=6, votedFor=leader634 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applySnapshot called 11:14:36,10 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower636, chunkIndex=1, success=true] 11:14:36,10 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower636, chunkIndex=1, success=true] 11:14:36,11 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Snapshot successfully installed on follower follower636 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 11:14:36,11 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: SnapshotComplete received 11:14:36,11 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: handled a journal response 11:14:36,11 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: handled a snapshot response 11:14:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:36,129 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:36,129 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 1 for term 6 11:14:36,148 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 11:14:36,148 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 3 is present for follower follower636 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower636: AppendEntries [leaderId=leader634, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 3 is present for follower follower635 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Number of entries to be appended = 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Append entry to log three 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Log size is now 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log three 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 2 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: 3, nextIndex: 4 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 2 (of expected -1) 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 3, nextIndex: 4 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 11:14:36,149 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 3 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 2 to 3 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 3 data three 11:14:36,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: three 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: fakeSnapshot purging log to 2 for term 6 11:14:36,150 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=3 11:14:36,368 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 3 11:14:36,368 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Commit index set to 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 3 (of expected -1) 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 3 (of expected -1) 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Setting last applied to 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from 2 to 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 2 to 3 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Applying state for log index 3 data three 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 3 data three 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applyState called: three 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: three 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 2 for term 6 11:14:36,369 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Persisting ApplyJournalEntries with index=3 11:14:36,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=3 11:14:36,401 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 11:14:36,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:36,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 4 is present for follower follower636 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower636: AppendEntries [leaderId=leader634, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 4 is present for follower follower635 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:36,402 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log four 11:14:36,402 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Number of entries to be appended = 1 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 2 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 3 (of expected -1) 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 4, nextIndex: 5 11:14:36,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:14:36,402 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: lastSequenceNumber prior to capture: 11 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:14:36,403 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Append entry to log four 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 3 to 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 4 data four 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Log size is now 2 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 3 (of expected -1) 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: four 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: CaptureSnapshotReply received by actor 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: 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=leader634, ServerConfigPayload=null] 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: 4, nextIndex: 5 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=4 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SaveSnapshotSuccess received for snapshot, sequenceNr: 11 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Snapshot success - sequence number: 11 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Commit index set to 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 4 (of expected -1) 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Setting last applied to 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from 3 to 4 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Applying state for log index 4 data four 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: fakeSnapshot purging log to 3 for term 6 11:14:36,403 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SnapshotComplete received 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applyState called: four 11:14:36,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Persisting ApplyJournalEntries with index=4 11:14:36,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a snapshot response 11:14:36,404 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: handled a journal response 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 3 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 5 is present for follower follower636 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower636: AppendEntries [leaderId=leader634, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 3 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 5 is present for follower follower635 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:36,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 3 11:14:36,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 5 is present for follower follower636 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 3 11:14:36,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 5 is present for follower follower635 11:14:36,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:36,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Number of entries to be appended = 1 11:14:36,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:14:36,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log five 11:14:36,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:14:36,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,452 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Append entry to log five 11:14:36,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 3 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 4 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Log size is now 3 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 4 (of expected -1) 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 5, nextIndex: 6 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 4 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 3 to 4 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 6 is present for follower follower635 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 4 data four 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower635: AppendEntries [leaderId=leader634, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 11:14:36,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: 5, nextIndex: 6 11:14:36,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 4 (of expected -1) 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 11:14:36,453 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: fakeSnapshot purging log to 3 for term 6 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): sendAppendEntries: 6 is present for follower follower636 11:14:36,453 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Sending AppendEntries to follower follower636: AppendEntries [leaderId=leader634, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: four 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 3 for term 6 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 5 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 4 to 5 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 5 data five 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: five 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: fakeSnapshot purging log to 4 for term 6 11:14:36,453 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=5 11:14:36,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Number of entries to be appended = 1 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Append entry to log six 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries: AppendEntries [leaderId=leader634, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Number of entries to be appended = 1 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Log size is now 3 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Append entry to log six 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower636, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 4 (of expected -1) 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Log size is now 3 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower635, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:36,454 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 4 (of expected -1) 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower636 updated: matchIndex: 6, nextIndex: 7 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower636: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 4 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower635 updated: matchIndex: 6, nextIndex: 7 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Checking sendAppendEntries for follower follower635: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 4 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Setting last applied to 6 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 5 to 6 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Applying state for log index 6 data six 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: applyState called: six 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: fakeSnapshot purging log to 5 for term 6 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Commit index set to 5 11:14:36,454 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Persisting ApplyJournalEntries with index=6 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 5 (of expected -1) 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 6 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Setting last applied to 5 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from 4 to 5 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Applying state for log index 5 data five 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applyState called: five 11:14:36,454 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: fakeSnapshot purging log to 4 for term 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Persisting ApplyJournalEntries with index=5 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Commit index set to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=4 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 6 (of expected -1) 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636 (Follower): Setting last applied to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Moving last applied index from 5 to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Applying state for log index 6 data six 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: applyState called: six 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: fakeSnapshot purging log to 5 for term 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 5 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 5 (of expected -1) 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower636: Persisting ApplyJournalEntries with index=6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 5 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 4 to 5 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 5 data five 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: five 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 4 for term 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=5 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Commit index set to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 6 (of expected -1) 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635 (Follower): Setting last applied to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Moving last applied index from 5 to 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Applying state for log index 6 data six 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: applyState called: six 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: fakeSnapshot purging log to 5 for term 6 11:14:36,455 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower635: Persisting ApplyJournalEntries with index=6 11:14:36,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower635: Lagging 0 entries behind leader leader634 and reached 6 (of expected -1) 11:14:36,608 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower636: Lagging 0 entries behind leader leader634 and reached 6 (of expected -1) 11:14:36,609 AM [main] [INFO] InMemoryJournal - Journal log for leader634: 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] 11:14:36,612 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 11:14:36,612 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 [WARN] [02/27/2024 11:14:36.625] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader634]: org.opendaylight.controller.cluster.common.actor.Monitor@3d4ce217 11:14:36,625 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader634 with journal batch size 1000 11:14:36,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: SnapshotOffer called. 11:14:36,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from -1 to 3 11:14:36,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Set currentTerm=6, votedFor=leader634 11:14:36,626 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader634 in 125.7 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Received apply journal entries for recovery, applying to state: 4 to 4 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 3 to 4 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Received ReplicatedLogEntry for recovery: index: 5, size: 4 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Received ReplicatedLogEntry for recovery: index: 6, size: 3 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Received apply journal entries for recovery, applying to state: 5 to 5 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 4 to 5 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Received apply journal entries for recovery, applying to state: 6 to 6 11:14:36,628 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Moving last applied index from 5 to 6 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Recovery completed in 2.636 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Follower): Received TimeoutNow - switching to Candidate 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Election: Candidate has following voting peers: [] 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634: Set currentTerm=7, votedFor=leader634 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Starting new election term 7 11:14:36,629 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 11:14:36,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate): Received ElectionTimeout 11:14:36,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Leader): Election: Leader has following peers: [] 11:14:36,630 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader634 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 11:14:36,725 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 11:14:36,725 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 11:14:36,725 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower635-collector637#-1480209915] 11:14:36,736 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower635] 11:14:36,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower636-collector638#-1778556466] 11:14:36,736 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower636] 11:14:36,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader634-collector639#243418488] 11:14:36,736 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader634] 11:14:36,737 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader634-collector640#-972235692] 11:14:36,737 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader634] [INFO] [02/27/2024 11:14:36.738] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:14:36,738 AM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [02/27/2024 11:14:36.739] [test-akka.actor.default-dispatcher-5] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.238:25520) [INFO] [02/27/2024 11:14:36.740] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed [INFO] [02/27/2024 11:14:36.740] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... 11:14:36,740 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed 11:14:36,740 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... [INFO] [02/27/2024 11:14:36.740] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down 11:14:36,740 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down [INFO] [02/27/2024 11:14:36.743] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.238:25520/system/remoting-terminator] Shutting down remote daemon. 11:14:36,743 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [02/27/2024 11:14:36.743] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:14:36,743 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [02/27/2024 11:14:36.747] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remoting shut down. 11:14:36,747 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [02/27/2024 11:14:36.747] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger