[DEBUG] [03/07/2024 14:56:17.167] [main] [EventStream(akka://test)] logger log1-TestEventListener started 02:56:17,170 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/07/2024 14:56:17.170] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/07/2024 14:56:17.170] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/07/2024 14:56:17.185] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.169:25520] with UID [-306350159701517298] [INFO] [03/07/2024 14:56:17.186] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Starting up, Akka version [2.6.21] ... 02:56:17,186 PM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.169:25520] with UID [-306350159701517298] 02:56:17,186 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/07/2024 14:56:17.190] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/07/2024 14:56:17.190] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Started up successfully [INFO] [03/07/2024 14:56:17.191] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/07/2024 14:56:17.191] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 02:56:17,195 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Registered cluster JMX MBean [akka:type=Cluster] 02:56:17,195 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Started up successfully 02:56:17,195 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 02:56:17,195 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 02:56:17,200 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads 02:56:17,204 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower760 with journal batch size 1000 02:56:17,214 PM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower760] 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'. 02:56:17,226 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:17.229] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower760]: org.opendaylight.controller.cluster.common.actor.Monitor@5f29ed59 [INFO] [akkaDeadLetter][03/07/2024 14:56:17.204] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower760] 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'. 02:56:17,304 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower761 with journal batch size 1000 [WARN] [03/07/2024 14:56:17.304] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower761]: org.opendaylight.controller.cluster.common.actor.Monitor@610590d5 [INFO] [akkaDeadLetter][03/07/2024 14:56:17.304] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower761] 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'. 02:56:17,305 PM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower761] 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'. 02:56:17,305 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:17.306] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader759]: org.opendaylight.controller.cluster.common.actor.Monitor@263aff8c [INFO] [akkaDeadLetter][03/07/2024 14:56:17.306] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader759] 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'. 02:56:17,306 PM [test-akka.actor.default-dispatcher-14] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader759] 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'. 02:56:17,307 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader759 with journal batch size 1000 02:56:17,308 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Set currentTerm=5, votedFor=leader759 02:56:17,308 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.169:25520, Removed) 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Follower): Received ElectionTimeout - switching to Candidate 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): Election: Candidate has following voting peers: [follower761, follower760] 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Set currentTerm=6, votedFor=leader759 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): Starting new election term 6 02:56:17,783 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): Sending RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] to peer follower761 02:56:17,784 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): Sending RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] to peer follower760 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:17,784 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Cluster state: [] 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Set currentTerm=6, votedFor=null 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): In requestVote: RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Set currentTerm=6, votedFor=leader759 02:56:17,784 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Cluster state: [] 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Set currentTerm=6, votedFor=null 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): In requestVote: RequestVote [term=6, candidateId=leader759, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Set currentTerm=6, votedFor=leader759 02:56:17,784 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Election: Leader has following peers: [follower761, follower760] 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower761: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:17,786 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 02:56:17,786 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower761: Last sync leader does not match current leader leader759, need to catch up to -1 02:56:17,786 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower760: Last sync leader does not match current leader leader759, need to catch up to -1 [WARN] [03/07/2024 14:56:17.786] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower761] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c5667a9 02:56:17,787 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower761 updated: matchIndex: -1, nextIndex: 0 02:56:17,787 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower761: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:17,787 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower760 updated: matchIndex: -1, nextIndex: 0 02:56:17,787 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/07/2024 14:56:17.787] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower760] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@62ba31e5 02:56:17,788 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower761] 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'. 02:56:17,788 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower760] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/07/2024 14:56:17.787] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower761] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower761] 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][03/07/2024 14:56:17.787] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower760] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower760] 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'. 02:56:17,809 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower761: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower761 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower761: AppendEntries [leaderId=leader759, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower760 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower760: AppendEntries [leaderId=leader759, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:17,810 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): handleAppendEntries: AppendEntries [leaderId=leader759, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:17,810 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Number of entries to be appended = 1 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:17,810 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:17,810 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Append entry to log zero 02:56:17,810 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower761: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:17,810 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower761 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower760 02:56:17,811 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Log size is now 1 02:56:17,811 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower760, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:17,811 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached -1 (of expected -1) 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower760 updated: matchIndex: 0, nextIndex: 1 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 1 is present for follower follower760 02:56:17,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower760: AppendEntries [leaderId=leader759, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Setting last applied to 0 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Moving last applied index from -1 to 0 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Applying state for log index 0 data zero 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: applyState called: zero 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Persisting ApplyJournalEntries with index=0 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): handleAppendEntries: AppendEntries [leaderId=leader759, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Number of entries to be appended = 1 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Append entry to log one 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [03/07/2024 14:56:17.812] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower760] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24dcfd5b 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Log size is now 2 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower760, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached -1 (of expected -1) [INFO] [akkaDeadLetter][03/07/2024 14:56:17.812] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower760] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower760] 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'. 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower760 updated: matchIndex: 1, nextIndex: 2 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 02:56:17,812 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower760] 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'. 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Setting last applied to 1 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Moving last applied index from 0 to 1 02:56:17,812 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Applying state for log index 1 data one 02:56:17,813 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: applyState called: one 02:56:17,813 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower760: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:17,813 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: Persisting ApplyJournalEntries with index=1 02:56:17,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:17,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Commit index set to 1 02:56:17,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Setting last applied to 0 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Moving last applied index from -1 to 0 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Applying state for log index 0 data zero 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: applyState called: zero 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760 (Follower): Setting last applied to 1 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Moving last applied index from 0 to 1 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Applying state for log index 1 data one 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: applyState called: one 02:56:17,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: Persisting ApplyJournalEntries with index=1 02:56:17,903 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower761 02:56:17,903 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower761: AppendEntries [leaderId=leader759, 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]]] 02:56:18,24 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower761 02:56:18,24 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower761: AppendEntries [leaderId=leader759, 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]]] 02:56:18,24 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:18,62 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower761 02:56:18,143 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): sendAppendEntries: 0 is present for follower follower761 02:56:18,144 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Sending AppendEntries to follower follower761: AppendEntries [leaderId=leader759, 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]]] 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): handleAppendEntries: AppendEntries [leaderId=leader759, 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]]] 02:56:18,144 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Number of entries to be appended = 2 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Append entry to log zero 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Append entry to log one 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Log size is now 2 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Commit index set to 1 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower761, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower761: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Setting last applied to 0 02:56:18,144 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower761 updated: matchIndex: 1, nextIndex: 2 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Moving last applied index from -1 to 0 02:56:18,144 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759: fakeSnapshot purging log to 0 for term 6 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Applying state for log index 0 data zero 02:56:18,144 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader759 (Leader): Checking sendAppendEntries for follower follower761: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: applyState called: zero 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761 (Follower): Setting last applied to 1 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Moving last applied index from 0 to 1 02:56:18,144 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Applying state for log index 1 data one 02:56:18,145 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: applyState called: one 02:56:18,145 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,145 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,146 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: Persisting ApplyJournalEntries with index=1 [WARN] [03/07/2024 14:56:18.146] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower761] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5b20e97d 02:56:18,146 PM [test-akka.actor.default-dispatcher-13] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower761] 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'. [INFO] [akkaDeadLetter][03/07/2024 14:56:18.146] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower761] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower761] 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'. 02:56:18,264 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower760: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:18,264 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower761: Lagging 0 entries behind leader leader759 and reached 1 (of expected -1) 02:56:18,264 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower760: fakeSnapshot purging log to 0 for term 6 02:56:18,264 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower761: fakeSnapshot purging log to 0 for term 6 02:56:18,314 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 02:56:18,315 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower760-collector762#1682285224] 02:56:18,326 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower760] 02:56:18,326 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower761-collector763#1230035178] 02:56:18,326 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower761] 02:56:18,327 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader759-collector764#-2069216970] 02:56:18,327 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader759] 02:56:18,328 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting [WARN] [03/07/2024 14:56:18.329] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower769]: org.opendaylight.controller.cluster.common.actor.Monitor@7c32215c [INFO] [akkaDeadLetter][03/07/2024 14:56:18.330] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower769] 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'. 02:56:18,330 PM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower769] 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'. 02:56:18,330 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower769 with journal batch size 1000 02:56:18,332 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower770 with journal batch size 1000 [WARN] [03/07/2024 14:56:18.332] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower770]: org.opendaylight.controller.cluster.common.actor.Monitor@5de83df [INFO] [akkaDeadLetter][03/07/2024 14:56:18.333] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower770] 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'. 02:56:18,333 PM [test-akka.actor.default-dispatcher-18] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower770] 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'. 02:56:18,333 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:18.334] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader768]: org.opendaylight.controller.cluster.common.actor.Monitor@72fa0fbd [INFO] [akkaDeadLetter][03/07/2024 14:56:18.334] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader768] 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'. 02:56:18,334 PM [test-akka.actor.default-dispatcher-17] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader768] 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'. 02:56:18,334 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:18,335 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader768 with journal batch size 1000 02:56:18,336 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Set currentTerm=5, votedFor=leader768 02:56:18,336 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:18,763 PM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.169:25520, Removed) 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Follower): Received ElectionTimeout - switching to Candidate 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): Election: Candidate has following voting peers: [follower769, follower770] 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Set currentTerm=6, votedFor=leader768 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): Starting new election term 6 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): Sending RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] to peer follower769 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): Sending RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] to peer follower770 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:18,764 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Cluster state: [] 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Set currentTerm=6, votedFor=null 02:56:18,764 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): In requestVote: RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Set currentTerm=6, votedFor=leader768 02:56:18,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:18,764 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Cluster state: [] 02:56:18,764 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:18,764 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:18,765 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Set currentTerm=6, votedFor=null 02:56:18,765 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): In requestVote: RequestVote [term=6, candidateId=leader768, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:18,765 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Set currentTerm=6, votedFor=leader768 02:56:18,765 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Election: Leader has following peers: [follower769, follower770] 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:18,765 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 02:56:18,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower769: Last sync leader does not match current leader leader768, need to catch up to -1 [WARN] [03/07/2024 14:56:18.765] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower769] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b8dfc09 02:56:18,766 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower770: Last sync leader does not match current leader leader768, need to catch up to -1 02:56:18,766 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: -1, nextIndex: 0 02:56:18,766 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/07/2024 14:56:18.766] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower770] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@206a80f7 02:56:18,766 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower770 updated: matchIndex: -1, nextIndex: 0 02:56:18,766 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:18,790 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 0 is present for follower follower769 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 0 is present for follower follower770 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower770: AppendEntries [leaderId=leader768, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:18,790 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 0 is present for follower follower769 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 0 is present for follower follower770 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log zero 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached -1 (of expected -1) 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 0, nextIndex: 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Number of entries to be appended = 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Append entry to log zero 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 1 is present for follower follower769 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Log size is now 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower770, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:18,791 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached -1 (of expected -1) 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower770 updated: matchIndex: 0, nextIndex: 1 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 1 is present for follower follower770 02:56:18,791 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower770: AppendEntries [leaderId=leader768, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from -1 to 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 0 data zero 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: zero 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=0 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 1 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log one 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [03/07/2024 14:56:18.792] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower769] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53359550 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 2 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached -1 (of expected -1) 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Number of entries to be appended = 1 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Append entry to log one [WARN] [03/07/2024 14:56:18.792] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower770] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28ab61ea 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 1, nextIndex: 2 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Log size is now 2 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower770, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,792 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached -1 (of expected -1) 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower770 updated: matchIndex: 1, nextIndex: 2 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 0 (of expected -1) 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 1 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 0 to 1 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from -1 to 0 02:56:18,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 1 data one 02:56:18,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 0 data zero 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: zero 02:56:18,793 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: one 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=0 02:56:18,793 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: fakeSnapshot purging log to 0 for term 6 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=1 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 0 to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 1 data one 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: one 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Commit index set to 0 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: fakeSnapshot purging log to 0 for term 6 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached 0 (of expected -1) 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=1 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Setting last applied to 0 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Moving last applied index from -1 to 0 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Applying state for log index 0 data zero 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: applyState called: zero 02:56:18,793 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Persisting ApplyJournalEntries with index=0 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Commit index set to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Setting last applied to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Moving last applied index from 0 to 1 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Applying state for log index 1 data one 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: applyState called: one 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: fakeSnapshot purging log to 0 for term 6 02:56:18,793 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Persisting ApplyJournalEntries with index=1 02:56:19,3 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,3 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,124 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,243 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,363 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,451 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 2 is present for follower follower769 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 1 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log two 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 2 is present for follower follower769 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:19,452 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 2 02:56:19,452 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,453 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 2 is present for follower follower769 02:56:19,453 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 2, nextIndex: 3 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 3 is present for follower follower769 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, 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]]] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 3 is present for follower follower769 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,453 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:19,453 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 3 is present for follower follower769 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, 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]]] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 2 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log three 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 2 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 1 to 2 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log four 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 2 data two 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 4 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 1 (of expected -1) 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: two 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: fakeSnapshot purging log to 1 for term 6 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 4, nextIndex: 5 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 1 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 5 is present for follower follower769 02:56:19,454 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, 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]]] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=2 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: lastSequenceNumber prior to capture: 8 02:56:19,454 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 3 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 2 to 3 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 3 data three 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: three 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: CaptureSnapshotReply received by actor 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: 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=leader768, ServerConfigPayload=null] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=3 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 4 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 3 to 4 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 4 data four 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: four 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=4 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, 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]]] 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 2 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log five 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log six 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 6 02:56:19,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 2 02:56:19,455 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Snapshot success - sequence number: 8 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 2 (of expected -1) 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 2 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 1 to 2 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 2 data two 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 6, nextIndex: 7 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 4 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: two 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 5 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 4 to 5 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: fakeSnapshot purging log to 1 for term 6 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 5 data five 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: five 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 6 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 5 to 6 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 6 data six 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: six 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SnapshotComplete received 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=6 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a journal response 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:19,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a snapshot response 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=2 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 6 02:56:19,456 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 6 (of expected -1) 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 2, lastIndex(): 6 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 3 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 2 to 3 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 3 data three 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: three 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 4 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 3 to 4 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 4 data four 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: four 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 5 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 4 to 5 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 5 data five 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: five 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 6 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 5 to 6 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 6 data six 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: six 02:56:19,457 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=6 02:56:19,502 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 02:56:19,502 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:19,502 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:19,502 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:19,503 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:19,503 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 7 is present for follower follower769 02:56:19,503 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 02:56:19,503 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 1 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log seven 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 6 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 6 (of expected -1) 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 7, nextIndex: 8 02:56:19,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: lastSequenceNumber prior to capture: 16 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 02:56:19,504 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 7 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 6 to 7 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 7 data seven 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: applyState called: seven 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: CaptureSnapshotReply received by actor 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: 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=leader768, ServerConfigPayload=null] 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 02:56:19,504 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=7 02:56:19,504 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SaveSnapshotSuccess received for snapshot, sequenceNr: 16 02:56:19,504 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Snapshot success - sequence number: 16 02:56:19,504 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SnapshotComplete received 02:56:19,505 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a snapshot response 02:56:19,505 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a journal response 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 7 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 7 (of expected -1) 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 7 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 6 to 7 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 7 data seven 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: applyState called: seven 02:56:19,724 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=7 02:56:19,755 PM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Updated server config: isVoting: true, peers: [PeerInfo [id=follower769, address=akka://test/user/follower769, votingState=NON_VOTING], PeerInfo [id=follower770, address=akka://test/user/follower770, votingState=NON_VOTING]] 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]] 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]] 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, payload: class org.opendaylight.controller.cluster.raft.persisted.ServerConfigurationPayload, isSendImmediate: true 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendAppendEntries: 8 is present for follower follower769 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Sending AppendEntries to follower follower769: AppendEntries [leaderId=leader768, 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=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]]]] 02:56:19,755 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower770: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries: AppendEntries [leaderId=leader768, 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=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]]]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Number of entries to be appended = 1 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Updated server config: isVoting: false, peers: [PeerInfo [id=leader768, address=akka://test/user/leader768, votingState=VOTING], PeerInfo [id=follower770, address=akka://test/user/follower770, votingState=NON_VOTING]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Log size is now 7 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower769, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 7 (of expected -1) 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower769 updated: matchIndex: 8, nextIndex: 9 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Checking sendAppendEntries for follower follower769: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Setting last applied to 8 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Moving last applied index from 7 to 8 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]] 02:56:19,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Persisting ApplyJournalEntries with index=8 02:56:19,757 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]]] 02:56:19,963 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Commit index set to 8 02:56:19,963 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 8 (of expected -1) 02:56:19,963 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 02:56:19,963 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769 (Follower): Setting last applied to 8 02:56:19,963 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Moving last applied index from 7 to 8 02:56:19,964 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader768, isVoting=true], ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false]]] 02:56:19,964 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: Persisting ApplyJournalEntries with index=8 02:56:20,8 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 02:56:20,83 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 8 (of expected -1) 02:56:20,83 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower770: Lagging -2 entries behind leader leader768 and reached 1 (of expected -1) 02:56:20,84 PM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower770, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1079, lastApplied : 8, commitIndex : 8 02:56:20,84 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Initiating install snapshot to follower follower770: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 02:56:20,84 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: 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 follower770 02:56:20,84 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: lastSequenceNumber prior to capture: 19 02:56:20,84 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: CaptureSnapshotReply received by actor 02:56:20,84 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower770: Lagging -2 entries behind leader leader768 and reached 1 (of expected -1) 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: 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=leader768, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false], ServerInfo[peerId=leader768, isVoting=true]]]] 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): sendInstallSnapshot 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader768 (Leader): Snapshot 431 bytes, total chunks to send: 1 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader768 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): next snapshot chunk size for follower follower770: 431 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): InstallSnapshot sent to follower Vector(user, follower770), Chunk: 1/1 02:56:20,85 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader768, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false], ServerInfo[peerId=leader768, isVoting=true]]]] 02:56:20,85 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower770: Lagging 7 entries behind leader leader768 and reached 1 (of expected -1) 02:56:20,85 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:56:20,85 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): Snapshot installed from leader: leader768 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SaveSnapshotSuccess received for snapshot, sequenceNr: 19 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: Snapshot success - sequence number: 19 02:56:20,85 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: SnapshotComplete received 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a journal response 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: handled a snapshot response 02:56:20,86 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: 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=leader768, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower769, isVoting=false], ServerInfo[peerId=follower770, isVoting=false], ServerInfo[peerId=leader768, isVoting=true]]]] 02:56:20,86 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Snapshot success - sequence number: 6 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Moving last applied index from 1 to 8 02:56:20,86 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Set currentTerm=6, votedFor=leader768 02:56:20,87 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: Updated server config: isVoting: false, peers: [PeerInfo [id=follower769, address=akka://test/user/follower769, votingState=NON_VOTING], PeerInfo [id=leader768, address=akka://test/user/leader768, votingState=VOTING]] 02:56:20,87 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: applySnapshot called 02:56:20,87 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower770, chunkIndex=1, success=true] 02:56:20,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower770, chunkIndex=1, success=true] 02:56:20,87 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: SnapshotComplete received 02:56:20,87 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader768 (Leader): Snapshot successfully installed on follower follower770 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 02:56:20,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader768: fakeSnapshot purging log to 7 for term 6 02:56:20,87 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: handled a snapshot response 02:56:20,87 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower770: handled a journal response 02:56:20,204 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower769: Lagging 0 entries behind leader leader768 and reached 8 (of expected -1) 02:56:20,204 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower770: Lagging 0 entries behind leader leader768 and reached 8 (of expected -1) 02:56:20,204 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower769: fakeSnapshot purging log to 7 for term 6 02:56:20,212 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 02:56:20,212 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 02:56:20,212 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower769-collector771#1434819066] 02:56:20,223 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower769] 02:56:20,224 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower770-collector772#-1949549340] 02:56:20,224 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower770] 02:56:20,224 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader768-collector773#-1074708263] 02:56:20,225 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader768] 02:56:20,226 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting [WARN] [03/07/2024 14:56:20.227] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower778]: org.opendaylight.controller.cluster.common.actor.Monitor@45709c4d 02:56:20,228 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower778 with journal batch size 1000 02:56:20,229 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:20.229] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower779]: org.opendaylight.controller.cluster.common.actor.Monitor@70f5d233 02:56:20,230 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower779 with journal batch size 1000 02:56:20,231 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:20.231] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader777]: org.opendaylight.controller.cluster.common.actor.Monitor@1d888e7f 02:56:20,232 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader777 with journal batch size 1000 02:56:20,233 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Set currentTerm=5, votedFor=leader777 02:56:20,234 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.169:25520, Removed) 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Follower): Received ElectionTimeout - switching to Candidate 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): Election: Candidate has following voting peers: [follower779, follower778] 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Set currentTerm=6, votedFor=leader777 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): Starting new election term 6 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): Sending RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] to peer follower779 02:56:20,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): Sending RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] to peer follower778 02:56:20,693 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Cluster state: [] 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Set currentTerm=6, votedFor=null 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): In requestVote: RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Set currentTerm=6, votedFor=leader777 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Cluster state: [] 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:20,694 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Set currentTerm=6, votedFor=null 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): In requestVote: RequestVote [term=6, candidateId=leader777, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Set currentTerm=6, votedFor=leader777 02:56:20,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Election: Leader has following peers: [follower779, follower778] 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:20,695 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 02:56:20,695 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower779: Last sync leader does not match current leader leader777, need to catch up to -1 02:56:20,695 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Last sync leader does not match current leader leader777, need to catch up to -1 [WARN] [03/07/2024 14:56:20.696] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower779] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6a68b307 [WARN] [03/07/2024 14:56:20.696] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@596e0068 02:56:20,697 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower779 updated: matchIndex: -1, nextIndex: 0 02:56:20,697 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:20,697 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: -1, nextIndex: 0 02:56:20,697 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:20,737 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 0 is present for follower follower779 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 0 is present for follower follower778 02:56:20,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 0 is present for follower follower779 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Number of entries to be appended = 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 0 is present for follower follower778 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log zero 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log zero 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Log size is now 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached -1 (of expected -1) 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower779, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:20,738 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached -1 (of expected -1) 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 0, nextIndex: 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 1 is present for follower follower778 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower779 updated: matchIndex: 0, nextIndex: 1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 1 is present for follower follower779 02:56:20,738 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 0 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from -1 to 0 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 0 data zero 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log one 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 2 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached -1 (of expected -1) 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: zero [WARN] [03/07/2024 14:56:20.739] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7769486d 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 1, nextIndex: 2 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Number of entries to be appended = 1 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log one 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Log size is now 2 [WARN] [03/07/2024 14:56:20.739] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower779] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@48000419 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=0 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower779, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:20,739 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached -1 (of expected -1) 02:56:20,739 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,739 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower779 updated: matchIndex: 1, nextIndex: 2 02:56:20,739 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 0 02:56:20,739 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 0 (of expected -1) 02:56:20,739 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 02:56:20,739 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from -1 to 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:20,740 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 0 data zero 02:56:20,740 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: zero 02:56:20,740 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=0 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from 0 to 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 1 data one 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Commit index set to 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 0 (of expected -1) 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from -1 to 0 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: one 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 0 data zero 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: fakeSnapshot purging log to 0 for term 6 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: zero 02:56:20,740 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Persisting ApplyJournalEntries with index=0 02:56:20,740 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=1 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Commit index set to 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from 0 to 1 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 1 data one 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: one 02:56:20,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: fakeSnapshot purging log to 0 for term 6 02:56:20,741 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Persisting ApplyJournalEntries with index=1 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 1 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 1 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from 0 to 1 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 1 data one 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: one 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: fakeSnapshot purging log to 0 for term 6 02:56:20,934 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=1 02:56:21,54 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:21,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower778 02:56:21,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log two 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,90 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 2 02:56:21,91 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:21,91 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 1 (of expected -1) 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 2, nextIndex: 3 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 2 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from 1 to 2 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 2 data two 02:56:21,91 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: two 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: fakeSnapshot purging log to 1 for term 6 02:56:21,91 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=2 02:56:21,173 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,173 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:21,294 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,294 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 2 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 2 (of expected -1) 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 2 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from 1 to 2 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 2 data two 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: two 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: fakeSnapshot purging log to 1 for term 6 02:56:21,294 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=2 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 3 is present for follower follower778 02:56:21,342 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:21,342 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:21,342 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log three 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 2 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:21,343 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 2 (of expected -1) 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 3, nextIndex: 4 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: lastSequenceNumber prior to capture: 9 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 3 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from 2 to 3 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 3 data three 02:56:21,343 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,343 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: three 02:56:21,344 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: CaptureSnapshotReply received by actor 02:56:21,344 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: 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=leader777, ServerConfigPayload=null] 02:56:21,344 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 02:56:21,344 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=3 02:56:21,344 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: SaveSnapshotSuccess received for snapshot, sequenceNr: 9 02:56:21,344 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Snapshot success - sequence number: 9 02:56:21,345 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: SnapshotComplete received 02:56:21,345 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: handled a snapshot response 02:56:21,347 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: handled a journal response 02:56:21,393 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 02:56:21,393 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,393 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, 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]]] 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 4 is present for follower follower778 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log four 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 3 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 3 02:56:21,394 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 4 is present for follower follower778 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 3 (of expected -1) 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 3 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from 2 to 3 02:56:21,394 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 3 data three 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: three 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 4, nextIndex: 5 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 5 is present for follower follower778 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader777, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 4 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from 3 to 4 02:56:21,395 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 4 data four 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: four 02:56:21,395 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=4 02:56:21,395 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=3 02:56:21,396 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log five 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 4 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower778, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:21,396 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 3 (of expected -1) 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 5, nextIndex: 6 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Setting last applied to 5 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Moving last applied index from 4 to 5 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Applying state for log index 5 data five 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: applyState called: five 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 02:56:21,396 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: Persisting ApplyJournalEntries with index=5 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 5 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 4 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from 3 to 4 02:56:21,397 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 4 data four 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: four 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 5 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from 4 to 5 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 5 data five 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: five 02:56:21,398 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=5 02:56:21,413 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,413 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, 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]]] 02:56:21,534 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower779: Lagging -2 entries behind leader leader777 and reached 1 (of expected -1) 02:56:21,534 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,534 PM [test-akka.actor.default-dispatcher-17] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower779, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 480, lastApplied : 5, commitIndex : 5 02:56:21,534 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): sendAppendEntries: 2 is present for follower follower779 02:56:21,534 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Sending AppendEntries to follower follower779: AppendEntries [leaderId=leader777, 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]]] 02:56:21,534 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries: AppendEntries [leaderId=leader777, 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]]] 02:56:21,534 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Number of entries to be appended = 4 02:56:21,534 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:56:21,534 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log two 02:56:21,534 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log three 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log four 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Append entry to log five 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Log size is now 5 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Commit index set to 5 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower779, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 2 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from 1 to 2 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 2 data two 02:56:21,535 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower779 updated: matchIndex: 5, nextIndex: 6 02:56:21,535 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777: fakeSnapshot purging log to 4 for term 6 02:56:21,535 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader777 (Leader): Checking sendAppendEntries for follower follower779: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: two 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 3 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from 2 to 3 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 3 data three 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: three 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 4 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from 3 to 4 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 4 data four 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: four 02:56:21,535 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779 (Follower): Setting last applied to 5 02:56:21,536 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Moving last applied index from 4 to 5 02:56:21,536 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Applying state for log index 5 data five 02:56:21,536 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: applyState called: five 02:56:21,536 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: fakeSnapshot purging log to 1 for term 6 02:56:21,536 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:21,536 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:21,536 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:21,536 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:21,537 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: Persisting ApplyJournalEntries with index=5 02:56:21,654 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,654 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,654 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: fakeSnapshot purging log to 4 for term 6 02:56:21,654 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower779: fakeSnapshot purging log to 4 for term 6 02:56:21,774 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,893 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,894 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower779: Lagging 0 entries behind leader leader777 and reached 5 (of expected -1) 02:56:21,897 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 02:56:21,897 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower778-collector780#859344250] 02:56:21,908 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower778] 02:56:21,909 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower779-collector781#1555755304] 02:56:21,909 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower779] 02:56:21,909 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader777-collector782#187681450] 02:56:21,910 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader777] 02:56:21,911 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting 02:56:21,913 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower787 with journal batch size 1000 [WARN] [03/07/2024 14:56:21.913] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower787]: org.opendaylight.controller.cluster.common.actor.Monitor@71474023 [WARN] [03/07/2024 14:56:21.915] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower788]: org.opendaylight.controller.cluster.common.actor.Monitor@13117f4b 02:56:21,915 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower788 with journal batch size 1000 02:56:21,916 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:21,920 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:22.016] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader786]: org.opendaylight.controller.cluster.common.actor.Monitor@4ac32da3 02:56:22,17 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader786 with journal batch size 1000 02:56:22,19 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Set currentTerm=5, votedFor=leader786 02:56:22,19 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.169:25520, Removed) 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Follower): Received ElectionTimeout - switching to Candidate 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): Election: Candidate has following voting peers: [follower788, follower787] 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Set currentTerm=6, votedFor=leader786 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): Starting new election term 6 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): Sending RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] to peer follower788 02:56:22,473 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): Sending RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] to peer follower787 02:56:22,474 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Cluster state: [] 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Cluster state: [] 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=null 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Set currentTerm=6, votedFor=null 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): In requestVote: RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Set currentTerm=6, votedFor=leader786 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): In requestVote: RequestVote [term=6, candidateId=leader786, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:22,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=leader786 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 02:56:22,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Election: Leader has following peers: [follower788, follower787] 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 02:56:22,475 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower788: Last sync leader does not match current leader leader786, need to catch up to -1 02:56:22,475 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower787: Last sync leader does not match current leader leader786, need to catch up to -1 [WARN] [03/07/2024 14:56:22.475] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower788] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c65f975 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower788 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/07/2024 14:56:22.475] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower787] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@19aba698 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: -1, nextIndex: 0 02:56:22,475 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:22,525 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 0 is present for follower follower788 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower788: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 0 is present for follower follower787 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:22,525 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,525 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,525 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Number of entries to be appended = 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 0 is present for follower follower788 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Append entry to log zero 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 0 is present for follower follower787 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log zero 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Log size is now 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower788, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:22,526 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached -1 (of expected -1) 02:56:22,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower788: Lagging 0 entries behind leader leader786 and reached -1 (of expected -1) 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 0, nextIndex: 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 1 is present for follower follower787 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower788 updated: matchIndex: 0, nextIndex: 1 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 1 is present for follower follower788 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower788: AppendEntries [leaderId=leader786, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:22,526 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 0 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from -1 to 0 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 0 data zero 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: zero 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=0 02:56:22,527 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,527 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log one 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Number of entries to be appended = 1 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 2 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Append entry to log one 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/07/2024 14:56:22.528] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower787] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e8f126 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Log size is now 2 02:56:22,528 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached -1 (of expected -1) 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower788, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/07/2024 14:56:22.528] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower788] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f27d096 02:56:22,528 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower788: Lagging 0 entries behind leader leader786 and reached -1 (of expected -1) 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 1, nextIndex: 2 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 1 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 0 to 1 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 1 data one 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: one 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: fakeSnapshot purging log to 0 for term 6 02:56:22,528 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,528 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:22,528 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower788 updated: matchIndex: 1, nextIndex: 2 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=1 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from -1 to 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 0 data zero 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Commit index set to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: zero 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower788: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 0 to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Setting last applied to 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 1 data one 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Moving last applied index from -1 to 0 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Applying state for log index 0 data zero 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: one 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: fakeSnapshot purging log to 0 for term 6 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: applyState called: zero 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Setting last applied to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Moving last applied index from 0 to 1 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Applying state for log index 1 data one 02:56:22,529 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=1 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: applyState called: one 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: fakeSnapshot purging log to 0 for term 6 02:56:22,529 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Persisting ApplyJournalEntries with index=1 02:56:22,714 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower788: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:22,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) [WARN] [03/07/2024 14:56:22.833] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:22,833 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:22,954 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) [WARN] [03/07/2024 14:56:22.954] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/07/2024 14:56:23.073] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,74 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 2 is present for follower follower787 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] [WARN] [03/07/2024 14:56:23.133] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:23,133 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:23,133 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 02:56:23,133 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:56:23,133 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log two 02:56:23,133 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:23,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 2 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 2 is present for follower follower787 02:56:23,134 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 2, nextIndex: 3 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 3 is present for follower follower787 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] [WARN] [03/07/2024 14:56:23.134] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 3 is present for follower follower787 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 [WARN] [03/07/2024 14:56:23.134] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log three 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 3 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 02:56:23,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 3 is present for follower follower787 [WARN] [03/07/2024 14:56:23.134] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 3, nextIndex: 4 02:56:23,134 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 0 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 4 is present for follower follower787 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=3, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=3, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 4, leaderLastIndex: 6, leaderSnapShotIndex: 0 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 4 is present for follower follower787 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 2 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log four 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] [WARN] [03/07/2024 14:56:23.135] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 2 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log five 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 1 to 2 02:56:23,135 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:23,135 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 2 data two 02:56:23,136 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 5 02:56:23,136 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,136 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: two 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: fakeSnapshot purging log to 1 for term 6 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 5, nextIndex: 6 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 1 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 6 is present for follower follower787 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:23,136 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=2 02:56:23,136 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:23,136 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 02:56:23,136 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: lastSequenceNumber prior to capture: 8 02:56:23,136 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:23,136 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 3 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 2 to 3 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 3 data three 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: three 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=5, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: CaptureSnapshotReply received by actor 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log six 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 6 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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=leader786, ServerConfigPayload=null] 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 2 (of expected -1) 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 6 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 1 to 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 2 data two 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=3 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: two 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: fakeSnapshot purging log to 1 for term 6 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 6, nextIndex: 7 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 4 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 3 to 4 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 4 data four 02:56:23,137 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: four 02:56:23,137 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=4 02:56:23,137 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=2 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 4 to 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 5 data five 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 3 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: five 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 3 (of expected -1) 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 6 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 3 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 2 to 3 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 3 data three 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: three 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=5 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 5 (of expected -1) 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 6 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 4 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 3 to 4 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 4 data four 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: four 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 4 to 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 5 data five 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: five 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 6 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 5 to 6 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 6 data six 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=3 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: six 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=6 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 02:56:23,138 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=5 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Snapshot success - sequence number: 8 02:56:23,138 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SnapshotComplete received 02:56:23,139 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a journal response 02:56:23,140 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a snapshot response 02:56:23,183 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 02:56:23,183 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:23,183 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:23,184 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:23,184 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:23,184 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:23,184 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendAppendEntries: 7 is present for follower follower787 02:56:23,184 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Sending AppendEntries to follower follower787: AppendEntries [leaderId=leader786, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] [WARN] [03/07/2024 14:56:23.184] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries: AppendEntries [leaderId=leader786, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Number of entries to be appended = 1 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Append entry to log seven 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Log size is now 6 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 6 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower787, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 6 (of expected -1) 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 7 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 6 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 5 to 6 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 6 data six 02:56:23,184 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower787 updated: matchIndex: 7, nextIndex: 8 02:56:23,184 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: six 02:56:23,184 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower787: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: lastSequenceNumber prior to capture: 17 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Setting last applied to 7 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Moving last applied index from 6 to 7 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Applying state for log index 7 data seven 02:56:23,185 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: applyState called: seven 02:56:23,185 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=6 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: CaptureSnapshotReply received by actor 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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=leader786, ServerConfigPayload=null] 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Persisting ApplyJournalEntries with index=7 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SaveSnapshotSuccess received for snapshot, sequenceNr: 17 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Snapshot success - sequence number: 17 02:56:23,185 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SnapshotComplete received 02:56:23,185 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a snapshot response 02:56:23,186 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a journal response [WARN] [03/07/2024 14:56:23.194] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/07/2024 14:56:23.313] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower788] received dead letter from TestActor[akka://test/user/leader786]: AppendEntries [leaderId=leader786, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Commit index set to 7 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 7 (of expected -1) 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787 (Follower): Setting last applied to 7 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Moving last applied index from 6 to 7 02:56:23,313 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Applying state for log index 7 data seven 02:56:23,314 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: applyState called: seven 02:56:23,314 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: Persisting ApplyJournalEntries with index=7 [WARN] [03/07/2024 14:56:23.336] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower788]: org.opendaylight.controller.cluster.common.actor.Monitor@5e709347 02:56:23,337 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower788 with journal batch size 1000 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=null 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=leader786 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Received ReplicatedLogEntry for recovery: index: 0, size: 4 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Received ReplicatedLogEntry for recovery: index: 1, size: 3 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Received apply journal entries for recovery, applying to state: 0 to 1 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Moving last applied index from -1 to 1 02:56:23,343 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Recovery completed in 81.09 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 02:56:23,433 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 7 (of expected -1) 02:56:23,433 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower788: Last sync leader does not match current leader leader786, need to catch up to -1 02:56:23,433 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: fakeSnapshot purging log to 0 for term 6 02:56:23,433 PM [test-akka.actor.default-dispatcher-13] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower788, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 719, lastApplied : 7, commitIndex : 7 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Initiating install snapshot to follower follower788: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 [WARN] [03/07/2024 14:56:23.434] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower788] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@42b7e36e 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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 follower788 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: lastSequenceNumber prior to capture: 18 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: CaptureSnapshotReply received by actor 02:56:23,434 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower788: Lagging -2 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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=leader786, ServerConfigPayload=null] 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 [WARN] [03/07/2024 14:56:23.434] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower788] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47abb983 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendInstallSnapshot 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader786 (Leader): Snapshot 431 bytes, total chunks to send: 1 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader786 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 02:56:23,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): next snapshot chunk size for follower follower788: 431 02:56:23,435 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): InstallSnapshot sent to follower Vector(user, follower788), Chunk: 1/1 02:56:23,435 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader786, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 02:56:23,435 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower788: Lagging 6 entries behind leader leader786 and reached 1 (of expected -1) 02:56:23,435 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:56:23,435 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Snapshot installed from leader: leader786 02:56:23,435 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 02:56:23,435 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Snapshot success - sequence number: 18 02:56:23,435 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SnapshotComplete received 02:56:23,435 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a journal response 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: 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=leader786, ServerConfigPayload=null] 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 5 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: SaveSnapshotSuccess received for snapshot, sequenceNr: 5 02:56:23,436 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a snapshot response 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Snapshot success - sequence number: 5 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Moving last applied index from 1 to 7 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=leader786 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: applySnapshot called 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower788, chunkIndex=1, success=true] 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: SnapshotComplete received 02:56:23,436 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower788, chunkIndex=1, success=true] 02:56:23,436 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Snapshot successfully installed on follower follower788 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: handled a journal response 02:56:23,436 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: handled a snapshot response [WARN] [03/07/2024 14:56:23.438] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower788]: org.opendaylight.controller.cluster.common.actor.Monitor@29563b0c 02:56:23,439 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower788 with journal batch size 1000 02:56:23,439 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:23,554 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Term 6 in "AppendEntries [leaderId=leader786, 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 02:56:23,554 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower787: Lagging 0 entries behind leader leader786 and reached 7 (of expected -1) 02:56:23,554 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=null 02:56:23,554 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower787: fakeSnapshot purging log to 6 for term 6 02:56:23,554 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): The followers log is empty and the senders prevLogIndex is 7 02:56:23,554 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower788, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,554 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower788: Last sync leader does not match current leader leader786, need to catch up to 7 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower788, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower788 updated: matchIndex: -1, nextIndex: 0 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): follower follower788 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Checking sendAppendEntries for follower follower788: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Initiating install snapshot to follower follower788: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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 follower788 02:56:23,554 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: lastSequenceNumber prior to capture: 18 02:56:23,555 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: CaptureSnapshotReply received by actor 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: 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=leader786, ServerConfigPayload=null] 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): sendInstallSnapshot 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] LeaderInstallSnapshotState - leader786 (Leader): Snapshot 431 bytes, total chunks to send: 1 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] LeaderInstallSnapshotState - leader786 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): next snapshot chunk size for follower follower788: 431 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): InstallSnapshot sent to follower Vector(user, follower788), Chunk: 1/1 [WARN] [03/07/2024 14:56:23.556] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower788] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4859fdb8 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SaveSnapshotSuccess received for snapshot, sequenceNr: 18 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: Snapshot success - sequence number: 18 02:56:23,556 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 02:56:23,556 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower788, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: SnapshotComplete received 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower788, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 02:56:23,556 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader786, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): follower follower788 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 02:56:23,556 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:56:23,556 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): Snapshot installed from leader: leader786 02:56:23,556 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a snapshot response 02:56:23,557 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: 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] 02:56:23,557 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 02:56:23,557 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786: handled a journal response 02:56:23,557 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Snapshot success - sequence number: 1 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Moving last applied index from -1 to 7 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: Set currentTerm=6, votedFor=null 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: applySnapshot called 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower788, chunkIndex=1, success=true] 02:56:23,558 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower788, chunkIndex=1, success=true] 02:56:23,558 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: SnapshotComplete received 02:56:23,558 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader786 (Leader): Snapshot successfully installed on follower follower788 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 02:56:23,558 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: handled a snapshot response 02:56:23,558 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower788: handled a journal response 02:56:23,589 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower787-collector789#232200723] 02:56:23,599 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower787] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower788-collector790#-1198278713] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower788] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader786-collector791#582280499] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader786] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower788-collector792#-63048019] 02:56:23,600 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower788] 02:56:23,601 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower788-collector793#-384380049] 02:56:23,601 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower788] 02:56:23,601 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting [WARN] [03/07/2024 14:56:23.603] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower798]: org.opendaylight.controller.cluster.common.actor.Monitor@41b03fcb 02:56:23,604 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower798 with journal batch size 1000 02:56:23,606 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:23.705] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower799]: org.opendaylight.controller.cluster.common.actor.Monitor@6d931ac3 02:56:23,705 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower799 with journal batch size 1000 02:56:23,706 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/07/2024 14:56:23.806] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader797]: org.opendaylight.controller.cluster.common.actor.Monitor@72793c5a 02:56:23,807 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader797 with journal batch size 1000 02:56:23,808 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Set currentTerm=5, votedFor=leader797 02:56:23,809 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.169:25520, Removed) 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Follower): Received ElectionTimeout - switching to Candidate 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Election: Candidate has following voting peers: [follower799, follower798] 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Set currentTerm=6, votedFor=leader797 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Starting new election term 6 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Sending RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] to peer follower799 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Sending RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] to peer follower798 02:56:24,274 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Cluster state: [] 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Cluster state: [] 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Set currentTerm=6, votedFor=null 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Set currentTerm=6, votedFor=null 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): In requestVote: RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Set currentTerm=6, votedFor=leader797 02:56:24,274 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): In requestVote: RequestVote [term=6, candidateId=leader797, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 02:56:24,274 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Set currentTerm=6, votedFor=leader797 02:56:24,275 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Election: Leader has following peers: [follower799, follower798] 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:24,275 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 02:56:24,275 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Last sync leader does not match current leader leader797, need to catch up to -1 02:56:24,275 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower798: Last sync leader does not match current leader leader797, need to catch up to -1 [WARN] [03/07/2024 14:56:24.275] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower798] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@70d2e57e [WARN] [03/07/2024 14:56:24.276] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower799] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@32d6a112 02:56:24,276 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: -1, nextIndex: 0 02:56:24,276 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:24,276 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: -1, nextIndex: 0 02:56:24,276 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:56:24,309 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 0 is present for follower follower799 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower799: AppendEntries [leaderId=leader797, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 0 is present for follower follower798 02:56:24,309 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Number of entries to be appended = 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Append entry to log zero 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]] 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log zero 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Log size is now 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached -1 (of expected -1) 02:56:24,310 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached -1 (of expected -1) 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: 0, nextIndex: 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 0, nextIndex: 1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 0 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from -1 to 0 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 0 data zero 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: zero 02:56:24,310 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=0 02:56:24,311 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [03/07/2024 14:56:24.311] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower798] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5dc59601 02:56:24,311 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [03/07/2024 14:56:24.311] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower799] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@58b23199 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Commit index set to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Setting last applied to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from -1 to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from -1 to 0 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 0 data zero 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Applying state for log index 0 data zero 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: zero 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applyState called: zero 02:56:24,514 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=0 02:56:24,514 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Persisting ApplyJournalEntries with index=0 02:56:24,634 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,634 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,753 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,874 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:24,994 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 1 is present for follower follower798 02:56:25,68 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]] 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log one 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:25,68 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 2 02:56:25,69 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:25,69 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 0 (of expected -1) 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 1, nextIndex: 2 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:56:25,69 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 1 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 0 to 1 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 1 data one 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: one 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: fakeSnapshot purging log to 0 for term 6 02:56:25,69 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=1 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 1 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 1 (of expected -1) 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 1 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 0 to 1 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 1 data one 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: one 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: fakeSnapshot purging log to 0 for term 6 02:56:25,234 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=1 02:56:25,353 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 1 (of expected -1) 02:56:25,474 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 1 (of expected -1) 02:56:25,523 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 2 is present for follower follower798 02:56:25,524 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]] 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log two 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 2 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:25,524 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 1 (of expected -1) 02:56:25,524 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 2, nextIndex: 3 02:56:25,524 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 02:56:25,525 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: lastSequenceNumber prior to capture: 7 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 2 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 1 to 2 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 2 data two 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: two 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: CaptureSnapshotReply received by actor 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader797, ServerConfigPayload=null] 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=2 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Snapshot success - sequence number: 7 02:56:25,525 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SnapshotComplete received 02:56:25,526 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a journal response 02:56:25,526 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a snapshot response 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 2 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 2 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 1 to 2 02:56:25,713 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 2 data two 02:56:25,714 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: two 02:56:25,714 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=2 02:56:25,726 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 02:56:25,834 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,834 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower799: Lagging -1 entries behind leader leader797 and reached 0 (of expected -1) 02:56:25,834 PM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 1199, lastApplied : 2, commitIndex : 2 02:56:25,834 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Initiating install snapshot to follower follower799: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 02:56:25,834 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: 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 follower799 02:56:25,834 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: lastSequenceNumber prior to capture: 8 02:56:25,834 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: CaptureSnapshotReply received by actor 02:56:25,835 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Lagging -1 entries behind leader leader797 and reached 0 (of expected -1) 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: 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=leader797, ServerConfigPayload=null] 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendInstallSnapshot 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader797 (Leader): Snapshot 345 bytes, total chunks to send: 1 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader797 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): next snapshot chunk size for follower follower799: 345 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): InstallSnapshot sent to follower Vector(user, follower799), Chunk: 1/1 02:56:25,835 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleInstallSnapshot: InstallSnapshot [term=6, leaderId=leader797, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 02:56:25,835 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Lagging 2 entries behind leader leader797 and reached 0 (of expected -1) 02:56:25,835 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SaveSnapshotSuccess received for snapshot, sequenceNr: 8 02:56:25,835 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Snapshot installed from leader: leader797 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Snapshot success - sequence number: 8 02:56:25,835 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SnapshotComplete received 02:56:25,835 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a snapshot response 02:56:25,835 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a journal response 02:56:25,836 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: 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=leader797, ServerConfigPayload=null] 02:56:25,836 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Snapshot success - sequence number: 4 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from 0 to 2 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Set currentTerm=6, votedFor=leader797 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applySnapshot called 02:56:25,836 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=6, followerId=follower799, chunkIndex=1, success=true] 02:56:25,837 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: SnapshotComplete received 02:56:25,837 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=6, followerId=follower799, chunkIndex=1, success=true] 02:56:25,837 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Snapshot successfully installed on follower follower799 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 02:56:25,837 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: handled a journal response 02:56:25,837 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: handled a snapshot response 02:56:25,953 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,953 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,953 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: fakeSnapshot purging log to 1 for term 6 02:56:25,977 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 02:56:25,977 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,977 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 3 is present for follower follower799 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower799: AppendEntries [leaderId=leader797, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 3 is present for follower follower798 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Number of entries to be appended = 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Append entry to log three 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log three 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Log size is now 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 2 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: 3, nextIndex: 4 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:25,978 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 2 (of expected -1) 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 3, nextIndex: 4 02:56:25,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 3 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 2 to 3 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 3 data three 02:56:25,979 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: three 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: fakeSnapshot purging log to 2 for term 6 02:56:25,979 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 02:56:25,979 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=3 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Commit index set to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 3 (of expected -1) 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 3 (of expected -1) 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Setting last applied to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 2 to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from 2 to 3 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 3 data three 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Applying state for log index 3 data three 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: three 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applyState called: three 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: fakeSnapshot purging log to 2 for term 6 02:56:26,194 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=3 02:56:26,194 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Persisting ApplyJournalEntries with index=3 02:56:26,230 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 4 is present for follower follower799 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower799: AppendEntries [leaderId=leader797, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 4 is present for follower follower798 02:56:26,230 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:26,230 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:26,230 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Number of entries to be appended = 1 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Append entry to log four 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Log size is now 2 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log four 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 3 (of expected -1) 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 2 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 3 (of expected -1) 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: 4, nextIndex: 5 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 4, nextIndex: 5 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: lastSequenceNumber prior to capture: 11 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 4 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 3 to 4 02:56:26,231 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 4 data four 02:56:26,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: four 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: CaptureSnapshotReply received by actor 02:56:26,232 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: 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=leader797, ServerConfigPayload=null] 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=4 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SaveSnapshotSuccess received for snapshot, sequenceNr: 11 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Snapshot success - sequence number: 11 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SnapshotComplete received 02:56:26,232 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a journal response 02:56:26,233 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: handled a snapshot response 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 5 is present for follower follower799 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower799: AppendEntries [leaderId=leader797, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 5 is present for follower follower798 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 02:56:26,281 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 5 is present for follower follower799 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 5 is present for follower follower798 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Number of entries to be appended = 1 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Append entry to log five 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Log size is now 3 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Commit index set to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 4 (of expected -1) 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Setting last applied to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from 3 to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Applying state for log index 4 data four 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log five 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,282 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applyState called: four 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 3 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 4 (of expected -1) 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 3 to 4 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: 5, nextIndex: 6 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 4 data four 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: fakeSnapshot purging log to 3 for term 6 02:56:26,282 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: four 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 6 is present for follower follower799 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower799: AppendEntries [leaderId=leader797, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 5, nextIndex: 6 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): sendAppendEntries: 6 is present for follower follower798 02:56:26,282 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Sending AppendEntries to follower follower798: AppendEntries [leaderId=leader797, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 5 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 4 to 5 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 5 data five 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Persisting ApplyJournalEntries with index=4 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: five 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: fakeSnapshot purging log to 4 for term 6 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=5 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 02:56:26,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Number of entries to be appended = 1 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=4 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Append entry to log six 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Log size is now 4 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower799, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries: AppendEntries [leaderId=leader797, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 4 (of expected -1) 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: fakeSnapshot purging log to 3 for term 6 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Number of entries to be appended = 1 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Append entry to log six 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,283 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower799 updated: matchIndex: 6, nextIndex: 7 02:56:26,283 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Log size is now 4 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 02:56:26,284 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower798, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Setting last applied to 6 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 5 to 6 02:56:26,284 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 4 (of expected -1) 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Applying state for log index 6 data six 02:56:26,284 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: fakeSnapshot purging log to 3 for term 6 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: applyState called: six 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: fakeSnapshot purging log to 5 for term 6 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower799: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower798 updated: matchIndex: 6, nextIndex: 7 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Checking sendAppendEntries for follower follower798: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 02:56:26,284 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Persisting ApplyJournalEntries with index=6 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Commit index set to 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 6 (of expected -1) 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Setting last applied to 5 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from 4 to 5 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Applying state for log index 5 data five 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applyState called: five 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799 (Follower): Setting last applied to 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Moving last applied index from 5 to 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Applying state for log index 6 data six 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: applyState called: six 02:56:26,285 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: fakeSnapshot purging log to 5 for term 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Commit index set to 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 6 (of expected -1) 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 5 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 4 to 5 02:56:26,285 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 5 data five 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: five 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798 (Follower): Setting last applied to 6 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Moving last applied index from 5 to 6 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Applying state for log index 6 data six 02:56:26,286 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower799: Persisting ApplyJournalEntries with index=6 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: applyState called: six 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: fakeSnapshot purging log to 5 for term 6 02:56:26,286 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower798: Persisting ApplyJournalEntries with index=6 02:56:26,434 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower799: Lagging 0 entries behind leader leader797 and reached 6 (of expected -1) 02:56:26,434 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower798: Lagging 0 entries behind leader leader797 and reached 6 (of expected -1) 02:56:26,484 PM [main] [INFO] InMemoryJournal - Journal log for leader797: 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] 02:56:26,486 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 02:56:26,486 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 [WARN] [03/07/2024 14:56:26.498] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader797]: org.opendaylight.controller.cluster.common.actor.Monitor@4515b45e 02:56:26,499 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader797 with journal batch size 1000 02:56:26,499 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: SnapshotOffer called. 02:56:26,499 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from -1 to 3 02:56:26,499 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Set currentTerm=6, votedFor=leader797 02:56:26,500 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader797 in 142.0 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Received apply journal entries for recovery, applying to state: 4 to 4 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 3 to 4 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Received ReplicatedLogEntry for recovery: index: 5, size: 4 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Received ReplicatedLogEntry for recovery: index: 6, size: 3 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Received apply journal entries for recovery, applying to state: 5 to 5 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 4 to 5 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Received apply journal entries for recovery, applying to state: 6 to 6 02:56:26,501 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Moving last applied index from 5 to 6 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Recovery completed in 2.342 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 02:56:26,502 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 02:56:26,502 PM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 02:56:26,502 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower798-collector800#140172258] 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Follower): Received TimeoutNow - switching to Candidate 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Election: Candidate has following voting peers: [] 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797: Set currentTerm=7, votedFor=leader797 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Starting new election term 7 02:56:26,502 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 02:56:26,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate): Received ElectionTimeout 02:56:26,503 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Leader): Election: Leader has following peers: [] 02:56:26,503 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader797 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 02:56:26,513 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower798] 02:56:26,513 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower799-collector801#-1567319033] 02:56:26,513 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower799] 02:56:26,514 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader797-collector802#-1573818074] 02:56:26,514 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader797] 02:56:26,514 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader797-collector803#193030213] 02:56:26,514 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader797] [INFO] [03/07/2024 14:56:26.515] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:56:26,515 PM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/07/2024 14:56:26.516] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.169:25520) [INFO] [03/07/2024 14:56:26.516] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Exiting completed 02:56:26,516 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Exiting completed [INFO] [03/07/2024 14:56:26.516] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Shutting down... 02:56:26,516 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Shutting down... [INFO] [03/07/2024 14:56:26.517] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.169:25520] - Successfully shut down 02:56:26,517 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.169:25520] - Successfully shut down [INFO] [03/07/2024 14:56:26.517] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.169:25520/system/remoting-terminator] Shutting down remote daemon. 02:56:26,518 PM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 02:56:26,518 PM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/07/2024 14:56:26.518] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.169:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/07/2024 14:56:26.524] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.169:25520/system/remoting-terminator] Remoting shut down. 02:56:26,524 PM [test-akka.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [03/07/2024 14:56:26.524] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger