[DEBUG] [11/12/2024 23:09:52.291] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:09:52,302 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/12/2024 23:09:52.304] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [11/12/2024 23:09:52.304] [main] [EventStream(akka://test)] Default Loggers started [INFO] [11/12/2024 23:09:52.847] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.42:25520] with UID [3080862024730027620] 11:09:52,850 PM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.42:25520] with UID [3080862024730027620] [INFO] [11/12/2024 23:09:52.871] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Starting up, Akka version [2.6.21] ... 11:09:52,871 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Starting up, Akka version [2.6.21] ... [INFO] [11/12/2024 23:09:52.954] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [11/12/2024 23:09:52.955] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Started up successfully 11:09:52,961 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:09:52,961 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Started up successfully [INFO] [11/12/2024 23:09:52.989] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [11/12/2024 23:09:52.989] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:09:52,993 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:09:52,993 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:09:53,293 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 11:09:53,293 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [11/12/2024 23:09:53.366] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower2]: org.opendaylight.controller.cluster.common.actor.Monitor@6f2d68c2 [INFO] [akkaDeadLetter][11/12/2024 23:09:53.370] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:53,389 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,204 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower2 with journal batch size 1000 [WARN] [11/12/2024 23:09:54.221] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [11/12/2024 23:09:54.221] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) 11:09:54,222 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,223 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,223 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,223 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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][11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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][11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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][11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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][11/12/2024 23:09:54.222] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,273 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/12/2024 23:09:54.311] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower3]: org.opendaylight.controller.cluster.common.actor.Monitor@7d6a2d3b [INFO] [akkaDeadLetter][11/12/2024 23:09:54.311] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,311 PM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,312 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower3 with journal batch size 1000 11:09:54,319 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:09:54,326 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader1 with journal batch size 1000 [WARN] [11/12/2024 23:09:54.326] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.common.actor.Monitor@572ff5fc [INFO] [akkaDeadLetter][11/12/2024 23:09:54.327] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] to Actor[akka://test/user/termination-monitor] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,327 PM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] to Actor[akka://test/user/termination-monitor] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:09:54,329 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:09:54,437 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:09:54,437 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Received TimeoutNow - switching to Candidate 11:09:54,453 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Election: Candidate has following voting peers: [follower2, follower3] 11:09:54,453 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=1, votedFor=leader1 11:09:54,455 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Starting new election term 1 11:09:54,455 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower2 11:09:54,462 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower3 11:09:54,462 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:09:54,464 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:09:54,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:09:54,473 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Cluster state: [] 11:09:54,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:09:54,474 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:09:54,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=null 11:09:54,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:09:54,475 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=leader1 11:09:54,475 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 11:09:54,475 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:09:54,475 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:09:54,481 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=null 11:09:54,482 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:09:54,482 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=leader1 11:09:54,482 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:09:54,485 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:09:54,485 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:09:54,476 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:09:54,492 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Election: Leader has following peers: [follower2, follower3] 11:09:54,492 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:09:54,493 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:09:54,493 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower2: Last sync leader does not match current leader leader1, need to catch up to -1 11:09:54,495 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader leader1, need to catch up to -1 [WARN] [11/12/2024 23:09:54.497] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@652ab197 [INFO] [akkaDeadLetter][11/12/2024 23:09:54.497] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. 11:09:54,498 PM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. 11:09:54,498 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:09:54,500 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: -1, nextIndex: 0 11:09:54,500 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:09:54,501 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: -1, nextIndex: 0 11:09:54,501 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:09:54,505 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 11:09:54,506 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,509 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,510 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:09:54,512 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:09:54,512 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower2 11:09:54,512 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [11/12/2024 23:09:54.519] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f538ee2 [INFO] [akkaDeadLetter][11/12/2024 23:09:54.519] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 11:09:54,519 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 11:09:54,520 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:09:54,520 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 11:09:54,520 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:09:54,520 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log zero 11:09:54,520 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,521 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 1 11:09:54,521 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:54,526 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 11:09:54,529 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:09:54,529 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower3 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 0, nextIndex: 1 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 11:09:54,530 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log zero 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 1 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:54,531 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 0, nextIndex: 1 11:09:54,531 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [11/12/2024 23:09:54.531] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@580b797b 11:09:54,533 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:09:54,533 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:09:54,533 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 0 11:09:54,533 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from -1 to 0 11:09:54,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 0 data zero 11:09:54,534 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: zero 11:09:54,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=0 11:09:54,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [INFO] [akkaDeadLetter][11/12/2024 23:09:54.534] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. [WARN] [11/12/2024 23:09:54.535] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@497a4825 11:09:54,535 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. 11:09:54,735 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 0 11:09:54,735 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 11:09:54,735 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:09:54,735 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 0 11:09:54,735 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from -1 to 0 11:09:54,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 0 data zero 11:09:54,736 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: zero 11:09:54,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=0 11:09:54,740 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Commit index set to 0 11:09:54,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 11:09:54,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:09:54,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Setting last applied to 0 11:09:54,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from -1 to 0 11:09:54,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 0 data zero 11:09:54,742 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: zero 11:09:54,743 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=0 11:09:54,763 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:09:54,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:54,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower2 11:09:54,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:09:54,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:54,765 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:09:54,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower3 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 11:09:54,766 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log one 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 2 11:09:54,766 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:09:54,766 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 11:09:54,767 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log one 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,767 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 1, nextIndex: 2 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 2 11:09:54,767 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:54,768 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:54,768 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 11:09:54,768 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 11:09:54,768 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:54,771 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,771 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 1 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 0 to 1 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 1 data one 11:09:54,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: one 11:09:54,772 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 0 for term 1 11:09:54,773 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=1 11:09:54,816 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 11:09:54,817 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 11:09:54,818 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:09:54,818 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:09:54,818 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:09:54,818 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:09:54,818 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 11:09:54,819 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:54,819 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:09:54,819 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 11:09:54,819 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:54,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:09:54,975 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 11:09:54,975 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:54,976 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 11:09:54,976 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:55,94 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 11:09:55,94 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:55,95 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 11:09:55,95 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:09:55,694 PM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: At least 1 followers need to be active, Switching leader1 from Leader to IsolatedLeader 11:09:55,695 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Election: Leader has following peers: [follower2, follower3] 11:09:55,695 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:09:55,696 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:09:55,696 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 11:09:55,735 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower2 11:09:55,735 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:09:55,735 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Received TimeoutNow - switching to Candidate 11:09:55,735 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Election: Candidate has following voting peers: [follower3, leader1] 11:09:55,736 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=2, votedFor=follower2 11:09:55,736 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Starting new election term 2 11:09:55,736 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer follower3 11:09:55,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:09:55,736 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer leader1 11:09:55,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 11:09:55,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 11:09:55,736 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 11:09:55,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=null 11:09:55,736 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:09:55,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 11:09:55,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=follower2 11:09:55,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:09:55,738 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:09:55,738 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:09:55,738 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 11:09:55,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Election: Leader has following peers: [follower3, leader1] 11:09:55,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:55,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:55,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader follower2, need to catch up to -1 [WARN] [11/12/2024 23:09:55.741] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b939c6 11:09:55,742 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:09:55,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, 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@2453acc0]]] 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, 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@2453acc0]]] 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 11:09:55,745 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:09:55,746 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 11:09:55,746 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:55,746 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:09:55,744 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:09:55,746 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:09:55,746 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:55,746 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 3 11:09:55,746 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:55,746 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 11:09:55,747 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 2, nextIndex: 3 11:09:55,747 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:09:55,747 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 1 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 0 to 1 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 1 data one 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: one 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 2 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 1 to 2 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:09:55,748 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 11:09:55,749 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Election: Leader has following peers: [leader1, follower3] 11:09:55,749 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:09:55,749 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:09:55,749 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 11:09:55,749 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=2 11:09:55,751 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 2 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 1 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 0 to 1 11:09:55,752 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 1 data one 11:09:55,753 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: one 11:09:55,753 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 2 11:09:55,753 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 1 to 2 11:09:55,753 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:09:55,753 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) [WARN] [11/12/2024 23:09:55.754] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@44a2074b 11:09:55,754 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=2 11:09:55,786 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 11:09:55,786 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:55,786 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:55,786 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 3 is present for follower follower3 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, 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]]] 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, 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]]] 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log two-new 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 4 11:09:55,787 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:55,788 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 11:09:55,788 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 3, nextIndex: 4 11:09:55,788 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:09:55,791 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:55,791 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:09:55,791 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Setting last applied to 3 11:09:55,791 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 2 to 3 11:09:55,791 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 3 data two-new 11:09:55,792 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: two-new 11:09:55,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=3 11:09:55,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:55,984 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 3 11:09:55,984 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 11:09:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 3 11:09:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 2 to 3 11:09:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 3 data two-new 11:09:55,985 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: two-new 11:09:55,986 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=3 11:09:55,996 PM [main] [INFO] IsolationScenarioTest - Removing isolation 11:09:56,55 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Cannot append entries because sender's term 1 is less than 2 11:09:56,55 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cannot append entries because sender's term 1 is less than 2 11:09:56,56 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower2, 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 11:09:56,56 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=2, votedFor=null 11:09:56,56 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 11:09:56,104 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Last sync leader does not match current leader follower2, need to catch up to -1 11:09:56,105 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,105 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply: follower leader1 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 11:09:56,105 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:09:56,105 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 1 is present for follower leader1 11:09:56,106 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower leader1: AppendEntries [leaderId=follower2, 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@2453acc0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [11/12/2024 23:09:56.106] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@609d53ec 11:09:56,107 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, 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@2453acc0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 11:09:56,107 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Number of entries to be appended = 3 11:09:56,107 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] is present: existingEntryTerm: 1 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log two-new 11:09:56,108 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Log size is now 3 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Commit index set to 3 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader1, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 2 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 1 to 2 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 3 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 2 to 3 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 3 data two-new 11:09:56,109 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: two-new 11:09:56,111 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader1 updated: matchIndex: 3, nextIndex: 4 11:09:56,111 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: fakeSnapshot purging log to 2 for term 2 11:09:56,111 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 11:09:56,114 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:09:56,115 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:09:56,116 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 11:09:56,121 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: lastSequenceNumber prior to capture: 10 11:09:56,122 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=3 11:09:56,122 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: CaptureSnapshotReply received by actor 11:09:56,126 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: 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] 11:09:56,133 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [11/12/2024 23:09:56.133] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7626fb57 11:09:56,133 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 11:09:56,133 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Snapshot success - sequence number: 10 11:09:56,135 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SnapshotComplete received 11:09:56,138 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a journal response 11:09:56,149 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a snapshot response 11:09:56,225 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,225 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,225 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 2 for term 2 11:09:56,225 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: fakeSnapshot purging log to 2 for term 2 11:09:56,344 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,345 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,465 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,584 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,584 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,704 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,705 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,825 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,825 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,944 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:56,944 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,65 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,185 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,186 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,425 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,544 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,545 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,665 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,665 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,784 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,904 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:57,905 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,24 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,25 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,144 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,144 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,264 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,265 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,385 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,385 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,504 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,504 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,625 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,625 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,745 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,746 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,864 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,864 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,985 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:58,985 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,105 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,105 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,225 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,225 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,344 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,345 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,464 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,464 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,584 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,584 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,705 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,705 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,824 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,825 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,944 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:09:59,944 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,64 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,184 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,184 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,304 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,425 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,544 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,544 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,664 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,665 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,785 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,905 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:00,905 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:01,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:01,24 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:01,145 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:01,145 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 11:10:01,213 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 11:10:01,227 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-notifier4#-1974658641] 11:10:01,258 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-collector5#-285266910] 11:10:01,262 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower2] 11:10:01,264 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower3-collector6#32205329] 11:10:01,265 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower3] 11:10:01,266 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-notifier7#-1159101879] 11:10:01,267 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-collector8#1722221566] 11:10:01,268 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader1] 11:10:01,274 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 11:10:01,274 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting 11:10:01,282 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower10 with journal batch size 1000 [WARN] [11/12/2024 23:10:01.282] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower10]: org.opendaylight.controller.cluster.common.actor.Monitor@30d61ef2 11:10:01,285 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/12/2024 23:10:01.392] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower11]: org.opendaylight.controller.cluster.common.actor.Monitor@23d16ea1 11:10:01,393 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower11 with journal batch size 1000 11:10:01,397 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:10:01,499 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader9 with journal batch size 1000 [WARN] [11/12/2024 23:10:01.500] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader9]: org.opendaylight.controller.cluster.common.actor.Monitor@1d7d42bf 11:10:01,504 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Received TimeoutNow - switching to Candidate 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Election: Candidate has following voting peers: [follower10, follower11] 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=1, votedFor=leader9 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Starting new election term 1 11:10:01,505 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower10 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower11 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Cluster state: [] 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=null 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=null 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=leader9 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=leader9 11:10:01,506 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:10:01,506 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:10:01,508 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Election: Leader has following peers: [follower10, follower11] 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:10:01,509 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader leader9, need to catch up to -1 11:10:01,510 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower10: Last sync leader does not match current leader leader9, need to catch up to -1 11:10:01,510 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: -1, nextIndex: 0 11:10:01,510 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:01,510 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: -1, nextIndex: 0 11:10:01,510 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/12/2024 23:10:01.510] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24030918 [WARN] [11/12/2024 23:10:01.510] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1aa57f61 11:10:01,559 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 11:10:01,560 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,561 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,561 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:10:01,561 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:01,561 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 11:10:01,561 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:01,562 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log zero 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 1 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:01,562 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 11:10:01,563 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/12/2024 23:10:01.563] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@eefe27 11:10:01,562 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 11:10:01,564 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:01,567 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 0, nextIndex: 1 11:10:01,568 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:01,568 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,568 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,568 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:10:01,569 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:01,569 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower10 11:10:01,569 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:01,569 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:01,569 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 11:10:01,569 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:01,569 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 11:10:01,569 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:10:01,569 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log one 11:10:01,570 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,570 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,570 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:10:01,570 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 2 11:10:01,570 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 0 11:10:01,570 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:01,570 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from -1 to 0 11:10:01,570 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 11:10:01,570 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 0 data zero 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log zero 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,570 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 1 11:10:01,571 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:01,571 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 11:10:01,571 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: zero 11:10:01,571 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 1, nextIndex: 2 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 0, nextIndex: 1 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower11 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:01,572 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=0 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 1 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 0 to 1 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 1 data one 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: one 11:10:01,573 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: fakeSnapshot purging log to 0 for term 1 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=1 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 0 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 0 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from -1 to 0 11:10:01,574 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:01,574 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 0 data zero 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:01,575 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: zero 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log one 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,575 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from -1 to 0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 0 data zero 11:10:01,575 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 11:10:01,575 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:10:01,575 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: zero 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 1 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 1 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 0 to 1 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 1 data one [WARN] [11/12/2024 23:10:01.576] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@45174458 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: one 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 0 for term 1 11:10:01,576 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=1 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=0 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 1 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 1 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 0 to 1 11:10:01,578 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 1 data one 11:10:01,579 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: one 11:10:01,579 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: fakeSnapshot purging log to 0 for term 1 11:10:01,579 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=1 11:10:01,613 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 11:10:01,613 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 11:10:01,613 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:01,613 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:01,613 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:10:01,613 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:01,613 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 11:10:01,614 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:01,614 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:01,614 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 11:10:01,614 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:01,615 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:01,744 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 11:10:01,745 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:01,745 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 11:10:01,745 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:01,864 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 11:10:01,864 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:01,864 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 11:10:01,864 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:02,104 PM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: At least 1 followers need to be active, Switching leader9 from Leader to IsolatedLeader 11:10:02,104 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Election: Leader has following peers: [follower10, follower11] 11:10:02,105 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,105 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,105 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 11:10:02,117 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower10 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Received TimeoutNow - switching to Candidate 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Election: Candidate has following voting peers: [leader9, follower11] 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=2, votedFor=follower10 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Starting new election term 2 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer leader9 11:10:02,118 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer follower11 11:10:02,119 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=null 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 11:10:02,119 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=follower10 11:10:02,120 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:10:02,121 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:10:02,121 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:10:02,122 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Election: Leader has following peers: [leader9, follower11] 11:10:02,122 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:10:02,123 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:10:02,123 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:10:02,123 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader follower10, need to catch up to -1 11:10:02,123 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 11:10:02,123 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [11/12/2024 23:10:02.124] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3836b865 11:10:02,124 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) [WARN] [11/12/2024 23:10:02.124] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@947f7d6 11:10:02,168 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 11:10:02,168 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,168 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,168 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 11:10:02,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 2 is present for follower follower11 11:10:02,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=follower10, 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]]] 11:10:02,169 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, 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]]] 11:10:02,169 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 11:10:02,169 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:10:02,169 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log two-new 11:10:02,169 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,170 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 11:10:02,170 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower11, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,170 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) 11:10:02,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 2, nextIndex: 3 11:10:02,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,170 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Setting last applied to 2 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 1 to 2 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 2 data two-new 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: two-new 11:10:02,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=2 11:10:02,171 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,354 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 2 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 2 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 1 to 2 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 2 data two-new 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: two-new 11:10:02,355 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=2 11:10:02,370 PM [main] [INFO] IsolationScenarioTest - Removing isolation 11:10:02,465 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Cannot append entries because sender's term 1 is less than 2 11:10:02,465 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cannot append entries because sender's term 1 is less than 2 11:10:02,465 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower10, 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 11:10:02,465 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=2, votedFor=null 11:10:02,465 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 11:10:02,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader9: Last sync leader does not match current leader follower10, need to catch up to -1 11:10:02,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 11:10:02,474 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply: follower leader9 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 11:10:02,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 1 is present for follower leader9 11:10:02,474 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower leader9: AppendEntries [leaderId=follower10, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] [WARN] [11/12/2024 23:10:02.474] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@34fd721 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, 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]]] 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Number of entries to be appended = 2 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Append entry to log two-new 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Log size is now 2 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Commit index set to 2 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader9, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader9: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 11:10:02,475 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:10:02,476 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Setting last applied to 2 11:10:02,476 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 1 to 2 11:10:02,476 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 2 data two-new 11:10:02,476 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader9 updated: matchIndex: 2, nextIndex: 3 11:10:02,476 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 1 for term 2 11:10:02,476 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 11:10:02,476 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: two-new 11:10:02,477 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 11:10:02,477 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=2 [WARN] [11/12/2024 23:10:02.478] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72147481 11:10:02,522 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 11:10:02,523 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-notifier12#-1908196642] 11:10:02,535 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-collector13#888959806] 11:10:02,536 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower10] 11:10:02,536 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower11-collector14#-268948637] 11:10:02,537 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower11] 11:10:02,538 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-notifier15#-1142138389] 11:10:02,539 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-collector16#-121922236] 11:10:02,539 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader9] 11:10:02,542 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 11:10:02,542 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [11/12/2024 23:10:02.546] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower18]: org.opendaylight.controller.cluster.common.actor.Monitor@96588c4 11:10:02,547 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower18 with journal batch size 1000 11:10:02,549 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/12/2024 23:10:02.551] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower19]: org.opendaylight.controller.cluster.common.actor.Monitor@2b3cc347 11:10:02,551 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower19 with journal batch size 1000 11:10:02,555 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/12/2024 23:10:02.558] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader17]: org.opendaylight.controller.cluster.common.actor.Monitor@7bdf0930 11:10:02,558 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader17 with journal batch size 1000 11:10:02,561 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Received TimeoutNow - switching to Candidate 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Election: Candidate has following voting peers: [follower18, follower19] 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=1, votedFor=leader17 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Starting new election term 1 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower18 11:10:02,562 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower19 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Cluster state: [] 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=null 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=leader17 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=null 11:10:02,563 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:10:02,564 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=leader17 11:10:02,564 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:10:02,564 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:10:02,564 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:10:02,564 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Election: Leader has following peers: [follower18, follower19] 11:10:02,564 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:02,564 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:02,565 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:10:02,566 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower18: Last sync leader does not match current leader leader17, need to catch up to -1 11:10:02,566 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader leader17, need to catch up to -1 11:10:02,566 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: -1, nextIndex: 0 11:10:02,566 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:10:02,566 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/12/2024 23:10:02.566] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c45f308 11:10:02,566 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/12/2024 23:10:02.566] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e9a6bab 11:10:02,615 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 11:10:02,615 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,615 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,615 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower18 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower19 11:10:02,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:02,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:02,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 11:10:02,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:10:02,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log zero 11:10:02,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 1 11:10:02,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:10:02,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log zero 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 1 11:10:02,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 0, nextIndex: 1 11:10:02,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:02,617 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,618 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 11:10:02,618 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 0, nextIndex: 1 11:10:02,618 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:10:02,620 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,620 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:10:02,620 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 0 11:10:02,620 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from -1 to 0 11:10:02,621 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 0 data zero 11:10:02,621 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: zero 11:10:02,621 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=0 11:10:02,621 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:10:02,622 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/12/2024 23:10:02.622] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@543d2c95 [WARN] [11/12/2024 23:10:02.626] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7794d32e 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Commit index set to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Setting last applied to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from -1 to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 0 data zero 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from -1 to 0 11:10:02,804 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: zero 11:10:02,804 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 0 data zero 11:10:02,805 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=0 11:10:02,805 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: zero 11:10:02,805 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=0 11:10:02,819 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower18 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:02,820 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:02,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower19 11:10:02,821 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log one 11:10:02,821 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,821 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log one 11:10:02,822 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 2 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,822 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 11:10:02,821 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 2 11:10:02,822 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:10:02,823 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 1 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 0 to 1 11:10:02,823 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 1 data one 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: one 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: fakeSnapshot purging log to 0 for term 1 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:10:02,823 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 1, nextIndex: 2 11:10:02,824 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 11:10:02,824 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=1 11:10:02,824 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,824 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:10:02,874 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 11:10:02,875 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:02,875 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:10:02,876 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 11:10:02,877 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:02,878 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 7 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader17, ServerConfigPayload=null] 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:10:02,881 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 7 11:10:02,882 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 11:10:02,882 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 11:10:02,882 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 11:10:02,924 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:02,924 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:03,44 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:03,44 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, 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]]] 11:10:03,44 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:03,44 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, 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]]] 11:10:03,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 11:10:03,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, 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]]] 11:10:03,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 11:10:03,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, 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]]] 11:10:03,764 PM [test-akka.actor.default-dispatcher-17] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: At least 1 followers need to be active, Switching leader17 from Leader to IsolatedLeader 11:10:03,764 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Election: Leader has following peers: [follower18, follower19] 11:10:03,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:10:03,765 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:10:03,765 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 11:10:03,784 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower18 11:10:03,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:10:03,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Received TimeoutNow - switching to Candidate 11:10:03,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Election: Candidate has following voting peers: [follower19, leader17] 11:10:03,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=2, votedFor=follower18 11:10:03,785 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Starting new election term 2 11:10:03,785 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer follower19 11:10:03,785 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer leader17 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 11:10:03,785 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=null 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 11:10:03,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=follower18 11:10:03,786 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:10:03,787 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:10:03,787 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:10:03,787 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 11:10:03,787 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Election: Leader has following peers: [follower19, leader17] 11:10:03,787 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 11:10:03,788 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader follower18, need to catch up to -1 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true [WARN] [11/12/2024 23:10:03.788] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ae2e427 11:10:03,788 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,789 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging -1 entries behind leader follower18 and reached 0 (of expected -1) 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 [WARN] [11/12/2024 23:10:03.789] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@97ed741 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, 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@2453acc0]]] 11:10:03,789 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, 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@2453acc0]]] 11:10:03,790 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 3 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:03,790 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 2, nextIndex: 3 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 1 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 0 to 1 11:10:03,790 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 1 data one 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: one 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 2 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 1 to 2 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Election: Leader has following peers: [leader17, follower19] 11:10:03,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,792 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:10:03,792 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 11:10:03,793 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=2 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 2 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 1 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 0 to 1 11:10:03,793 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 1 data one 11:10:03,794 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: one 11:10:03,794 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 2 11:10:03,794 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 1 to 2 11:10:03,794 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:10:03,794 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 11:10:03,794 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=2 11:10:03,835 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 11:10:03,835 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:03,835 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:03,835 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 11:10:03,836 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:10:03,836 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:10:03,836 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 11:10:03,836 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, 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]]] 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, 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]]] 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log two-new 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 4 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:10:03,837 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 11:10:03,837 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 3, nextIndex: 4 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, 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]]] 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:03,838 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:03,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 11:10:03,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:03,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:03,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, 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]]] 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log three-new 11:10:03,839 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:03,840 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 5 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:03,840 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=4, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:10:03,840 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 3 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 2 to 3 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 3 data two-new 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: two-new 11:10:03,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 4, nextIndex: 5 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 5 is present for follower follower19 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=4, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=3 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=4, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log four-new 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 6 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 3 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 3 (of expected -1) 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 5 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 3 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 2 to 3 11:10:03,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 4 11:10:03,841 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 3 data two-new 11:10:03,842 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 3 to 4 11:10:03,842 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 4 data three-new 11:10:03,842 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: two-new 11:10:03,842 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: three-new 11:10:03,842 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 5, nextIndex: 6 11:10:03,842 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=4 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 5 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 4 to 5 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 5 data four-new 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: four-new 11:10:03,843 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=5 11:10:03,843 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:03,843 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=3 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 4 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 4 (of expected -1) 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 4 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 3 to 4 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 4 data three-new 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: three-new 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=4 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 5 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 5 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 4 to 5 11:10:03,844 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 5 data four-new 11:10:03,845 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: four-new 11:10:03,845 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=5 11:10:03,886 PM [main] [INFO] IsolationScenarioTest - Removing isolation 11:10:03,904 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Term 2 in "AppendEntries [leaderId=follower18, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than leader's term 1 - switching to Follower 11:10:03,904 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=2, votedFor=null 11:10:03,905 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 11:10:04,24 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Last sync leader does not match current leader follower18, need to catch up to -1 11:10:04,24 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,25 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply: follower leader17 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 11:10:04,25 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:04,25 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower leader17 11:10:04,25 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, 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] [11/12/2024 23:10:04.025] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4412db2 11:10:04,25 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, 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]]] 11:10:04,26 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (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 11:10:04,26 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:04,26 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 4 entries behind leader follower18 and reached 1 (of expected -1) 11:10:04,26 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 11:10:04,26 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): follower leader17 last log term 1 conflicts with the leader's 2 - dec next index to 2 11:10:04,26 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 11:10:04,26 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 2 is present for follower leader17 11:10:04,26 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, 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@2453acc0], 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] [11/12/2024 23:10:04.026] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@d4152b6 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, 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@2453acc0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Number of entries to be appended = 4 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] is present: existingEntryTerm: 1 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log two-new 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log three-new 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log four-new 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Log size is now 4 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Commit index set to 5 11:10:04,27 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader17, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 2 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 1 to 2 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 3 11:10:04,28 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader17 updated: matchIndex: 5, nextIndex: 6 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 2 to 3 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 3 data two-new 11:10:04,28 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: fakeSnapshot purging log to 4 for term 2 11:10:04,28 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: two-new 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 4 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 3 to 4 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 4 data three-new 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: three-new 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 5 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 4 to 5 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 5 data four-new 11:10:04,28 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: four-new 11:10:04,30 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@2453acc0] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 14 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=5 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: 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] 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 11:10:04,31 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 11:10:04,32 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 11:10:04,32 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 14 11:10:04,32 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 11:10:04,33 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 11:10:04,33 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 11:10:04,144 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,144 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,144 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: fakeSnapshot purging log to 4 for term 2 11:10:04,264 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,385 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,385 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,504 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,505 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,624 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,744 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,744 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,864 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,864 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,984 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:04,984 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,104 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,104 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,225 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,225 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,344 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,344 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,465 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,584 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,585 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,704 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,704 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,825 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,825 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,944 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:05,944 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,64 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,64 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,184 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,184 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,304 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,304 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,424 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,424 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,544 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,545 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,664 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,664 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,784 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,784 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,905 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:06,905 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,24 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,145 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,145 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,265 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,384 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,384 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,505 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,505 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,624 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,624 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,744 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,744 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,864 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,864 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,984 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:07,984 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,104 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,105 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,224 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,224 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,344 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,344 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,464 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,464 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,584 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,584 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,704 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,704 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,824 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,824 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,944 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:08,944 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:09,64 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:09,64 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 11:10:09,80 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 11:10:09,80 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-notifier20#-246259586] 11:10:09,93 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-collector21#-850586185] 11:10:09,94 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower18] 11:10:09,95 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower19-collector22#-208836545] 11:10:09,95 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower19] 11:10:09,96 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-notifier23#2030486591] 11:10:09,97 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-collector24#658581293] 11:10:09,98 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader17] 11:10:09,102 PM [test-akka.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [11/12/2024 23:10:09.101] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/12/2024 23:10:09.117] [test-akka.actor.default-dispatcher-16] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.42:25520) [INFO] [11/12/2024 23:10:09.117] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Exiting completed 11:10:09,117 PM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Exiting completed [INFO] [11/12/2024 23:10:09.117] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Shutting down... 11:10:09,118 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Shutting down... [INFO] [11/12/2024 23:10:09.118] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.42:25520] - Successfully shut down 11:10:09,119 PM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.42:25520] - Successfully shut down [INFO] [11/12/2024 23:10:09.135] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.42:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/12/2024 23:10:09.137] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.42:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:10:09,138 PM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:10:09,138 PM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/12/2024 23:10:09.163] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.42:25520/system/remoting-terminator] Remoting shut down. 11:10:09,164 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.