[DEBUG] [08/19/2024 01:11:35.169] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:11:35,169 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/19/2024 01:11:35.169] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [08/19/2024 01:11:35.169] [main] [EventStream(akka://test)] Default Loggers started 01:11:35,180 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.178:25520] with UID [6095370865983299552] [INFO] [08/19/2024 01:11:35.179] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.178:25520] with UID [6095370865983299552] [INFO] [08/19/2024 01:11:35.180] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Starting up, Akka version [2.6.21] ... 01:11:35,180 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Starting up, Akka version [2.6.21] ... 01:11:35,183 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:11:35,183 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Started up successfully 01:11:35,183 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:11:35,183 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [08/19/2024 01:11:35.182] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [08/19/2024 01:11:35.182] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Started up successfully [INFO] [08/19/2024 01:11:35.183] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [08/19/2024 01:11:35.183] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:11:35,190 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 01:11:35,190 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting 01:11:35,192 AM [test-akka.actor.default-dispatcher-5] [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'. [WARN] [08/19/2024 01:11:35.192] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower739]: org.opendaylight.controller.cluster.common.actor.Monitor@7eaf49e6 [INFO] [akkaDeadLetter][08/19/2024 01:11:35.192] [test-akka.actor.default-dispatcher-5] [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'. 01:11:35,194 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower739 with journal batch size 1000 [WARN] [08/19/2024 01:11:35.194] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@110f8eb0 [INFO] [akkaDeadLetter][08/19/2024 01:11:35.194] [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'. 01:11:35,195 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'. 01:11:35,195 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 01:11:35,199 AM [test-akka.actor.default-dispatcher-6] [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 01:11:35,199 AM [test-akka.actor.default-dispatcher-5] [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 [WARN] [08/19/2024 01:11:35.296] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@244fad10 01:11:35,296 AM [test-akka.actor.default-dispatcher-12] [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'. [INFO] [akkaDeadLetter][08/19/2024 01:11:35.296] [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'. 01:11:35,296 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 01:11:35,297 AM [test-akka.actor.default-dispatcher-5] [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 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received TimeoutNow - switching to Candidate 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [follower739, follower740] 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 1 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower739 01:11:35,298 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:35,299 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. 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Cluster state: [] 01:11:35,299 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. 01:11:35,299 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 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=null 01:11:35,299 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 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=leader738 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [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 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=leader738 01:11:35,299 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [follower739, follower740] 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:35,301 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:11:35,301 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower739: Last sync leader does not match current leader leader738, need to catch up to -1 01:11:35,301 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] [08/19/2024 01:11:35.302] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@60d7bd4f [INFO] [akkaDeadLetter][08/19/2024 01:11:35.302] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] 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'. [WARN] [08/19/2024 01:11:35.302] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17b0954e 01:11:35,302 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: -1, nextIndex: 0 01:11:35,303 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:35,303 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 01:11:35,303 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][08/19/2024 01:11:35.303] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] 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'. 01:11:35,303 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] 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'. 01:11:35,303 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. [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'. 01:11:35,351 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:11:35,351 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,351 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower739 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower740 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log zero 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log zero 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 1 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:35,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 01:11:35,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 0, nextIndex: 1 01:11:35,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:35,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 0, nextIndex: 1 01:11:35,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:35,353 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,353 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:35,353 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 0 01:11:35,353 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 0 01:11:35,353 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 0 data zero 01:11:35,354 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:35,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/19/2024 01:11:35.354] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@23d79b3e [INFO] [akkaDeadLetter][08/19/2024 01:11:35.354] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] 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'. 01:11:35,354 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. [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'. 01:11:35,354 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: zero 01:11:35,354 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:35.354] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1aa88a44 [INFO] [akkaDeadLetter][08/19/2024 01:11:35.354] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] 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'. 01:11:35,354 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] 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'. 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from -1 to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to 0 01:11:35,539 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 0 data zero 01:11:35,539 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 0 data zero 01:11:35,540 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: zero 01:11:35,540 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=0 01:11:35,540 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: zero 01:11:35,540 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=0 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower739 01:11:35,555 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log one 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 2 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:35,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:11:35,556 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:35,556 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower740 01:11:35,556 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log one 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 2 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:11:35,556 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,556 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,558 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 1, nextIndex: 2 01:11:35,558 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 1 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 0 to 1 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 1 data one 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: one 01:11:35,559 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 0 for term 1 01:11:35,560 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=1 01:11:35,606 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:11:35,606 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:11:35,606 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:35,606 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:35,606 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:35,606 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 01:11:35,606 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:11:35,606 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]]] 01:11:35,607 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 01:11:35,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:11:35,607 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]]] 01:11:35,608 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:35,659 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:11:35,659 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:11:35,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:11:35,779 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]]] 01:11:35,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:11:35,779 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]]] 01:11:35,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:11:35,899 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:35,899 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:11:35,899 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:36,499 AM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: At least 1 followers need to be active, Switching leader738 from Leader to IsolatedLeader 01:11:36,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Election: Leader has following peers: [follower740, follower739] 01:11:36,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:36,500 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:36,500 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:11:36,513 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower739 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Received TimeoutNow - switching to Candidate 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Election: Candidate has following voting peers: [follower740, leader738] 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=2, votedFor=follower739 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Starting new election term 2 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer follower740 01:11:36,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer leader738 01:11:36,514 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 01:11:36,515 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [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 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=null 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=follower739 01:11:36,515 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Election: Leader has following peers: [follower740, leader738] 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:11:36,516 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader follower739, need to catch up to -1 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] [WARN] [08/19/2024 01:11:36.516] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c9f94ea 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true [INFO] [akkaDeadLetter][08/19/2024 01:11:36.516] [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. [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'. 01:11:36,516 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'. 01:11:36,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,517 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging -1 entries behind leader follower739 and reached 0 (of expected -1) [WARN] [08/19/2024 01:11:36.517] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6033bbed [INFO] [akkaDeadLetter][08/19/2024 01:11:36.517] [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'. 01:11:36,517 AM [test-akka.actor.default-dispatcher-12] [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'. 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [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 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [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@4f06006d]]] 01:11:36,517 AM [test-akka.actor.default-dispatcher-12] [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 01:11:36,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 01:11:36,517 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,517 AM [test-akka.actor.default-dispatcher-16] [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@4f06006d]]] 01:11:36,517 AM [test-akka.actor.default-dispatcher-12] [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 01:11:36,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:11:36,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:36,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:36,519 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 3 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [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] 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 0 (of expected -1) 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 2, nextIndex: 3 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [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 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 1 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 0 to 1 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 1 data one 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: one 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 1 to 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 1 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 0 to 1 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 1 data one 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: one 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 1 to 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:36,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=2 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Election: Leader has following peers: [follower740, leader738] 01:11:36,520 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,521 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:36,521 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:11:36,521 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=2 01:11:36,521 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 01:11:36,565 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:11:36,565 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,565 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,565 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 01:11:36,565 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:36,565 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 3 is present for follower follower740 01:11:36,566 AM [test-akka.actor.default-dispatcher-17] [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]]] 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log two-new 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 4 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [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] 01:11:36,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 01:11:36,567 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 3, nextIndex: 4 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Setting last applied to 3 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 2 to 3 01:11:36,567 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 3 data two-new 01:11:36,568 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: two-new 01:11:36,568 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=3 01:11:36,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 3 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 3 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 2 to 3 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 3 data two-new 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: two-new 01:11:36,750 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=3 01:11:36,766 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:11:36,860 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Cannot append entries because sender's term 1 is less than 2 01:11:36,860 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower739, 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 01:11:36,860 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=2, votedFor=null 01:11:36,860 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:11:36,860 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cannot append entries because sender's term 1 is less than 2 01:11:36,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:36,870 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 [WARN] [08/19/2024 01:11:36.870] [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@74c83011 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [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 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 1 is present for follower leader738 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [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@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [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@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Number of entries to be appended = 3 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] is present: existingEntryTerm: 1 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log two-new 01:11:36,870 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Log size is now 3 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Commit index set to 3 [INFO] [akkaDeadLetter][08/19/2024 01:11:36.870] [test-akka.actor.default-dispatcher-16] [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'. 01:11:36,871 AM [test-akka.actor.default-dispatcher-17] [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'. 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 2 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 1 to 2 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 3 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 3 data two-new 01:11:36,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader738 updated: matchIndex: 3, nextIndex: 4 01:11:36,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: fakeSnapshot purging log to 2 for term 2 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: two-new 01:11:36,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:36,871 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: lastSequenceNumber prior to capture: 10 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=3 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: CaptureSnapshotReply received by actor 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:36,872 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [08/19/2024 01:11:36.872] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader738] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6a04b960 01:11:36,872 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 01:11:36,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Snapshot success - sequence number: 10 01:11:36,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotComplete received 01:11:36,873 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a snapshot response 01:11:36,873 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a journal response 01:11:36,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:36,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:36,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: fakeSnapshot purging log to 2 for term 2 01:11:36,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 2 for term 2 01:11:37,109 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,229 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,229 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,349 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,590 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,590 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,710 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,710 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,830 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,830 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,949 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:37,950 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,70 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,190 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,190 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,310 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,310 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,429 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,429 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,549 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,549 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,669 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,670 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,790 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,790 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,909 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:38,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,29 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,29 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,149 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,270 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,270 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,389 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,509 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,509 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,630 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,749 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,749 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,870 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,870 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:39,989 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,110 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,110 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,230 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,349 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,590 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,590 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,710 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,710 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,829 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,830 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,949 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:40,949 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,70 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,310 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,310 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,430 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,430 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,549 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,549 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,669 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,669 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,789 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,789 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:11:41,946 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 01:11:41,946 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower739-notifier741#1102066704] 01:11:41,958 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower739-collector742#-1984606267] 01:11:41,958 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower739] 01:11:41,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower740-collector743#-801879518] 01:11:41,959 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower740] 01:11:41,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-notifier744#-1665034086] 01:11:41,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-collector745#1658966769] 01:11:41,959 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader738] 01:11:41,960 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 01:11:41,960 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting 01:11:41,963 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower747 with journal batch size 1000 [WARN] [08/19/2024 01:11:41.963] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower747]: org.opendaylight.controller.cluster.common.actor.Monitor@3ebbab67 01:11:41,965 AM [test-akka.actor.default-dispatcher-17] [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] [08/19/2024 01:11:41.966] [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@3ff4202b 01:11:41,967 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower748 with journal batch size 1000 01:11:41,968 AM [test-akka.actor.default-dispatcher-16] [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] [08/19/2024 01:11:42.068] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader746]: org.opendaylight.controller.cluster.common.actor.Monitor@744b3ee9 01:11:42,69 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader746 with journal batch size 1000 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [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 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Received TimeoutNow - switching to Candidate 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Election: Candidate has following voting peers: [follower748, follower747] 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=1, votedFor=leader746 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Starting new election term 1 01:11:42,70 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower748 01:11:42,71 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower747 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [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 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=null 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Cluster state: [] 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [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 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=null 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=leader746 01:11:42,71 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=leader746 01:11:42,71 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:42,71 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Election: Leader has following peers: [follower748, follower747] 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:42,72 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:11:42,72 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader leader746, need to catch up to -1 01:11:42,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower747: Last sync leader does not match current leader leader746, need to catch up to -1 [WARN] [08/19/2024 01:11:42.073] [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@207f72bd [WARN] [08/19/2024 01:11:42.073] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower747] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@113f58a6 01:11:42,73 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: -1, nextIndex: 0 01:11:42,73 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:42,73 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: -1, nextIndex: 0 01:11:42,73 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:42,73 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,74 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:11:42,74 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,74 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 01:11:42,74 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log zero 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:42,74 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 01:11:42,74 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:11:42,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 01:11:42,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:42,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log zero 01:11:42,74 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,75 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 1 01:11:42,75 AM [test-akka.actor.default-dispatcher-5] [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] 01:11:42,75 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 0, nextIndex: 1 01:11:42,75 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower747 01:11:42,75 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,75 AM [test-akka.actor.default-dispatcher-18] [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] 01:11:42,75 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 0, nextIndex: 1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower748 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 0 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from -1 to 0 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 0 data zero 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: zero [WARN] [08/19/2024 01:11:42.075] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower747] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@285a8f70 01:11:42,75 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:42,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 01:11:42,75 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=0 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log one 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 2 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:42,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 1, nextIndex: 2 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:42,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 1 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 0 to 1 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 1 data one 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [08/19/2024 01:11:42.076] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5fa7fd4 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: one 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 0 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: fakeSnapshot purging log to 0 for term 1 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 0 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from -1 to 0 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 0 data zero 01:11:42,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=1 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: zero 01:11:42,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=0 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 0 to 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 1 data one 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: one 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 0 for term 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=1 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log one 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 01:11:42,77 AM [test-akka.actor.default-dispatcher-16] [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] 01:11:42,78 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:11:42,78 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 01:11:42,78 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:11:42,78 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 1 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 0 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from -1 to 0 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 0 data zero 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: zero 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 1 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 0 to 1 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 1 data one 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: one 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 0 for term 1 01:11:42,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=1 01:11:42,124 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:11:42,124 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:11:42,124 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:42,124 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:42,124 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:42,125 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:42,125 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:11:42,125 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]]] 01:11:42,125 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:42,125 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:11:42,125 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]]] 01:11:42,126 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:42,189 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:11:42,189 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:11:42,309 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:11:42,309 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,309 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:11:42,309 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,429 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:11:42,429 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]]] 01:11:42,430 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:11:42,430 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]]] 01:11:42,669 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 01:11:42,669 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Election: Leader has following peers: [follower748, follower747] 01:11:42,669 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 01:11:42,669 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 01:11:42,669 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:11:42,681 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower747 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Received TimeoutNow - switching to Candidate 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Election: Candidate has following voting peers: [follower748, leader746] 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=2, votedFor=follower747 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Starting new election term 2 01:11:42,681 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer follower748 01:11:42,681 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [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 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=null 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=follower747 01:11:42,682 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:11:42,682 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer leader746 01:11:42,682 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Election: Leader has following peers: [follower748, leader746] 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader follower747, need to catch up to -1 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [08/19/2024 01:11:42.683] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b2d9dd0 01:11:42,683 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) [WARN] [08/19/2024 01:11:42.683] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower748] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72663296 01:11:42,732 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 2 is present for follower follower748 01:11:42,732 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:42,733 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]]] 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log two-new 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 01:11:42,733 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] 01:11:42,733 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) 01:11:42,733 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:42,734 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 2, nextIndex: 3 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Setting last applied to 2 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 1 to 2 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 2 data two-new 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: two-new 01:11:42,734 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=2 01:11:42,919 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 2 01:11:42,919 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 2 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 1 to 2 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 2 data two-new 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: two-new 01:11:42,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=2 01:11:42,933 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:11:43,30 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cannot append entries because sender's term 1 is less than 2 01:11:43,30 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Cannot append entries because sender's term 1 is less than 2 01:11:43,30 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower747, 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 01:11:43,30 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=2, votedFor=null 01:11:43,30 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader746: Last sync leader does not match current leader follower747, need to catch up to -1 01:11:43,40 AM [test-akka.actor.default-dispatcher-18] [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 01:11:43,40 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:11:43,40 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 1 is present for follower leader746 01:11:43,40 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Number of entries to be appended = 2 [WARN] [08/19/2024 01:11:43.040] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader746] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@331e248c 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Append entry to log two-new 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Log size is now 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Commit index set to 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [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] 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader746: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Setting last applied to 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 1 to 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 2 data two-new 01:11:43,40 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader746 updated: matchIndex: 2, nextIndex: 3 01:11:43,40 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 1 for term 2 01:11:43,40 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: two-new 01:11:43,41 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:11:43,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:11:43,41 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:11:43,41 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=2 [WARN] [08/19/2024 01:11:43.042] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader746] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@650ad230 01:11:43,85 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 01:11:43,85 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower747-notifier749#447702436] 01:11:43,96 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower747-collector750#-1187593707] 01:11:43,96 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower747] 01:11:43,96 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower748-collector751#-1915964114] 01:11:43,96 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower748] 01:11:43,96 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader746-notifier752#1643327906] 01:11:43,97 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader746-collector753#1561965424] 01:11:43,97 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader746] 01:11:43,98 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 01:11:43,98 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [08/19/2024 01:11:43.100] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower755]: org.opendaylight.controller.cluster.common.actor.Monitor@5161331d 01:11:43,100 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower755 with journal batch size 1000 01:11:43,101 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 [WARN] [08/19/2024 01:11:43.102] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower756]: org.opendaylight.controller.cluster.common.actor.Monitor@2848a3ab 01:11:43,103 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower756 with journal batch size 1000 01:11:43,104 AM [test-akka.actor.default-dispatcher-6] [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] [08/19/2024 01:11:43.107] [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@433fbc28 01:11:43,107 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader754 with journal batch size 1000 01:11:43,108 AM [test-akka.actor.default-dispatcher-6] [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 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Received TimeoutNow - switching to Candidate 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Election: Candidate has following voting peers: [follower755, follower756] 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=1, votedFor=leader754 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Starting new election term 1 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower755 01:11:43,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower756 01:11:43,109 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. 01:11:43,109 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:43,109 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 01:11:43,109 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Cluster state: [] 01:11:43,109 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:43,109 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:43,109 AM [test-akka.actor.default-dispatcher-11] [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 01:11:43,109 AM [test-akka.actor.default-dispatcher-12] [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 01:11:43,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=null 01:11:43,110 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=null 01:11:43,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:43,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=leader754 01:11:43,110 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:43,110 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=leader754 01:11:43,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:43,110 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:43,110 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:43,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:43,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Election: Leader has following peers: [follower755, follower756] 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:11:43,111 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower755: Last sync leader does not match current leader leader754, need to catch up to -1 01:11:43,111 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader leader754, need to catch up to -1 [WARN] [08/19/2024 01:11:43.111] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower755] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@31486a13 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: -1, nextIndex: 0 01:11:43,111 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: -1, nextIndex: 0 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:43.111] [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@574df1cd 01:11:43,111 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower755 01:11:43,111 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:11:43,112 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:43,112 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower756 01:11:43,112 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log zero 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 1 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [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] 01:11:43,112 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 0, nextIndex: 1 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 0 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from -1 to 0 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 0 data zero 01:11:43,112 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,112 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: zero [WARN] [08/19/2024 01:11:43.112] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower755] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2fbf76f0 01:11:43,112 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:43,112 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:11:43,112 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:43,112 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log zero 01:11:43,112 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:43,113 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 1 01:11:43,113 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:43,113 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=0 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 0, nextIndex: 1 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/19/2024 01:11:43.113] [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@62526a00 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 0 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 0 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from -1 to 0 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 0 data zero 01:11:43,113 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: zero 01:11:43,114 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=0 01:11:43,230 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Commit index set to 0 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Setting last applied to 0 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from -1 to 0 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 0 data zero 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: zero 01:11:43,230 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=0 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower755 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower756 01:11:43,264 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:43,264 AM [test-akka.actor.default-dispatcher-15] [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]]] 01:11:43,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log one 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log one 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 2 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:43,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 2 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [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] 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:11:43,265 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 1, nextIndex: 2 01:11:43,265 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,265 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 01:11:43,265 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,266 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 1 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 0 to 1 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 1 data one 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: one 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: fakeSnapshot purging log to 0 for term 1 01:11:43,266 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=1 01:11:43,315 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:11:43,315 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:11:43,316 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]]] 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:11:43,316 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]]] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:11:43,316 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 01:11:43,316 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:11:43,317 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 7 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:43,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 7 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 01:11:43,320 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 01:11:43,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 01:11:43,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:11:43,470 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]]] 01:11:43,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:11:43,470 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]]] 01:11:43,589 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:11:43,589 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:11:43,589 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:11:43,589 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:11:43,709 AM [test-akka.actor.default-dispatcher-6] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: At least 1 followers need to be active, Switching leader754 from Leader to IsolatedLeader 01:11:43,709 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Election: Leader has following peers: [follower755, follower756] 01:11:43,709 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:11:43,709 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:11:43,709 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:11:43,719 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower755 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Received TimeoutNow - switching to Candidate 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Election: Candidate has following voting peers: [leader754, follower756] 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=2, votedFor=follower755 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Starting new election term 2 01:11:43,719 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 01:11:43,719 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 01:11:43,719 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:43,719 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [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 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=null 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=follower755 01:11:43,720 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Election: Leader has following peers: [leader754, follower756] 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:11:43,721 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader follower755, need to catch up to -1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 [WARN] [08/19/2024 01:11:43.721] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower756] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@23cd60b0 01:11:43,721 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging -1 entries behind leader follower755 and reached 0 (of expected -1) 01:11:43,721 AM [test-akka.actor.default-dispatcher-15] [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 01:11:43,722 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,722 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 01:11:43,722 AM [test-akka.actor.default-dispatcher-15] [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@4f06006d]]] [WARN] [08/19/2024 01:11:43.722] [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@6b8deebf 01:11:43,722 AM [test-akka.actor.default-dispatcher-15] [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 01:11:43,722 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [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@4f06006d]]] 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 3 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [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] 01:11:43,722 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 0 (of expected -1) 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 2, nextIndex: 3 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [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 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [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 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 1 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 0 to 1 01:11:43,722 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 1 data one 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: one 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 1 to 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:43,723 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Election: Leader has following peers: [leader754, follower756] 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 1 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 0 to 1 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 1 data one 01:11:43,723 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: one 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 1 to 2 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:43,723 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=2 01:11:43,769 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 01:11:43,769 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,769 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [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]]] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log two-new 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 4 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [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] 01:11:43,770 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 3, nextIndex: 4 01:11:43,770 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 4 is present for follower follower756 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [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]]] 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 3 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 2 to 3 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 3 data two-new 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: two-new 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 2 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log three-new 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,771 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=3 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log four-new 01:11:43,771 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,772 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 6 01:11:43,772 AM [test-akka.actor.default-dispatcher-6] [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] 01:11:43,772 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 5, nextIndex: 6 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 3 to 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 4 data three-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: three-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:11:43,772 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=4 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 4 to 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 5 data four-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 4 (of expected -1) 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: four-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 2, lastIndex(): 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 3 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 2 to 3 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 3 data two-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: two-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 3 to 4 01:11:43,772 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 4 data three-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: three-new 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 4 to 5 01:11:43,772 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 5 data four-new 01:11:43,773 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: four-new 01:11:43,773 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=4 01:11:43,773 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=5 01:11:43,820 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:11:43,829 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Cannot append entries because sender's term 1 is less than 2 01:11:43,829 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cannot append entries because sender's term 1 is less than 2 01:11:43,829 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower755, 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 01:11:43,830 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=2, votedFor=null 01:11:43,830 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:11:43,839 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Last sync leader does not match current leader follower755, need to catch up to -1 01:11:43,839 AM [test-akka.actor.default-dispatcher-6] [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 01:11:43,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:11:43,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower leader754 01:11:43,839 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:11:43,840 AM [test-akka.actor.default-dispatcher-15] [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]]] [WARN] [08/19/2024 01:11:43.840] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@23f8e90b 01:11:43,840 AM [test-akka.actor.default-dispatcher-15] [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 01:11:43,840 AM [test-akka.actor.default-dispatcher-15] [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] 01:11:43,840 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 4 entries behind leader follower755 and reached 1 (of expected -1) [WARN] [08/19/2024 01:11:43.840] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7622bc1a 01:11:43,840 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 01:11:43,840 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 01:11:43,840 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 01:11:43,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 2 is present for follower leader754 01:11:43,840 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@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:11:43,841 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@4f06006d], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Number of entries to be appended = 4 01:11:43,841 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@4f06006d] is present: existingEntryTerm: 1 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d 01:11:43,841 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@4f06006d] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log two-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log three-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log four-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Log size is now 4 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Commit index set to 5 01:11:43,841 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] 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 2 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 1 to 2 01:11:43,841 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@4f06006d 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 3 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 2 to 3 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 3 data two-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader754 updated: matchIndex: 5, nextIndex: 6 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: two-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 4 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 3 to 4 01:11:43,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: fakeSnapshot purging log to 4 for term 2 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 4 data three-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: three-new 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 5 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 4 to 5 01:11:43,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 5 data four-new 01:11:43,842 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: four-new 01:11:43,842 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 01:11:43,842 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@4f06006d] 01:11:43,842 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:11:43,843 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:11:43,843 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:11:43,843 AM [test-akka.actor.default-dispatcher-18] [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] 01:11:43,843 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 14 01:11:43,843 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=5 01:11:43,843 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [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] 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 14 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 01:11:43,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 01:11:43,844 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 01:11:43,960 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:43,960 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: fakeSnapshot purging log to 4 for term 2 01:11:43,960 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,80 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,80 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,200 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,200 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,319 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,440 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,440 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,559 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,559 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,680 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,800 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,800 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,919 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:44,919 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,40 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,40 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,160 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,160 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,280 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,280 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,399 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,519 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,519 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,640 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,640 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,760 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,760 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,880 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:45,880 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,0 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,0 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,119 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,240 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,359 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,359 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,480 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,600 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,600 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,839 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,959 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:46,959 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,80 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,199 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,199 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,320 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,440 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,560 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,560 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,679 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,679 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,800 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,800 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:47,920 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,40 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,40 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,160 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,160 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,279 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,399 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,399 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,640 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,641 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,759 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,880 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,880 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:11:48,940 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 01:11:48,940 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower755-notifier757#-876095459] 01:11:48,942 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower755-collector758#-17194904] 01:11:48,942 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower755] 01:11:48,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower756-collector759#-2143084214] 01:11:48,943 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower756] 01:11:48,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader754-notifier760#1799298712] 01:11:48,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader754-collector761#36445031] 01:11:48,943 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader754] 01:11:48,945 AM [test-akka.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [08/19/2024 01:11:48.945] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/19/2024 01:11:48.946] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.178:25520) [INFO] [08/19/2024 01:11:48.946] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Exiting completed [INFO] [08/19/2024 01:11:48.946] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Shutting down... 01:11:48,947 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Exiting completed 01:11:48,947 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Shutting down... [INFO] [08/19/2024 01:11:48.947] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Successfully shut down 01:11:48,949 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Successfully shut down [INFO] [08/19/2024 01:11:48.951] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.178:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [08/19/2024 01:11:48.951] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.178:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:11:48,951 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:11:48,952 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.