[DEBUG] [10/28/2024 10:07:57.176] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 10:07:57,176 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/28/2024 10:07:57.176] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/28/2024 10:07:57.177] [main] [EventStream(pekko://test)] Default Loggers started 10:07:57,193 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.110:17355] with UID [-9136827341735575583] [INFO] [10/28/2024 10:07:57.193] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.110:17355] with UID [-9136827341735575583] 10:07:57,194 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [10/28/2024 10:07:57.194] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Starting up, Pekko version [1.0.3] ... 10:07:57,197 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 10:07:57,197 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Started up successfully 10:07:57,197 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 10:07:57,197 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [10/28/2024 10:07:57.196] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/28/2024 10:07:57.196] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Started up successfully [INFO] [10/28/2024 10:07:57.197] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/28/2024 10:07:57.197] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 10:07:57,204 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 10:07:57,204 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/28/2024 10:07:57.211] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@5f4fafc4 10:07:57,211 AM [test-pekko.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower740] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.208] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower740] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,212 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 [WARN] [10/28/2024 10:07:57.213] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower741]: org.opendaylight.controller.cluster.common.actor.Monitor@73f154ec [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.213] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower741] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,213 AM [test-pekko.actor.default-dispatcher-14] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower741] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,213 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower741 with journal batch size 1000 [WARN] [10/28/2024 10:07:57.215] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader739]: org.opendaylight.controller.cluster.common.actor.Monitor@76cc1848 10:07:57,215 AM [test-pekko.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader739] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.215] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader739] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,215 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader739 with journal batch size 1000 10:07:57,216 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:07:57,216 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:07:57,217 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Received TimeoutNow - switching to Candidate 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Election: Candidate has following voting peers: [follower740, follower741] 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Set currentTerm=1, votedFor=leader739 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Starting new election term 1 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Sending RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Sending RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] to peer follower741 10:07:57,218 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:07:57,218 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:07:57,218 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:07:57,218 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Cluster state: [] 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=1, votedFor=null 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=leader739 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): In requestVote: RequestVote [term=1, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=1, votedFor=leader739 10:07:57,219 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:07:57,219 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Election: Leader has following peers: [follower740, follower741] 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader leader739, need to catch up to -1 10:07:57,220 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Last sync leader does not match current leader leader739, need to catch up to -1 [WARN] [10/28/2024 10:07:57.221] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/follower741] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2faea3ec [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.221] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,221 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [10/28/2024 10:07:57.221] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53605f49 [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.221] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,221 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,221 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 10:07:57,221 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:07:57,221 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: -1, nextIndex: 0 10:07:57,221 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:07:57,221 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 0 is present for follower follower740 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader739, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 0 is present for follower follower741 10:07:57,222 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=leader739, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader739, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log zero 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries: AppendEntries [leaderId=leader739, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Number of entries to be appended = 1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Append entry to log zero 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower740, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Log size is now 1 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower741, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 10:07:57,222 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/28/2024 10:07:57.223] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6f1e63cd [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.223] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,223 AM [test-pekko.actor.default-dispatcher-17] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,223 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/28/2024 10:07:57.223] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower741] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@159096ec 10:07:57,223 AM [test-pekko.actor.default-dispatcher-17] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.223] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 0, nextIndex: 1 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: 0, nextIndex: 1 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Setting last applied to 0 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Moving last applied index from -1 to 0 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Applying state for log index 0 data zero 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: applyState called: zero 10:07:57,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persisting ApplyJournalEntries with index=0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Commit index set to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached 0 (of expected -1) 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached 0 (of expected -1) 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Setting last applied to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Moving last applied index from -1 to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Applying state for log index 0 data zero 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to 0 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 0 data zero 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: zero 10:07:57,331 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=0 10:07:57,332 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: applyState called: zero 10:07:57,332 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Persisting ApplyJournalEntries with index=0 10:07:57,373 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,373 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,373 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:07:57,373 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:07:57,373 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 1 is present for follower follower740 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader739, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 1 is present for follower follower741 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=leader739, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries: AppendEntries [leaderId=leader739, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader739, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Number of entries to be appended = 1 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Append entry to log one 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log one 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Log size is now 2 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 2 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower741, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower740, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,374 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached 0 (of expected -1) 10:07:57,374 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached 0 (of expected -1) 10:07:57,374 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: 1, nextIndex: 2 10:07:57,374 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:07:57,374 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Setting last applied to 1 10:07:57,374 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Moving last applied index from 0 to 1 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Applying state for log index 1 data one 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: applyState called: one 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: fakeSnapshot purging log to 0 for term 1 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:07:57,375 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persisting ApplyJournalEntries with index=1 10:07:57,376 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,376 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:07:57,424 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:07:57,425 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower740 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower741 10:07:57,425 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,426 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:07:57,571 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower740 10:07:57,571 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,571 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower741 10:07:57,571 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,691 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower740 10:07:57,691 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,691 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): sendAppendEntries: 2 is present for follower follower741 10:07:57,691 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=leader739, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:07:57,810 AM [test-pekko.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: At least 1 followers need to be active, Switching leader739 from Leader to IsolatedLeader 10:07:57,811 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (IsolatedLeader): Election: Leader has following peers: [follower740, follower741] 10:07:57,811 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (IsolatedLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:07:57,811 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (IsolatedLeader): Checking sendAppendEntries for follower follower741: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:07:57,811 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:07:57,828 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower740 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Received TimeoutNow - switching to Candidate 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): Election: Candidate has following voting peers: [follower741, leader739] 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=follower740 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): Starting new election term 2 10:07:57,828 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): Sending RequestVote [term=2, candidateId=follower740, lastLogIndex=1, lastLogTerm=1] to peer follower741 10:07:57,829 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): Sending RequestVote [term=2, candidateId=follower740, lastLogIndex=1, lastLogTerm=1] to peer leader739 10:07:57,829 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Cluster state: [] 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower740, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower740, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=2, votedFor=null 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): In requestVote: RequestVote [term=2, candidateId=follower740, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=2, votedFor=follower740 10:07:57,829 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Election: Leader has following peers: [follower741, leader739] 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower follower741: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower leader739: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 10:07:57,830 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Last sync leader does not match current leader follower740, need to catch up to -1 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 10:07:57,830 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower follower741: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 [WARN] [10/28/2024 10:07:57.830] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/follower741] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3726499 10:07:57,831 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower leader739: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging -1 entries behind leader follower740 and reached 0 (of expected -1) 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: 1, nextIndex: 2 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): sendAppendEntries: 2 is present for follower follower741 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=follower740, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d]]] 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries: AppendEntries [leaderId=follower740, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d]]] 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): sendAppendEntries: 2 is present for follower follower741 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Number of entries to be appended = 1 [WARN] [10/28/2024 10:07:57.831] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower741] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33677584 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Log size is now 3 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower741, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 0 (of expected -1) 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: 2, nextIndex: 3 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Setting last applied to 1 10:07:57,831 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 0 to 1 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 1 data one 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: one 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Setting last applied to 2 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 1 to 2 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Commit index set to 2 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 2 (of expected -1) 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.831] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Setting last applied to 1 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Moving last applied index from 0 to 1 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Election: Leader has following peers: [leader739, follower741] 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Applying state for log index 1 data one 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower leader739: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:07:57,832 AM [test-pekko.actor.default-dispatcher-17] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,832 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: applyState called: one 10:07:57,832 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:07:57,833 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Setting last applied to 2 10:07:57,833 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Moving last applied index from 1 to 2 10:07:57,833 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:07:57,833 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 10:07:57,833 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 2 (of expected -1) 10:07:57,833 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=2 10:07:57,833 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Persisting ApplyJournalEntries with index=2 10:07:57,833 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.833] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower741] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,879 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower leader739: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): sendAppendEntries: 3 is present for follower follower741 10:07:57,879 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Sending AppendEntries to follower follower741: AppendEntries [leaderId=follower740, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries: AppendEntries [leaderId=follower740, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Number of entries to be appended = 1 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Append entry to log two-new 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Log size is now 4 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower741, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,880 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 2 (of expected -1) 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: 3, nextIndex: 4 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Setting last applied to 3 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 2 to 3 10:07:57,880 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 3 data two-new 10:07:57,881 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: two-new 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,881 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:07:57,881 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=3 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Commit index set to 3 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Setting last applied to 3 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Moving last applied index from 2 to 3 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Applying state for log index 3 data two-new 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: applyState called: two-new 10:07:57,881 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Persisting ApplyJournalEntries with index=3 10:07:57,929 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:07:57,931 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Cannot append entries because sender's term 1 is less than 2 10:07:57,931 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Cannot append entries because sender's term 1 is less than 2 10:07:57,931 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower741, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 10:07:57,931 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Set currentTerm=2, votedFor=null 10:07:57,931 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:07:57,950 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Last sync leader does not match current leader follower740, need to catch up to -1 [WARN] [10/28/2024 10:07:57.950] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/leader739] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d4cd85f [INFO] [pekkoDeadLetter][10/28/2024 10:07:57.951] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/leader739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/leader739] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/leader739] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 10:07:57,951 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): handleAppendEntriesReply: follower leader739 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower leader739: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): sendAppendEntries: 1 is present for follower leader739 10:07:57,951 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Sending AppendEntries to follower leader739: AppendEntries [leaderId=follower740, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): handleAppendEntries: AppendEntries [leaderId=follower740, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Number of entries to be appended = 3 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] is present: existingEntryTerm: 1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:07:57,951 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Append entry to log two-new 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Log size is now 3 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Commit index set to 3 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader739, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Setting last applied to 2 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Moving last applied index from 1 to 2 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Setting last applied to 3 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Moving last applied index from 2 to 3 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Applying state for log index 3 data two-new 10:07:57,952 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: applyState called: two-new 10:07:57,953 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:07:57,953 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:07:57,953 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 10:07:57,953 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: lastSequenceNumber prior to capture: 10 10:07:57,953 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader739 updated: matchIndex: 3, nextIndex: 4 10:07:57,953 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: fakeSnapshot purging log to 2 for term 2 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persisting ApplyJournalEntries with index=3 10:07:57,953 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Leader): Checking sendAppendEntries for follower leader739: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: CaptureSnapshotReply received by actor 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=2, lastAppliedIndex=3, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 [WARN] [10/28/2024 10:07:57.953] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/leader739] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7dd0c754 10:07:57,953 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Snapshot success - sequence number: 10 10:07:57,954 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: SnapshotComplete received 10:07:57,954 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: handled a snapshot response 10:07:57,954 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: handled a journal response 10:07:58,71 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,71 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: fakeSnapshot purging log to 2 for term 2 10:07:58,71 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,71 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: fakeSnapshot purging log to 2 for term 2 10:07:58,191 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,191 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,311 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,311 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,551 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,551 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,671 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,671 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,791 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,791 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,911 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:58,911 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,30 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,30 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,151 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,151 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,271 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,271 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,391 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,391 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,510 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,510 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,631 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,631 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,751 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,751 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,871 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,871 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,991 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:07:59,991 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,111 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,111 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,231 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,231 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,350 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,351 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,471 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,471 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,591 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,591 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,711 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,711 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,831 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,831 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,951 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:00,951 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,71 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,71 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,191 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,191 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,311 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,311 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,421 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,421 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,542 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,542 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,651 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,651 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,770 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,770 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,891 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:01,891 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,11 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,11 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,131 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,131 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,250 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,250 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,371 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,371 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,491 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,491 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,611 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,611 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,721 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,721 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,841 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,841 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,960 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader739: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:02,961 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader follower740 and reached 3 (of expected -1) 10:08:03,67 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 10:08:03,67 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower740-notifier742#-412596413] 10:08:03,79 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower740-collector743#-788224068] 10:08:03,79 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower740] 10:08:03,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower741-collector744#-386115262] 10:08:03,80 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower741] 10:08:03,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader739-notifier745#1830197584] 10:08:03,80 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader739-collector746#-853895366] 10:08:03,80 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader739] 10:08:03,81 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 10:08:03,81 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/28/2024 10:08:03.083] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower748]: org.opendaylight.controller.cluster.common.actor.Monitor@517decc0 10:08:03,84 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower748 with journal batch size 1000 10:08:03,85 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/28/2024 10:08:03.086] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower749]: org.opendaylight.controller.cluster.common.actor.Monitor@3c0e5e26 10:08:03,87 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower749 with journal batch size 1000 10:08:03,88 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/28/2024 10:08:03.088] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader747]: org.opendaylight.controller.cluster.common.actor.Monitor@28f85439 10:08:03,89 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader747 with journal batch size 1000 10:08:03,89 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:08:03,188 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:08:03,188 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Received TimeoutNow - switching to Candidate 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): Election: Candidate has following voting peers: [follower748, follower749] 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Set currentTerm=1, votedFor=leader747 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): Starting new election term 1 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): Sending RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] to peer follower748 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): Sending RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] to peer follower749 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=null 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=leader747 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Cluster state: [] 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Set currentTerm=1, votedFor=null 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): In requestVote: RequestVote [term=1, candidateId=leader747, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Set currentTerm=1, votedFor=leader747 10:08:03,189 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:08:03,189 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Election: Leader has following peers: [follower748, follower749] 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:03,190 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:08:03,190 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader leader747, need to catch up to -1 10:08:03,190 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: -1, nextIndex: 0 10:08:03,190 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:03,191 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower749: Last sync leader does not match current leader leader747, need to catch up to -1 10:08:03,191 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower749 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/28/2024 10:08:03.191] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@31711a 10:08:03,191 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/28/2024 10:08:03.191] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/follower749] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@29a1d8c1 10:08:03,240 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:08:03,240 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 0 is present for follower follower748 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader747, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 0 is present for follower follower749 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=leader747, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader747, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:08:03,241 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 0 is present for follower follower748 10:08:03,241 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log zero 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 0 is present for follower follower749 10:08:03,241 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries: AppendEntries [leaderId=leader747, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Number of entries to be appended = 1 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:08:03,241 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Append entry to log zero 10:08:03,242 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Log size is now 1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower748, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader747 and reached -1 (of expected -1) 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 0, nextIndex: 1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower749, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader leader747 and reached -1 (of expected -1) 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 1 is present for follower follower748 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader747, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower749 updated: matchIndex: 0, nextIndex: 1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 1 is present for follower follower749 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=leader747, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Setting last applied to 0 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Moving last applied index from -1 to 0 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Applying state for log index 0 data zero 10:08:03,242 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: applyState called: zero [WARN] [10/28/2024 10:08:03.242] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37b99159 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader747, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 10:08:03,242 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persisting ApplyJournalEntries with index=0 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log one 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower748, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:03,242 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader747 and reached -1 (of expected -1) 10:08:03,242 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Setting last applied to 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Moving last applied index from 0 to 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Applying state for log index 1 data one [WARN] [10/28/2024 10:08:03.243] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower749] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7d344445 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: applyState called: one 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries: AppendEntries [leaderId=leader747, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: fakeSnapshot purging log to 0 for term 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Number of entries to be appended = 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Append entry to log one 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Log size is now 2 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower749, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader leader747 and reached -1 (of expected -1) 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persisting ApplyJournalEntries with index=1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader747 and reached 1 (of expected -1) 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from -1 to 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 0 data zero 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower749 updated: matchIndex: 1, nextIndex: 2 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: zero 10:08:03,243 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 0 to 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 1 data one 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: one 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 0 for term 1 10:08:03,243 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Commit index set to 1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader leader747 and reached 1 (of expected -1) 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Setting last applied to 0 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Moving last applied index from -1 to 0 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Applying state for log index 0 data zero 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: applyState called: zero 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Setting last applied to 1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Moving last applied index from 0 to 1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Applying state for log index 1 data one 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: applyState called: one 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: fakeSnapshot purging log to 0 for term 1 10:08:03,244 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Persisting ApplyJournalEntries with index=1 10:08:03,291 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:08:03,291 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower748 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower749 10:08:03,291 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,292 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:03,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower748 10:08:03,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower749 10:08:03,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,540 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower748 10:08:03,540 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,540 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): sendAppendEntries: 2 is present for follower follower749 10:08:03,540 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=leader747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:03,780 AM [test-pekko.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: At least 1 followers need to be active, Switching leader747 from Leader to IsolatedLeader 10:08:03,781 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (IsolatedLeader): Election: Leader has following peers: [follower748, follower749] 10:08:03,781 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (IsolatedLeader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,781 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (IsolatedLeader): Checking sendAppendEntries for follower follower749: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,781 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:08:03,798 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower748 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Received TimeoutNow - switching to Candidate 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): Election: Candidate has following voting peers: [follower749, leader747] 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=follower748 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): Starting new election term 2 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): Sending RequestVote [term=2, candidateId=follower748, lastLogIndex=1, lastLogTerm=1] to peer follower749 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): Sending RequestVote [term=2, candidateId=follower748, lastLogIndex=1, lastLogTerm=1] to peer leader747 10:08:03,798 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:08:03,798 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:03,798 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Cluster state: [] 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower748, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower748, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Set currentTerm=2, votedFor=null 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): In requestVote: RequestVote [term=2, candidateId=follower748, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Set currentTerm=2, votedFor=follower748 10:08:03,799 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Election: Leader has following peers: [follower749, leader747] 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower follower749: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower leader747: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:03,800 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:08:03,800 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower749: Last sync leader does not match current leader follower748, need to catch up to -1 10:08:03,800 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower749 updated: matchIndex: 1, nextIndex: 2 10:08:03,800 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:03,800 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader follower748 and reached 1 (of expected -1) [WARN] [10/28/2024 10:08:03.800] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/follower749] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@279a2bf0 [WARN] [10/28/2024 10:08:03.800] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/follower749] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1fe065b0 10:08:03,850 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): sendAppendEntries: 2 is present for follower follower749 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Sending AppendEntries to follower follower749: AppendEntries [leaderId=follower748, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:08:03,850 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower leader747: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,850 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries: AppendEntries [leaderId=follower748, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:08:03,850 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Number of entries to be appended = 1 10:08:03,850 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:08:03,850 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Append entry to log two-new 10:08:03,850 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:03,851 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Log size is now 2 10:08:03,851 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower749, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:03,851 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader follower748 and reached 1 (of expected -1) 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower749 updated: matchIndex: 2, nextIndex: 3 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower follower749: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:08:03,851 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Setting last applied to 2 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 1 to 2 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 2 data two-new 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: two-new 10:08:03,851 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=2 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Commit index set to 2 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader follower748 and reached 2 (of expected -1) 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Setting last applied to 2 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Moving last applied index from 1 to 2 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Applying state for log index 2 data two-new 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: applyState called: two-new 10:08:04,31 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower749: Persisting ApplyJournalEntries with index=2 10:08:04,51 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:08:04,140 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Cannot append entries because sender's term 1 is less than 2 10:08:04,140 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower749 (Follower): Cannot append entries because sender's term 1 is less than 2 10:08:04,140 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower748, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 10:08:04,141 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Set currentTerm=2, votedFor=null 10:08:04,141 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader747: Last sync leader does not match current leader follower748, need to catch up to -1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): handleAppendEntriesReply: follower leader747 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower leader747: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:04,151 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): sendAppendEntries: 1 is present for follower leader747 10:08:04,151 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Sending AppendEntries to follower leader747: AppendEntries [leaderId=follower748, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): handleAppendEntries: AppendEntries [leaderId=follower748, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] [WARN] [10/28/2024 10:08:04.151] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/leader747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@45bc1409 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Number of entries to be appended = 2 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower749: Lagging 0 entries behind leader follower748 and reached 2 (of expected -1) 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Append entry to log two-new 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Log size is now 2 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Commit index set to 2 10:08:04,151 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader747, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader747: Lagging 0 entries behind leader follower748 and reached 2 (of expected -1) 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:08:04,152 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader747 updated: matchIndex: 2, nextIndex: 3 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747 (Follower): Setting last applied to 2 10:08:04,152 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 1 for term 2 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Moving last applied index from 1 to 2 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Applying state for log index 2 data two-new 10:08:04,152 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Leader): Checking sendAppendEntries for follower leader747: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: applyState called: two-new 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:08:04,152 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader747: Persisting ApplyJournalEntries with index=2 [WARN] [10/28/2024 10:08:04.153] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/leader747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@ae11373 10:08:04,153 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 10:08:04,153 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower748-notifier750#-507051467] 10:08:04,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower748-collector751#628636202] 10:08:04,154 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower748] 10:08:04,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower749-collector752#1584217755] 10:08:04,154 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower749] 10:08:04,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader747-notifier753#-1703165470] 10:08:04,155 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader747-collector754#744269361] 10:08:04,155 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader747] 10:08:04,156 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 10:08:04,156 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/28/2024 10:08:04.157] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower756]: org.opendaylight.controller.cluster.common.actor.Monitor@67eb0587 10:08:04,158 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower756 with journal batch size 1000 10:08:04,159 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/28/2024 10:08:04.160] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower757]: org.opendaylight.controller.cluster.common.actor.Monitor@5c819d4d 10:08:04,161 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower757 with journal batch size 1000 10:08:04,162 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/28/2024 10:08:04.162] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader755]: org.opendaylight.controller.cluster.common.actor.Monitor@5fb86f07 10:08:04,163 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader755 with journal batch size 1000 10:08:04,163 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Received TimeoutNow - switching to Candidate 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): Election: Candidate has following voting peers: [follower757, follower756] 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Set currentTerm=1, votedFor=leader755 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): Starting new election term 1 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): Sending RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] to peer follower757 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): Sending RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] to peer follower756 10:08:04,164 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:04,164 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:04,164 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Cluster state: [] 10:08:04,164 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:08:04,164 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=null 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:08:04,164 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=leader755 10:08:04,165 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Set currentTerm=1, votedFor=null 10:08:04,165 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): In requestVote: RequestVote [term=1, candidateId=leader755, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Election: Leader has following peers: [follower757, follower756] 10:08:04,165 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Set currentTerm=1, votedFor=leader755 10:08:04,165 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:08:04,165 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader leader755, need to catch up to -1 [WARN] [10/28/2024 10:08:04.165] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@21754232 10:08:04,166 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: -1, nextIndex: 0 10:08:04,166 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Last sync leader does not match current leader leader755, need to catch up to -1 10:08:04,166 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:08:04,166 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: -1, nextIndex: 0 10:08:04,166 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/28/2024 10:08:04.166] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower757] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7f53b434 10:08:04,215 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:08:04,215 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 0 is present for follower follower757 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=leader755, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 0 is present for follower follower756 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader755, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=leader755, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log zero 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader755, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log zero 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower757, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader leader755 and reached -1 (of expected -1) 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower756, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:04,216 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader755 and reached -1 (of expected -1) 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 0, nextIndex: 1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:04,216 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 0, nextIndex: 1 10:08:04,217 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:08:04,217 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,217 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/28/2024 10:08:04.217] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4b170cc8 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 [WARN] [10/28/2024 10:08:04.217] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower757] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@19c16693 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Setting last applied to 0 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from -1 to 0 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 0 data zero 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: applyState called: zero 10:08:04,217 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persisting ApplyJournalEntries with index=0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader755 and reached 0 (of expected -1) 10:08:04,401 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Commit index set to 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader leader755 and reached 0 (of expected -1) 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from -1 to 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 0 data zero 10:08:04,401 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:08:04,401 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 0 10:08:04,402 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from -1 to 0 10:08:04,402 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 0 data zero 10:08:04,402 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: zero 10:08:04,402 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=0 10:08:04,402 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: applyState called: zero 10:08:04,402 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Persisting ApplyJournalEntries with index=0 10:08:04,419 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 1 is present for follower follower757 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=leader755, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 1 is present for follower follower756 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader755, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader755, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=leader755, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 10:08:04,420 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:08:04,420 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:04,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log one 10:08:04,420 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:08:04,420 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,420 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log one 10:08:04,420 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 2 10:08:04,421 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 2 10:08:04,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower756, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:04,421 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower757, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 10:08:04,421 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader755 and reached 0 (of expected -1) 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:08:04,421 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader leader755 and reached 0 (of expected -1) 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Setting last applied to 1 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from 0 to 1 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 1 data one 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: applyState called: one 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: fakeSnapshot purging log to 0 for term 1 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 1, nextIndex: 2 10:08:04,421 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:08:04,422 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persisting ApplyJournalEntries with index=1 10:08:04,422 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,422 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:08:04,471 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:08:04,471 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 10:08:04,471 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:04,471 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:04,471 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower757 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower756 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower757 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower756 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 10:08:04,472 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower757 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower756 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: lastSequenceNumber prior to capture: 7 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: CaptureSnapshotReply received by actor 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader755, ServerConfigPayload=null] 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:08:04,473 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:08:04,474 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:08:04,474 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Snapshot success - sequence number: 7 10:08:04,474 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: SnapshotComplete received 10:08:04,474 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: handled a snapshot response 10:08:04,474 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: handled a journal response 10:08:04,641 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower757 10:08:04,641 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:08:04,641 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower756 10:08:04,641 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:08:04,760 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower757 10:08:04,760 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:08:04,760 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): sendAppendEntries: 2 is present for follower follower756 10:08:04,760 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader755, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:08:05,361 AM [test-pekko.actor.default-dispatcher-14] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: At least 1 followers need to be active, Switching leader755 from Leader to IsolatedLeader 10:08:05,361 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (IsolatedLeader): Election: Leader has following peers: [follower757, follower756] 10:08:05,361 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (IsolatedLeader): Checking sendAppendEntries for follower follower757: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:08:05,361 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (IsolatedLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:08:05,361 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:08:05,378 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower756 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Received TimeoutNow - switching to Candidate 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): Election: Candidate has following voting peers: [leader755, follower757] 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=follower756 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): Starting new election term 2 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): Sending RequestVote [term=2, candidateId=follower756, lastLogIndex=1, lastLogTerm=1] to peer leader755 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): Sending RequestVote [term=2, candidateId=follower756, lastLogIndex=1, lastLogTerm=1] to peer follower757 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:08:05,379 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Cluster state: [] 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower756, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower756, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Set currentTerm=2, votedFor=null 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): In requestVote: RequestVote [term=2, candidateId=follower756, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Set currentTerm=2, votedFor=follower756 10:08:05,379 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Election: Leader has following peers: [leader755, follower757] 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower follower757: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,380 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,381 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 10:08:05,381 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,381 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower follower757: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower757: Last sync leader does not match current leader follower756, need to catch up to -1 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower757: Lagging -1 entries behind leader follower756 and reached 0 (of expected -1) 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 1, nextIndex: 2 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): sendAppendEntries: 2 is present for follower follower757 [WARN] [10/28/2024 10:08:05.381] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower757] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17495477 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=follower756, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d]]] [WARN] [10/28/2024 10:08:05.381] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower757] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@48254ecb 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d]]] 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:08:05,381 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): sendAppendEntries: 2 is present for follower follower757 10:08:05,381 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,382 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 3 10:08:05,382 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower757, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,382 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 0 (of expected -1) 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 2, nextIndex: 3 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Setting last applied to 1 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 0 to 1 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 1 data one 10:08:05,382 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: one 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Setting last applied to 2 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 1 to 2 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Election: Leader has following peers: [leader755, follower757] 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:08:05,382 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Commit index set to 2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 2 (of expected -1) 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 1 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from 0 to 1 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 1 data one 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: applyState called: one 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from 1 to 2 10:08:05,383 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:08:05,384 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Persisting ApplyJournalEntries with index=2 10:08:05,430 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 3 is present for follower follower757 10:08:05,430 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=follower756, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:08:05,430 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:08:05,430 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:05,430 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:08:05,430 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log two-new 10:08:05,430 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,431 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 4 10:08:05,431 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower757, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,431 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 2 (of expected -1) 10:08:05,431 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 3, nextIndex: 4 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 4 is present for follower follower757 10:08:05,431 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=follower756, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new]]] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new]]] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log three-new 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 4 is present for follower follower757 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 5 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower757, logLastIndex=4, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 2 (of expected -1) 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 4, nextIndex: 5 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 5 is present for follower follower757 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Sending AppendEntries to follower follower757: AppendEntries [leaderId=follower756, prevLogIndex=4, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:08:05,432 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Setting last applied to 3 10:08:05,433 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 2 to 3 10:08:05,433 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 3 data two-new 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,433 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: two-new 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=4, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Number of entries to be appended = 1 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Append entry to log four-new 10:08:05,433 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=3 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Log size is now 6 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower757, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 2 (of expected -1) 10:08:05,433 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower757 updated: matchIndex: 5, nextIndex: 6 10:08:05,433 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower follower757: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Commit index set to 3 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 3 (of expected -1) 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Setting last applied to 4 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 5 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 3 to 4 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 4 data three-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 3 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from 2 to 3 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 3 data two-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: three-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: applyState called: two-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=4 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Setting last applied to 5 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 4 to 5 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 5 data four-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: four-new 10:08:05,434 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=5 10:08:05,434 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Persisting ApplyJournalEntries with index=3 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Commit index set to 4 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 4 (of expected -1) 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 4 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from 3 to 4 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 4 data three-new 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: applyState called: three-new 10:08:05,435 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Commit index set to 5 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Setting last applied to 5 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Moving last applied index from 4 to 5 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Applying state for log index 5 data four-new 10:08:05,436 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: applyState called: four-new 10:08:05,436 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Persisting ApplyJournalEntries with index=4 10:08:05,436 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: Persisting ApplyJournalEntries with index=5 10:08:05,480 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:08:05,481 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower757 (Follower): Cannot append entries because sender's term 1 is less than 2 10:08:05,481 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Cannot append entries because sender's term 1 is less than 2 10:08:05,481 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower757, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 10:08:05,481 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Set currentTerm=2, votedFor=null 10:08:05,482 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:08:05,501 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Last sync leader does not match current leader follower756, need to catch up to -1 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply: follower leader755 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 3 is present for follower leader755 [WARN] [10/28/2024 10:08:05.501] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/leader755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@34d193d5 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Sending AppendEntries to follower leader755: AppendEntries [leaderId=follower756, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): The prevLogIndex 2 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 4, snapshotIndex: 1, snapshotTerm: 1 10:08:05,501 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader755, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 4 entries behind leader follower756 and reached 1 (of expected -1) 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader755, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 [WARN] [10/28/2024 10:08:05.502] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/leader755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@45140ed8 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): follower leader755 last log term 1 conflicts with the leader's 2 - dec next index to 2 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): sendAppendEntries: 2 is present for follower leader755 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Sending AppendEntries to follower leader755: AppendEntries [leaderId=follower756, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): handleAppendEntries: AppendEntries [leaderId=follower756, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Number of entries to be appended = 4 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] is present: existingEntryTerm: 1 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Append entry to log two-new 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Append entry to log three-new 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Append entry to log four-new 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Log size is now 4 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Commit index set to 5 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader755, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Setting last applied to 2 10:08:05,502 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from 1 to 2 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Setting last applied to 3 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from 2 to 3 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 3 data two-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: applyState called: two-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Setting last applied to 4 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from 3 to 4 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 4 data three-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: applyState called: three-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755 (Follower): Setting last applied to 5 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Moving last applied index from 4 to 5 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Applying state for log index 5 data four-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: applyState called: four-new 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader755 updated: matchIndex: 5, nextIndex: 6 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: fakeSnapshot purging log to 4 for term 2 10:08:05,503 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Leader): Checking sendAppendEntries for follower leader755: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: lastSequenceNumber prior to capture: 14 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persisting ApplyJournalEntries with index=5 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: CaptureSnapshotReply received by actor 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Persisting of snapshot done: Snapshot [lastIndex=5, lastTerm=2, lastAppliedIndex=5, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new, three-new, four-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 10:08:05,504 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: Snapshot success - sequence number: 14 10:08:05,505 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: SnapshotComplete received 10:08:05,505 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: handled a snapshot response 10:08:05,505 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader755: handled a journal response 10:08:05,621 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,621 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,621 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower757: fakeSnapshot purging log to 4 for term 2 10:08:05,740 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,741 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,861 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,861 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,981 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:05,981 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,101 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,101 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,220 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,221 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,341 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,341 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,461 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,462 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,581 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,581 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,700 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,701 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,821 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,821 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,940 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:06,941 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,61 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,61 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,181 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,181 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,301 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,301 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,411 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,411 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,531 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,531 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,651 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,651 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,771 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,771 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,891 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:07,891 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,11 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,11 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,131 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,131 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,251 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,251 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,371 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,371 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,491 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,491 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,611 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,612 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,731 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,731 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,851 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,851 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,970 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:08,971 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,91 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,91 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,211 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,211 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,330 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,330 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,450 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,451 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,571 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,571 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,691 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,691 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,811 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,811 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,931 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:09,931 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,51 AM [test-pekko.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,51 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,171 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,171 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,291 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,291 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,411 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,411 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,531 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader755: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,531 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower757: Lagging 0 entries behind leader follower756 and reached 5 (of expected -1) 10:08:10,582 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 10:08:10,582 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower756-notifier758#384362435] 10:08:10,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower756-collector759#442855305] 10:08:10,594 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower756] 10:08:10,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower757-collector760#-167856902] 10:08:10,594 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower757] 10:08:10,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader755-notifier761#1384748375] 10:08:10,594 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader755-collector762#1253597881] 10:08:10,595 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader755] [INFO] [10/28/2024 10:08:10.596] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/28/2024 10:08:10.599] [test-pekko.actor.default-dispatcher-18] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.110:17355) [INFO] [10/28/2024 10:08:10.597] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Exiting completed [INFO] [10/28/2024 10:08:10.597] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Shutting down... [INFO] [10/28/2024 10:08:10.597] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.110:17355] - Successfully shut down [WARN] [10/28/2024 10:08:10.599] [test-pekko.actor.default-dispatcher-17] [pekko://test/system/deadLetterListener] received dead letter: UnhandledMessage(Leave(pekko://test@10.30.171.110:17355),Actor[pekko://test/deadLetters],Actor[pekko://test/system/cluster/core/daemon#1282178613]) [INFO] [10/28/2024 10:08:10.599] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.110:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [10/28/2024 10:08:10.599] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.110:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:08:10,601 AM [test-pekko.actor.default-dispatcher-14] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:08:10,601 AM [test-pekko.actor.default-dispatcher-14] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Exiting completed [INFO] [10/28/2024 10:08:10.601] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.110:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [10/28/2024 10:08:10.601] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger 10:08:10,602 AM [test-pekko.actor.default-dispatcher-14] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Shutting down... 10:08:10,602 AM [test-pekko.actor.default-dispatcher-14] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.110:17355] - Successfully shut down 10:08:10,602 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 10:08:10,602 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 10:08:10,602 AM [test-pekko.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.