[DEBUG] [01/21/2025 00:43:57.485] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:43:57,485 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/21/2025 00:43:57.485] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/21/2025 00:43:57.485] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/21/2025 00:43:57.498] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.224:25520] with UID [-6889455301629598980] 12:43:57,498 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.224:25520] with UID [-6889455301629598980] [INFO] [01/21/2025 00:43:57.499] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Starting up, Akka version [2.6.21] ... 12:43:57,499 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/21/2025 00:43:57.501] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/21/2025 00:43:57.501] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Started up successfully 12:43:57,501 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:43:57,501 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Started up successfully [INFO] [01/21/2025 00:43:57.502] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/21/2025 00:43:57.502] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:57,502 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:43:57,502 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:57,511 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 12:43:57,511 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [01/21/2025 00:43:57.514] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower739]: org.opendaylight.controller.cluster.common.actor.Monitor@54ffb03b [INFO] [akkaDeadLetter][01/21/2025 00:43:57.514] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower739] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,516 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower739] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,517 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower739 with journal batch size 1000 12:43:57,518 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:57,614 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower740] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [01/21/2025 00:43:57.614] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@6295a981 [INFO] [akkaDeadLetter][01/21/2025 00:43:57.614] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower740] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,614 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 12:43:57,616 AM [test-akka.actor.default-dispatcher-11] [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 [WARN] [01/21/2025 00:43:57.716] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@7e4135a8 [INFO] [akkaDeadLetter][01/21/2025 00:43:57.716] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader738] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,716 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader738] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,717 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 12:43:57,718 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received TimeoutNow - switching to Candidate 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [follower739, follower740] 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 1 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower739 12:43:57,816 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 12:43:57,817 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Cluster state: [] 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=null 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=leader738 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=leader738 12:43:57,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:43:57,817 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [follower739, follower740] 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:57,818 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:43:57,818 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader leader738, need to catch up to -1 [WARN] [01/21/2025 00:43:57.819] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5425b4fc [INFO] [akkaDeadLetter][01/21/2025 00:43:57.819] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,819 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower739: Last sync leader does not match current leader leader738, need to catch up to -1 [WARN] [01/21/2025 00:43:57.819] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65f35073 [INFO] [akkaDeadLetter][01/21/2025 00:43:57.819] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,819 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,820 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 12:43:57,820 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:57,820 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: -1, nextIndex: 0 12:43:57,820 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:57,869 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower739 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower740 12:43:57,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:57,869 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:57,869 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:43:57,869 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:57,869 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log zero 12:43:57,869 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 1 12:43:57,870 AM [test-akka.actor.default-dispatcher-5] [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] 12:43:57,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 12:43:57,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 0, nextIndex: 1 12:43:57,869 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:57,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log zero 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 1 12:43:57,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:57,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 12:43:57,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 0 12:43:57,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 0 12:43:57,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 0 data zero 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: zero 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 0, nextIndex: 1 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=0 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [01/21/2025 00:43:57.871] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6561e477 [INFO] [akkaDeadLetter][01/21/2025 00:43:57.871] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:57,871 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 0 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 0 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from -1 to 0 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 0 data zero 12:43:57,872 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: zero 12:43:57,872 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [01/21/2025 00:43:57.873] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@55a514c9 [INFO] [akkaDeadLetter][01/21/2025 00:43:57.872] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:57,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=0 12:43:58,51 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:43:58,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 0 12:43:58,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:43:58,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:58,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 0 12:43:58,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to 0 12:43:58,52 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 0 data zero 12:43:58,52 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: zero 12:43:58,52 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=0 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower739 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower740 12:43:58,71 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log one 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log one 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 2 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 2 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [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] 12:43:58,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:43:58,72 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:43:58,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 1, nextIndex: 2 12:43:58,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:58,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 12:43:58,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:58,72 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 1 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 0 to 1 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 1 data one 12:43:58,73 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: one 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 0 for term 1 12:43:58,73 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=1 12:43:58,74 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:58,122 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:43:58,123 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:43:58,123 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:58,124 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:58,290 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:43:58,290 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:58,290 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:43:58,290 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:58,411 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:43:58,411 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:58,411 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:43:58,411 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:59,11 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: At least 1 followers need to be active, Switching leader738 from Leader to IsolatedLeader 12:43:59,11 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Election: Leader has following peers: [follower740, follower739] 12:43:59,11 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:43:59,11 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:43:59,11 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:43:59,28 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower739 12:43:59,28 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:59,28 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Received TimeoutNow - switching to Candidate 12:43:59,28 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Election: Candidate has following voting peers: [follower740, leader738] 12:43:59,29 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=2, votedFor=follower739 12:43:59,29 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Starting new election term 2 12:43:59,29 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer follower740 12:43:59,29 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer leader738 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:59,29 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=null 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=follower739 12:43:59,29 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Election: Leader has following peers: [follower740, leader738] 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 12:43:59,30 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader follower739, need to catch up to -1 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,30 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging -1 entries behind leader follower739 and reached 0 (of expected -1) 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:43:59,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 [WARN] [01/21/2025 00:43:59.030] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@674fefa0 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=follower739, 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@125a6446]]] 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 [INFO] [akkaDeadLetter][01/21/2025 00:43:59.031] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,31 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, 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@125a6446]]] 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:43:59,35 AM [test-akka.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@125a6446] 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 3 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower740, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:59,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 0 (of expected -1) 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 2, nextIndex: 3 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 1 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 0 to 1 12:43:59,35 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 1 data one 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: one 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 1 to 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Election: Leader has following peers: [follower740, leader738] 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 1 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 0 to 1 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 1 data one [WARN] [01/21/2025 00:43:59.036] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6433848b 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: one 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 1 to 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 [INFO] [akkaDeadLetter][01/21/2025 00:43:59.036] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 12:43:59,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:43:59,36 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=2 12:43:59,36 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,36 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=2 12:43:59,79 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 12:43:59,79 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,79 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,79 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 12:43:59,79 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:59,79 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 3 is present for follower follower740 12:43:59,80 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=follower739, 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]]] 12:43:59,80 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:59,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, 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]]] 12:43:59,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:43:59,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:43:59,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log two-new 12:43:59,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 4 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower740, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 3, nextIndex: 4 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Setting last applied to 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 2 to 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 3 data two-new 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: two-new 12:43:59,81 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,81 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=3 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 2 to 3 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 3 data two-new 12:43:59,81 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: two-new 12:43:59,82 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=3 12:43:59,131 AM [main] [INFO] IsolationScenarioTest - Removing isolation 12:43:59,131 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cannot append entries because sender's term 1 is less than 2 12:43:59,131 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Cannot append entries because sender's term 1 is less than 2 12:43:59,131 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower740, 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 12:43:59,131 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=2, votedFor=null 12:43:59,132 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:43:59,150 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Last sync leader does not match current leader follower739, need to catch up to -1 12:43:59,150 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply: follower leader738 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 12:43:59,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:59,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 1 is present for follower leader738 12:43:59,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Sending AppendEntries to follower leader738: AppendEntries [leaderId=follower739, 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@125a6446], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [01/21/2025 00:43:59.150] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader738] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26106cb5 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, 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@125a6446], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Number of entries to be appended = 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] is present: existingEntryTerm: 1 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 [INFO] [akkaDeadLetter][01/21/2025 00:43:59.151] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader738] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/leader738] 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 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,151 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/leader738] 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 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log two-new 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Log size is now 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Commit index set to 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader738, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 2 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 1 to 2 12:43:59,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader738 updated: matchIndex: 3, nextIndex: 4 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:43:59,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: fakeSnapshot purging log to 2 for term 2 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 3 data two-new 12:43:59,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 12:43:59,151 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: two-new 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: lastSequenceNumber prior to capture: 10 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=3 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: CaptureSnapshotReply received by actor 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: 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] 12:43:59,152 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [01/21/2025 00:43:59.153] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader738] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@46452489 12:43:59,153 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 12:43:59,153 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Snapshot success - sequence number: 10 12:43:59,153 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotComplete received 12:43:59,153 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a snapshot response 12:43:59,153 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a journal response 12:43:59,271 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,271 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 2 for term 2 12:43:59,271 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,271 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: fakeSnapshot purging log to 2 for term 2 12:43:59,390 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,390 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,511 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,511 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,631 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,751 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,871 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,871 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,991 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:43:59,991 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,111 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,111 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,230 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,351 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,471 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,591 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,591 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,711 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,831 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,831 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,951 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:00,951 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,71 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,190 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,191 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,311 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,311 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,431 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,431 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,551 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,551 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,671 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,671 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,791 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,791 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,911 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:01,911 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,30 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,30 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,151 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,270 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,270 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,391 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,391 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,511 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,511 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,631 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,750 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,871 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:02,991 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,111 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,231 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,231 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,351 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,351 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,470 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,591 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,710 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,830 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,830 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,951 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:03,951 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:04,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:04,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:04,190 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:04,191 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:44:04,210 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 12:44:04,210 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower739-notifier741#-1641300980] 12:44:04,221 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower739-collector742#236487994] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower739] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower740-collector743#1563264322] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower740] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-notifier744#1011760416] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-collector745#-205723026] 12:44:04,222 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader738] 12:44:04,223 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 12:44:04,223 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [01/21/2025 00:44:04.225] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower747]: org.opendaylight.controller.cluster.common.actor.Monitor@5daaadf0 12:44:04,226 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower747 with journal batch size 1000 12:44:04,227 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/21/2025 00:44:04.227] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower748]: org.opendaylight.controller.cluster.common.actor.Monitor@2f540a8b 12:44:04,228 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower748 with journal batch size 1000 12:44:04,229 AM [test-akka.actor.default-dispatcher-17] [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] [01/21/2025 00:44:04.229] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader746]: org.opendaylight.controller.cluster.common.actor.Monitor@2ae8500a 12:44:04,230 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader746 with journal batch size 1000 12:44:04,231 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:44:04,231 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:44:04,231 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Received TimeoutNow - switching to Candidate 12:44:04,231 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Election: Candidate has following voting peers: [follower748, follower747] 12:44:04,231 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=1, votedFor=leader746 12:44:04,232 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Starting new election term 1 12:44:04,232 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower748 12:44:04,232 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower747 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:04,232 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=null 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Cluster state: [] 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=null 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=leader746 12:44:04,232 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=leader746 12:44:04,232 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:44:04,233 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:44:04,234 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:44:04,234 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Election: Leader has following peers: [follower748, follower747] 12:44:04,234 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:04,234 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:04,234 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:44:04,234 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower747: Last sync leader does not match current leader leader746, need to catch up to -1 [WARN] [01/21/2025 00:44:04.234] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower747] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5dd4b26e 12:44:04,234 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader leader746, need to catch up to -1 [WARN] [01/21/2025 00:44:04.234] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@fd7ce9b 12:44:04,234 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: -1, nextIndex: 0 12:44:04,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:04,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: -1, nextIndex: 0 12:44:04,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:04,288 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:04,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:44:04,288 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:04,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log zero 12:44:04,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,288 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 12:44:04,288 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:44:04,288 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:44:04,289 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log zero 12:44:04,289 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 12:44:04,289 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 1 12:44:04,289 AM [test-akka.actor.default-dispatcher-16] [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] 12:44:04,289 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 1 12:44:04,289 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 0, nextIndex: 1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower748 12:44:04,289 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower747, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:04,289 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 0, nextIndex: 1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower747 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 0 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from -1 to 0 12:44:04,289 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 0 data zero 12:44:04,289 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:04,290 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: zero 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [01/21/2025 00:44:04.290] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@594f7ad6 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log one 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,290 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=0 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 12:44:04,290 AM [test-akka.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] 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:44:04,290 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 12:44:04,290 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [01/21/2025 00:44:04.290] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower747] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@271a201 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log one 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 2 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower747, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:44:04,290 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 1, nextIndex: 2 12:44:04,290 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from -1 to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 0 data zero 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: zero 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:44:04,291 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=0 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from -1 to 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 0 data zero 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: zero 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 1 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 0 to 1 12:44:04,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=0 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 1 data one 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: one 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: fakeSnapshot purging log to 0 for term 1 12:44:04,291 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=1 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 0 to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 1 data one 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 0 to 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 1 data one 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: one 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: one 12:44:04,471 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 0 for term 1 12:44:04,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 0 for term 1 12:44:04,472 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=1 12:44:04,472 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=1 12:44:04,489 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:44:04,489 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 12:44:04,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:04,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:04,489 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:44:04,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,490 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:04,590 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:44:04,590 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,590 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:44:04,590 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:44:04,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:44:04,711 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,831 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:44:04,831 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:04,831 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:44:04,831 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:05,431 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: At least 1 followers need to be active, Switching leader746 from Leader to IsolatedLeader 12:44:05,431 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Election: Leader has following peers: [follower748, follower747] 12:44:05,431 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,431 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,431 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:44:05,445 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower747 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Received TimeoutNow - switching to Candidate 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Election: Candidate has following voting peers: [follower748, leader746] 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=2, votedFor=follower747 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Starting new election term 2 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer follower748 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer leader746 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:05,445 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=null 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=follower747 12:44:05,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:44:05,446 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:44:05,446 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:44:05,446 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Election: Leader has following peers: [follower748, leader746] 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:44:05,447 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader follower747, need to catch up to -1 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 [WARN] [01/21/2025 00:44:05.447] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@48770361 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:44:05,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) [WARN] [01/21/2025 00:44:05.447] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@783c1cb4 12:44:05,495 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 2 is present for follower follower748 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=follower747, 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]]] 12:44:05,495 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=follower747, 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]]] 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log two-new 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower748, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 2, nextIndex: 3 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:44:05,496 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Setting last applied to 2 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 1 to 2 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 2 data two-new 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: two-new 12:44:05,496 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=2 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 2 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 2 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 1 to 2 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 2 data two-new 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: two-new 12:44:05,681 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=2 12:44:05,697 AM [main] [INFO] IsolationScenarioTest - Removing isolation 12:44:05,791 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cannot append entries because sender's term 1 is less than 2 12:44:05,791 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Cannot append entries because sender's term 1 is less than 2 12:44:05,791 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (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 12:44:05,791 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=2, votedFor=null 12:44:05,791 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:44:05,801 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader746: Last sync leader does not match current leader follower747, need to catch up to -1 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply: follower leader746 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 [WARN] [01/21/2025 00:44:05.801] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader746] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d95d5de 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 1 is present for follower leader746 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Sending AppendEntries to follower leader746: AppendEntries [leaderId=follower747, 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]]] 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): handleAppendEntries: AppendEntries [leaderId=follower747, 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]]] 12:44:05,801 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Number of entries to be appended = 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Append entry to log two-new 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Log size is now 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Commit index set to 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader746, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader746: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Setting last applied to 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 1 to 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader746 updated: matchIndex: 2, nextIndex: 3 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 2 data two-new 12:44:05,802 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 1 for term 2 12:44:05,802 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:44:05,802 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: two-new 12:44:05,803 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:44:05,803 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=2 [WARN] [01/21/2025 00:44:05.803] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader746] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f5f1017 12:44:05,848 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 12:44:05,848 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower747-notifier749#1227870018] 12:44:05,859 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower747-collector750#-1082154036] 12:44:05,859 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower747] 12:44:05,860 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower748-collector751#835922791] 12:44:05,860 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower748] 12:44:05,860 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader746-notifier752#-481996440] 12:44:05,860 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader746-collector753#-1400782801] 12:44:05,860 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader746] 12:44:05,861 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 12:44:05,861 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [01/21/2025 00:44:05.863] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower755]: org.opendaylight.controller.cluster.common.actor.Monitor@53837008 12:44:05,863 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower755 with journal batch size 1000 [WARN] [01/21/2025 00:44:05.864] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower756]: org.opendaylight.controller.cluster.common.actor.Monitor@4e0c5b32 12:44:05,865 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:44:05,865 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower756 with journal batch size 1000 12:44:05,866 AM [test-akka.actor.default-dispatcher-11] [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] [01/21/2025 00:44:05.867] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader754]: org.opendaylight.controller.cluster.common.actor.Monitor@58be357c 12:44:05,867 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader754 with journal batch size 1000 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Received TimeoutNow - switching to Candidate 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Election: Candidate has following voting peers: [follower755, follower756] 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=1, votedFor=leader754 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Starting new election term 1 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower755 12:44:05,868 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower756 12:44:05,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:05,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Cluster state: [] 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 12:44:05,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:44:05,868 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:44:05,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=null 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=null 12:44:05,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:44:05,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=leader754 12:44:05,869 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:44:05,869 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=leader754 12:44:05,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:44:05,869 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Election: Leader has following peers: [follower755, follower756] 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:05,869 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:44:05,869 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader leader754, need to catch up to -1 12:44:05,869 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower755: Last sync leader does not match current leader leader754, need to catch up to -1 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/21/2025 00:44:05.870] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower756] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26bf3280 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:44:05.870] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower755] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e00a3fb 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: -1, nextIndex: 0 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:44:05,870 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower755 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower756 12:44:05,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:05,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:05,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 12:44:05,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:44:05,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log zero 12:44:05,870 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log zero 12:44:05,870 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,871 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 1 12:44:05,871 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 1 12:44:05,871 AM [test-akka.actor.default-dispatcher-11] [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] 12:44:05,871 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 12:44:05,871 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower755, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:05,871 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 0, nextIndex: 1 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 0, nextIndex: 1 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:44:05,871 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 0 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from -1 to 0 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 0 data zero [WARN] [01/21/2025 00:44:05.871] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower755] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ddb62c [WARN] [01/21/2025 00:44:05.871] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower756] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1024c314 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: zero 12:44:05,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=0 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Commit index set to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Setting last applied to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from -1 to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 0 data zero 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: zero 12:44:05,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=0 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from -1 to 0 12:44:05,981 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 0 data zero 12:44:05,982 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: zero 12:44:05,982 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=0 12:44:06,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower755 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower756 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log one 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log one 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 2 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 2 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower755, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [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] 12:44:06,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:44:06,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 1, nextIndex: 2 12:44:06,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 12:44:06,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,23 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,23 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,23 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:44:06,23 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 1 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 0 to 1 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 1 data one 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: one 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: fakeSnapshot purging log to 0 for term 1 12:44:06,24 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=1 12:44:06,24 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:44:06,24 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:44:06,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:44:06,25 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 7 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader754, ServerConfigPayload=null] 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 7 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 12:44:06,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 12:44:06,27 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 12:44:06,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:44:06,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, 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]]] 12:44:06,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:44:06,221 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, 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]]] 12:44:06,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:44:06,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, 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]]] 12:44:06,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:44:06,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, 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]]] 12:44:06,460 AM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: At least 1 followers need to be active, Switching leader754 from Leader to IsolatedLeader 12:44:06,460 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Election: Leader has following peers: [follower755, follower756] 12:44:06,460 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:44:06,460 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:44:06,461 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:44:06,477 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower755 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Received TimeoutNow - switching to Candidate 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Election: Candidate has following voting peers: [leader754, follower756] 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=2, votedFor=follower755 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Starting new election term 2 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer leader754 12:44:06,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer follower756 12:44:06,478 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=null 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=follower755 12:44:06,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Election: Leader has following peers: [leader754, follower756] 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,479 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,479 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader follower755, need to catch up to -1 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:44:06,480 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging -1 entries behind leader follower755 and reached 0 (of expected -1) 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, 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@125a6446]]] [WARN] [01/21/2025 00:44:06.480] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower756] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@345a83a5 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 [WARN] [01/21/2025 00:44:06.480] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower756] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6b59e3c9 12:44:06,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, 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@125a6446]]] 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 3 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 0 (of expected -1) 12:44:06,480 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 2, nextIndex: 3 12:44:06,480 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:44:06,480 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 1 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 0 to 1 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 1 data one 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: one 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 1 to 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Election: Leader has following peers: [leader754, follower756] 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 1 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 0 to 1 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 1 data one 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: one 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 1 to 2 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:44:06,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=2 12:44:06,527 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 12:44:06,527 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,527 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,527 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 12:44:06,527 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, 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]]] 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, 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]]] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log two-new 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 4 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 3, nextIndex: 4 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 4 is present for follower follower756 12:44:06,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, 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], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:44:06,528 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 3 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 2 to 3 12:44:06,528 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 3 data two-new 12:44:06,528 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, 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], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 2 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: two-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log three-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=3 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log four-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 6 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,529 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 5, nextIndex: 6 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 4 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 3 to 4 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 4 data three-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: three-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=4 12:44:06,529 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 5 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,529 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 4 to 5 12:44:06,529 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 5 data four-new 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 4 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 4 (of expected -1) 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 2, lastIndex(): 5 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 3 12:44:06,529 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 2 to 3 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 3 data two-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: four-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: two-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 4 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 3 to 4 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 4 data three-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: three-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=4 12:44:06,530 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=5 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 5 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 5 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 4 to 5 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 5 data four-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: four-new 12:44:06,530 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=5 12:44:06,578 AM [main] [INFO] IsolationScenarioTest - Removing isolation 12:44:06,580 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Cannot append entries because sender's term 1 is less than 2 12:44:06,581 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cannot append entries because sender's term 1 is less than 2 12:44:06,581 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower756, 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 12:44:06,581 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=2, votedFor=null 12:44:06,581 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:44:06,601 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Last sync leader does not match current leader follower755, need to catch up to -1 12:44:06,601 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply: follower leader754 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 12:44:06,601 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,601 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower leader754 12:44:06,601 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower leader754: AppendEntries [leaderId=follower755, 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]]] [WARN] [01/21/2025 00:44:06.601] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@23c088e7 12:44:06,601 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, 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]]] 12:44:06,601 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (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 12:44:06,601 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader754, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,601 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 4 entries behind leader follower755 and reached 1 (of expected -1) [WARN] [01/21/2025 00:44:06.601] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@106b0bac 12:44:06,601 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader754, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): follower leader754 last log term 1 conflicts with the leader's 2 - dec next index to 2 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 2 is present for follower leader754 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower leader754: AppendEntries [leaderId=follower755, 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@125a6446], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, 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@125a6446], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Number of entries to be appended = 4 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] is present: existingEntryTerm: 1 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log two-new 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log three-new 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log four-new 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Log size is now 4 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Commit index set to 5 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader754, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 2 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 1 to 2 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 3 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 2 to 3 12:44:06,602 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 3 data two-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: two-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 4 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 3 to 4 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 4 data three-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: three-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 5 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 4 to 5 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 5 data four-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: four-new 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader754 updated: matchIndex: 5, nextIndex: 6 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: fakeSnapshot purging log to 4 for term 2 12:44:06,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@125a6446] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 14 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=5 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: 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] 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 12:44:06,604 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 12:44:06,604 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 12:44:06,605 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 14 12:44:06,605 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 12:44:06,605 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 12:44:06,606 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 12:44:06,721 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,721 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: fakeSnapshot purging log to 4 for term 2 12:44:06,721 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,841 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,841 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,961 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:06,961 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,81 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,201 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,321 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,321 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,441 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,561 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,561 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,680 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,681 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,801 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,801 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,921 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:07,921 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,41 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,161 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,161 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,281 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,281 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,400 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,400 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,520 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,640 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,761 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,881 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:08,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,1 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,1 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,121 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,121 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,241 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,241 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,361 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,361 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,481 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,601 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,721 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,721 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,840 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,960 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:09,961 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,80 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,80 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,200 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,200 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,321 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,321 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,441 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,441 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,561 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,561 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,681 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,681 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,801 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,801 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,920 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:10,920 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,40 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,150 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,270 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,271 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,390 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,390 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,510 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,510 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,630 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:44:11,652 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 12:44:11,652 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower755-notifier757#1434184907] 12:44:11,663 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower755-collector758#-1873484763] 12:44:11,663 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower755] 12:44:11,663 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower756-collector759#-1501784087] 12:44:11,664 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower756] 12:44:11,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader754-notifier760#1707467930] 12:44:11,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader754-collector761#1158713205] 12:44:11,664 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader754] [INFO] [01/21/2025 00:44:11.665] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:44:11,666 AM [test-akka.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/21/2025 00:44:11.666] [test-akka.actor.default-dispatcher-16] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.224:25520) 12:44:11,668 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Exiting completed 12:44:11,668 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Shutting down... 12:44:11,668 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Successfully shut down 12:44:11,668 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 12:44:11,669 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/21/2025 00:44:11.667] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Exiting completed [INFO] [01/21/2025 00:44:11.667] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Shutting down... [INFO] [01/21/2025 00:44:11.667] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Successfully shut down [INFO] [01/21/2025 00:44:11.668] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.224:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [01/21/2025 00:44:11.669] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.224:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/21/2025 00:44:11.670] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.224:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [01/21/2025 00:44:11.671] [test-akka.actor.internal-dispatcher-10] [EventStream] shutting down: StandardOutLogger 12:44:11,671 AM [test-akka.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.