[DEBUG] [03/15/2024 10:20:02.340] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:20:02,341 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/15/2024 10:20:02.341] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/15/2024 10:20:02.341] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/15/2024 10:20:02.373] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.50:25520] with UID [-2739012158375367866] 10:20:02,374 AM [test-akka.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.50:25520] with UID [-2739012158375367866] 10:20:02,374 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/15/2024 10:20:02.374] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/15/2024 10:20:02.376] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/15/2024 10:20:02.376] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Started up successfully 10:20:02,377 AM [test-akka.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:20:02,377 AM [test-akka.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Started up successfully [INFO] [03/15/2024 10:20:02.378] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/15/2024 10:20:02.378] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:20:02,378 AM [test-akka.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:20:02,378 AM [test-akka.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:20:02,384 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 10:20:02,384 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:02.387] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower656]: org.opendaylight.controller.cluster.common.actor.Monitor@11bac742 [INFO] [akkaDeadLetter][03/15/2024 10:20:02.388] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower656] 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'. 10:20:02,388 AM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower656] 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'. 10:20:02,390 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower656 with journal batch size 1000 10:20:02,398 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: SnapshotOffer called. 10:20:02,398 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Moving last applied index from -1 to -1 10:20:02,398 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=1, votedFor=null 10:20:02,398 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Updated server config: isVoting: true, peers: [PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=NON_VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING]] 10:20:02,399 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower656 in 100.3 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:02,399 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Recovery completed in 1.164 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:02.488] [test-akka.actor.default-dispatcher-9] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower657]: org.opendaylight.controller.cluster.common.actor.Monitor@514529c9 10:20:02,488 AM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower657] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/15/2024 10:20:02.488] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower657] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:02,489 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower657 with journal batch size 1000 10:20:02,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: SnapshotOffer called. 10:20:02,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Moving last applied index from -1 to -1 10:20:02,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=1, votedFor=null 10:20:02,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Updated server config: isVoting: true, peers: [PeerInfo [id=follower656, address=akka://test/user/follower656, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=NON_VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING]] 10:20:02,490 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower657 in 97.82 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:02,491 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Recovery completed in 1.357 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:02,590 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 [WARN] [03/15/2024 10:20:02.590] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@77b486a7 [INFO] [akkaDeadLetter][03/15/2024 10:20:02.590] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower658] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:02,591 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower658] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:02,591 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 10:20:02,591 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 10:20:02,591 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 10:20:02,591 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Updated server config: isVoting: false, peers: [PeerInfo [id=follower656, address=akka://test/user/follower656, votingState=VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING]] 10:20:02,591 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 78.90 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:02,592 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.015 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:02.691] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader655]: org.opendaylight.controller.cluster.common.actor.Monitor@7195380d [INFO] [akkaDeadLetter][03/15/2024 10:20:02.691] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader655] to Actor[akka://test/user/termination-monitor] was not delivered. [4] 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'. 10:20:02,692 AM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader655] to Actor[akka://test/user/termination-monitor] was not delivered. [4] 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'. 10:20:02,692 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader655 with journal batch size 1000 10:20:02,692 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: SnapshotOffer called. 10:20:02,692 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Moving last applied index from -1 to -1 10:20:02,692 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=1, votedFor=null 10:20:02,693 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Updated server config: isVoting: true, peers: [PeerInfo [id=follower656, address=akka://test/user/follower656, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=NON_VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING]] 10:20:02,693 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader655 in 68.10 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:02,694 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Recovery completed in 1.010 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Received ElectionTimeout - switching to Candidate 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Election: Candidate has following voting peers: [follower656, follower657] 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=2, votedFor=leader655 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Starting new election term 2 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower656 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower657 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,65 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Cluster state: [] 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=null 10:20:03,65 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,65 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=leader655 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Cluster state: [] 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=null 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=leader655 10:20:03,66 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:03,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:03,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:03,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Election: Leader has following peers: [follower656, follower658, follower657] 10:20:03,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,67 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Term 2 in "AppendEntries [leaderId=leader655, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:20:03,67 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 10:20:03,67 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader655, need to catch up to -1 10:20:03,68 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower656: Last sync leader does not match current leader leader655, need to catch up to -1 10:20:03,68 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:03,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Last sync leader does not match current leader leader655, need to catch up to -1 [WARN] [03/15/2024 10:20:03.068] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39198517 10:20:03,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:20:03.068] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3ff10ff6 10:20:03,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,68 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/15/2024 10:20:03.068] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/15/2024 10:20:03.068] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:03,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower656 updated: matchIndex: -1, nextIndex: 0 10:20:03,69 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:03,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower657 updated: matchIndex: -1, nextIndex: 0 10:20:03,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:03.069] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@67d352c5 [INFO] [akkaDeadLetter][03/15/2024 10:20:03.069] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower658] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:03,69 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:20:03,93 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:03,93 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 starting 10:20:03,95 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: onShutDown 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Initiating leader transfer 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader655: pauseLeader successfully completed - doing transfer 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Attempting to transfer leadership 10:20:03,96 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,96 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,96 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,96 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,96 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [03/15/2024 10:20:03.096] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@75dba539 [WARN] [03/15/2024 10:20:03.097] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@dcf1d30 [WARN] [03/15/2024 10:20:03.097] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f59dde4 [INFO] [akkaDeadLetter][03/15/2024 10:20:03.097] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] 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'. [INFO] [akkaDeadLetter][03/15/2024 10:20:03.097] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] 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'. 10:20:03,97 AM [test-akka.actor.default-dispatcher-8] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] 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'. 10:20:03,97 AM [test-akka.actor.default-dispatcher-8] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] 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'. [INFO] [akkaDeadLetter][03/15/2024 10:20:03.097] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower658] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] 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'. 10:20:03,97 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] 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'. 10:20:03,185 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,185 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,185 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,306 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,424 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader655: leader transfer aborted 10:20:03,424 AM [test-akka.actor.default-dispatcher-16] [WARN] RaftActorLeadershipTransferCohort - leader655: Failed to transfer leadership in 328.3 ms 10:20:03,425 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: leader transfer failed - sending PoisonPill 10:20:03,425 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Leadership transfer expired 10:20:03,425 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 10:20:03,425 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [03/15/2024 10:20:03.425] [test-akka.actor.default-dispatcher-9] [akka://test/user/leader655] received dead letter from TestActor[akka://test/user/follower656]: AppendEntriesReply [term=2, success=true, followerId=follower656, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/15/2024 10:20:03.425] [test-akka.actor.default-dispatcher-9] [akka://test/user/leader655] received dead letter from TestActor[akka://test/user/follower657]: AppendEntriesReply [term=2, success=true, followerId=follower657, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/15/2024 10:20:03.426] [test-akka.actor.default-dispatcher-9] [akka://test/user/leader655] received dead letter from TestActor[akka://test/user/follower658]: AppendEntriesReply [term=2, success=true, followerId=follower658, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:03,428 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 ending 10:20:03,435 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 10:20:03,435 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-notifier659#-664509049] 10:20:03,446 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-collector660#175412135] 10:20:03,446 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower656] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-notifier661#-1377878221] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-collector662#-111683277] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower657] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier663#1816845457] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector664#122739854] 10:20:03,447 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 10:20:03,448 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-notifier665#932308184] 10:20:03,449 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-collector666#321190506] 10:20:03,449 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader655] 10:20:03,450 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 10:20:03,450 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:03.452] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower668]: org.opendaylight.controller.cluster.common.actor.Monitor@8eee6b3 10:20:03,453 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower668 with journal batch size 1000 10:20:03,454 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: SnapshotOffer called. 10:20:03,454 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Moving last applied index from -1 to -1 10:20:03,454 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=1, votedFor=null 10:20:03,454 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Updated server config: isVoting: true, peers: [PeerInfo [id=leader667, address=akka://test/user/leader667, votingState=VOTING], PeerInfo [id=follower669, address=akka://test/user/follower669, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=NON_VOTING]] 10:20:03,454 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower668 in 80.05 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:03,455 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Recovery completed in 1.054 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:03.457] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower669]: org.opendaylight.controller.cluster.common.actor.Monitor@a8c6d1d 10:20:03,457 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower669 with journal batch size 1000 10:20:03,457 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: SnapshotOffer called. 10:20:03,457 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Moving last applied index from -1 to -1 10:20:03,457 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=1, votedFor=null 10:20:03,458 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Updated server config: isVoting: true, peers: [PeerInfo [id=leader667, address=akka://test/user/leader667, votingState=VOTING], PeerInfo [id=follower668, address=akka://test/user/follower668, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=NON_VOTING]] 10:20:03,458 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower669 in 64.23 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:03,458 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Recovery completed in 765.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:03.567] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@2c763b98 10:20:03,568 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 10:20:03,569 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 10:20:03,569 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 10:20:03,569 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 10:20:03,569 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Updated server config: isVoting: false, peers: [PeerInfo [id=leader667, address=akka://test/user/leader667, votingState=VOTING], PeerInfo [id=follower669, address=akka://test/user/follower669, votingState=VOTING], PeerInfo [id=follower668, address=akka://test/user/follower668, votingState=VOTING]] 10:20:03,569 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 79.05 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/15/2024 10:20:03.570] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader667]: org.opendaylight.controller.cluster.common.actor.Monitor@4bb16726 10:20:03,570 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader667 with journal batch size 1000 10:20:03,571 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 1.827 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:03,572 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: SnapshotOffer called. 10:20:03,572 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Moving last applied index from -1 to -1 10:20:03,572 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=1, votedFor=null 10:20:03,572 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Updated server config: isVoting: true, peers: [PeerInfo [id=follower669, address=akka://test/user/follower669, votingState=VOTING], PeerInfo [id=follower668, address=akka://test/user/follower668, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=NON_VOTING]] 10:20:03,572 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader667 in 63.55 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:03,573 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Recovery completed in 660.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:03,944 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Received ElectionTimeout - switching to Candidate 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Election: Candidate has following voting peers: [follower669, follower668] 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=2, votedFor=leader667 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Starting new election term 2 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower669 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,945 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Cluster state: [] 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=null 10:20:03,945 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,946 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=leader667 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,946 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=null 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=leader667 10:20:03,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Election: Leader has following peers: [follower669, follower668, follower670] 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,947 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower669: Last sync leader does not match current leader leader667, need to catch up to -1 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:03,947 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader leader667, need to catch up to -1 10:20:03,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower669 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:20:03.947] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower669] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3db50f4c 10:20:03,948 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Term 2 in "AppendEntries [leaderId=leader667, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term [WARN] [03/15/2024 10:20:03.948] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@123d6cb2 10:20:03,948 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 10:20:03,948 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,948 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 10:20:03,948 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader667, need to catch up to -1 10:20:03,948 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,948 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 10:20:03,948 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:03.949] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2deb76ff 10:20:03,976 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:03,976 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:20:03,976 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:20:03,976 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:20:03,977 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:20:03,977 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: onRequestLeadership RequestLeadership [requestedFollowerId=follower669, replyTo=Actor[akka://test/user/$a#1996621928]] 10:20:03,978 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Initiating leader transfer 10:20:03,978 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 10:20:03,978 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader667: pauseLeader successfully completed - doing transfer 10:20:03,978 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Attempting to transfer leadership 10:20:03,979 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,979 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,979 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): tryToCompleteLeadershipTransfer: followerId: follower669, matchIndex: -1, lastIndex: -1, isVoting: true 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Follower's log matches - sending ElectionTimeout 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:03.979] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower669] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2917cf4f 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,979 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leader transfer complete 10:20:03,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader transfer complete - waiting for new leader 10:20:03,979 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) [WARN] [03/15/2024 10:20:03.979] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2af37486 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Received TimeoutNow - switching to Candidate 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Election: Candidate has following voting peers: [leader667, follower668] 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=3, votedFor=follower669 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Starting new election term 3 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer leader667 [WARN] [03/15/2024 10:20:03.980] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6bd64a62 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,980 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Cluster state: [] 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 10:20:03,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=null 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:03,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leadership transfer in progress - processing RequestVote 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:03,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 10:20:03,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=follower669 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=null 10:20:03,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=follower669 10:20:03,981 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:20:03,981 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:20:03,982 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:20:03,982 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:20:03,982 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Election: Leader has following peers: [leader667, follower668, follower670] 10:20:03,982 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,982 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,983 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader667: Last sync leader does not match current leader follower669, need to catch up to -1 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:20:03,983 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader changed to follower669 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader667 updated: matchIndex: -1, nextIndex: 0 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:03,983 AM [test-akka.actor.default-dispatcher-18] [INFO] RaftActorLeadershipTransferCohort - leader667: Successfully transferred leadership to follower669 in 4.492 ms 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader follower669, need to catch up to -1 10:20:03,983 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Leadership transferred successfully to follower669 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Term 3 in "AppendEntries [leaderId=follower669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=3, votedFor=null 10:20:03,983 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader follower669, need to catch up to -1 10:20:03,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:20:03.984] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6adf68fa 10:20:03,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:03.984] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader667] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@62599abb 10:20:03,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 10:20:03,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:03.984] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4abb431b 10:20:04,28 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 10:20:04,28 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-notifier671#-48175574] 10:20:04,39 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-collector672#-962955572] 10:20:04,39 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower668] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-notifier673#-2141499269] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-collector674#-1839533292] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower669] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier675#-221643053] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector676#-930562652] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-notifier677#1864424463] 10:20:04,40 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-collector678#2002479283] 10:20:04,41 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader667] 10:20:04,41 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#1996621928] 10:20:04,41 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 10:20:04,41 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:04.044] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower680]: org.opendaylight.controller.cluster.common.actor.Monitor@7190f9d2 10:20:04,45 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower680 with journal batch size 1000 10:20:04,45 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: SnapshotOffer called. 10:20:04,45 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Moving last applied index from -1 to -1 10:20:04,45 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=1, votedFor=null 10:20:04,46 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Updated server config: isVoting: true, peers: [PeerInfo [id=leader679, address=akka://test/user/leader679, votingState=VOTING], PeerInfo [id=follower681, address=akka://test/user/follower681, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=NON_VOTING]] 10:20:04,46 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower680 in 84.73 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,47 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Recovery completed in 1.325 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:04.048] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower681]: org.opendaylight.controller.cluster.common.actor.Monitor@5007b88b 10:20:04,48 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower681 with journal batch size 1000 10:20:04,48 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: SnapshotOffer called. 10:20:04,48 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Moving last applied index from -1 to -1 10:20:04,48 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=1, votedFor=null 10:20:04,48 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Updated server config: isVoting: true, peers: [PeerInfo [id=leader679, address=akka://test/user/leader679, votingState=VOTING], PeerInfo [id=follower680, address=akka://test/user/follower680, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=NON_VOTING]] 10:20:04,49 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower681 in 69.91 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,49 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Recovery completed in 945.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:04.149] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@2fd04746 10:20:04,149 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 10:20:04,150 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 10:20:04,150 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 10:20:04,150 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 10:20:04,150 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Updated server config: isVoting: false, peers: [PeerInfo [id=leader679, address=akka://test/user/leader679, votingState=VOTING], PeerInfo [id=follower681, address=akka://test/user/follower681, votingState=VOTING], PeerInfo [id=follower680, address=akka://test/user/follower680, votingState=VOTING]] 10:20:04,151 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 78.80 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,152 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 1.272 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:04.152] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader679]: org.opendaylight.controller.cluster.common.actor.Monitor@8d6eaf 10:20:04,152 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader679 with journal batch size 1000 10:20:04,153 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: SnapshotOffer called. 10:20:04,153 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Moving last applied index from -1 to -1 10:20:04,153 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=1, votedFor=null 10:20:04,153 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Updated server config: isVoting: true, peers: [PeerInfo [id=follower681, address=akka://test/user/follower681, votingState=VOTING], PeerInfo [id=follower680, address=akka://test/user/follower680, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=NON_VOTING]] 10:20:04,153 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader679 in 59.57 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,154 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Recovery completed in 850.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Received ElectionTimeout - switching to Candidate 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Election: Candidate has following voting peers: [follower681, follower680] 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=2, votedFor=leader679 10:20:04,534 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Starting new election term 2 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower681 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower680 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Cluster state: [] 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=null 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Cluster state: [] 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=leader679 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=null 10:20:04,535 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:04,535 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=leader679 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Election: Leader has following peers: [follower681, follower680, follower682] 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,536 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower681: Last sync leader does not match current leader leader679, need to catch up to -1 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Term 2 in "AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower682: Last sync leader does not match current leader leader679, need to catch up to -1 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower681 updated: matchIndex: -1, nextIndex: 0 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 10:20:04,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:04.537] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6848a14a 10:20:04,538 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower680: Last sync leader does not match current leader leader679, need to catch up to -1 10:20:04,538 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower680 updated: matchIndex: -1, nextIndex: 0 10:20:04,538 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:04.538] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@11ff452b [WARN] [03/15/2024 10:20:04.538] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2a5523b 10:20:04,562 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:04,562 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:20:04,562 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:20:04,562 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 starting 10:20:04,562 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: onShutDown 10:20:04,563 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 ending 10:20:04,563 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:20:04,563 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: onRequestLeadership RequestLeadership [requestedFollowerId=follower681, replyTo=Actor[akka://test/user/$b#28979832]] 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Initiating leader transfer 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader679: pauseLeader successfully completed - doing transfer 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Attempting to transfer leadership 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,563 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:04,563 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 10:20:04,563 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [03/15/2024 10:20:04.563] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: LeaderTransitioning [leaderId=leader679] [WARN] [03/15/2024 10:20:04.563] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:04,563 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] [WARN] [03/15/2024 10:20:04.563] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50f9e311 10:20:04,564 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] [WARN] [03/15/2024 10:20:04.564] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@246df61 [WARN] [03/15/2024 10:20:04.654] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/15/2024 10:20:04.775] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:04,775 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 10:20:04,775 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 10:20:04,894 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader679: leader transfer aborted 10:20:04,894 AM [test-akka.actor.default-dispatcher-17] [WARN] RaftActorLeadershipTransferCohort - leader679: Failed to transfer leadership in 331.0 ms 10:20:04,894 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: LeadershipTransfer request from follower681 failed 10:20:04,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Leadership transfer expired [WARN] [03/15/2024 10:20:04.895] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:04,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 10:20:04,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 10:20:04,916 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 10:20:04,916 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-notifier683#-50784718] 10:20:04,927 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-collector684#1812192931] 10:20:04,927 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower680] 10:20:04,927 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-notifier685#1395694375] 10:20:04,927 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-collector686#-104088949] 10:20:04,927 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower681] 10:20:04,928 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier687#134194868] 10:20:04,928 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector688#-1103003136] 10:20:04,928 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 10:20:04,929 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-notifier689#-712644295] 10:20:04,929 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-collector690#2120125227] 10:20:04,929 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader679] 10:20:04,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#28979832] 10:20:04,931 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 10:20:04,931 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:04.933] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower692]: org.opendaylight.controller.cluster.common.actor.Monitor@52d846bc 10:20:04,933 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower692 with journal batch size 1000 10:20:04,934 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: SnapshotOffer called. 10:20:04,934 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to -1 10:20:04,934 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=1, votedFor=null 10:20:04,934 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Updated server config: isVoting: true, peers: [PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING]] 10:20:04,935 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower692 in 103.0 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,936 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Recovery completed in 1.302 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:04.936] [test-akka.actor.default-dispatcher-9] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower693]: org.opendaylight.controller.cluster.common.actor.Monitor@135755a6 10:20:04,936 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower693 with journal batch size 1000 10:20:04,937 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: SnapshotOffer called. 10:20:04,937 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to -1 10:20:04,937 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=1, votedFor=null 10:20:04,937 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Updated server config: isVoting: true, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING]] 10:20:04,937 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower693 in 65.50 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:04,938 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Recovery completed in 748.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:05.038] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower694]: org.opendaylight.controller.cluster.common.actor.Monitor@7a164994 10:20:05,38 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower694 with journal batch size 1000 10:20:05,39 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: SnapshotOffer called. 10:20:05,39 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to -1 10:20:05,39 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=1, votedFor=null 10:20:05,39 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Updated server config: isVoting: false, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING]] 10:20:05,39 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower694 in 74.19 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:05,40 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Recovery completed in 925.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:05.139] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader691]: org.opendaylight.controller.cluster.common.actor.Monitor@2ea08735 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader691 with journal batch size 1000 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: SnapshotOffer called. 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to -1 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=1, votedFor=null 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Updated server config: isVoting: true, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING]] 10:20:05,140 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader691 in 74.72 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:05,141 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Recovery completed in 992.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Received ElectionTimeout - switching to Candidate 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Election: Candidate has following voting peers: [follower692, follower693] 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=2, votedFor=leader691 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Starting new election term 2 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower692 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower693 10:20:05,534 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Cluster state: [] 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=null 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=leader691 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=null 10:20:05,535 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=leader691 10:20:05,535 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Election: Leader has following peers: [follower692, follower694, follower693] 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:05,536 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:05,537 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower692: Last sync leader does not match current leader leader691, need to catch up to -1 10:20:05,537 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: -1, nextIndex: 0 10:20:05,537 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:05,537 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Term 2 in "AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:20:05,537 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=2, votedFor=null [WARN] [03/15/2024 10:20:05.537] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@31e052f9 10:20:05,537 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader leader691, need to catch up to -1 10:20:05,537 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader leader691, need to catch up to -1 10:20:05,537 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: -1, nextIndex: 0 10:20:05,537 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:05.537] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47069d20 10:20:05,537 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: -1, nextIndex: 0 10:20:05,537 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:05.538] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@512d676e 10:20:05,541 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:05,541 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 10:20:05,541 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,541 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower692 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Sending AppendEntries to follower follower692: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower694 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Sending AppendEntries to follower follower694: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): handleAppendEntries: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Sending AppendEntries to follower follower693: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Number of entries to be appended = 1 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Append entry to log zero 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): handleAppendEntries: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Log size is now 1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Number of entries to be appended = 1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Append entry to log zero 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower692, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:05,542 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Log size is now 1 10:20:05,542 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower694, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:05,543 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 10:20:05,543 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: 0, nextIndex: 1 10:20:05,543 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,543 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 10:20:05,543 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,543 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:05,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:20:05,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Setting last applied to 0 10:20:05,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to 0 10:20:05,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Applying state for log index 0 data zero 10:20:05,544 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/15/2024 10:20:05.544] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3b443238 10:20:05,544 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: applyState called: zero 10:20:05,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persisting ApplyJournalEntries with index=0 [WARN] [03/15/2024 10:20:05.544] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@718d7140 10:20:05,654 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Sending AppendEntries to follower follower693: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Commit index set to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Setting last applied to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Applying state for log index 0 data zero 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Commit index set to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Setting last applied to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to 0 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Applying state for log index 0 data zero 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: applyState called: zero 10:20:05,655 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Persisting ApplyJournalEntries with index=0 10:20:05,655 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: applyState called: zero 10:20:05,656 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Persisting ApplyJournalEntries with index=0 10:20:05,694 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 10:20:05,694 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: onShutDown 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Initiating leader transfer 10:20:05,694 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 10:20:05,694 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader691: pauseLeader successfully completed - doing transfer 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Attempting to transfer leadership 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,694 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 10:20:05,694 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): tryToCompleteLeadershipTransfer: followerId: follower692, matchIndex: 0, lastIndex: 0, isVoting: true 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Follower's log matches - sending ElectionTimeout 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,695 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leader transfer complete 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader transfer complete - waiting for new leader 10:20:05,695 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Received TimeoutNow - switching to Candidate 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Election: Candidate has following voting peers: [leader691, follower693] 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=3, votedFor=follower692 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Starting new election term 3 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer leader691 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer follower693 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:05,695 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Cluster state: [] 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=null 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leadership transfer in progress - processing RequestVote 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=null 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=follower692 10:20:05,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:05,695 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=follower692 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:20:05,696 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Election: Leader has following peers: [follower694, leader691, follower693] 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,696 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:20:05,696 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Term 3 in "AppendEntries [leaderId=follower692, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 10:20:05,696 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=3, votedFor=null 10:20:05,696 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader follower692, need to catch up to -1 10:20:05,697 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader691: Last sync leader does not match current leader follower692, need to catch up to -1 10:20:05,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 10:20:05,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,697 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader changed to follower692 10:20:05,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader691 updated: matchIndex: 0, nextIndex: 1 10:20:05,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:05,697 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader691: Successfully transferred leadership to follower692 in 2.582 ms 10:20:05,697 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: leader transfer succeeded - sending PoisonPill 10:20:05,697 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader691: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [03/15/2024 10:20:05.697] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader691] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1aa7e512 [WARN] [03/15/2024 10:20:05.698] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader691] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ad058fb [WARN] [03/15/2024 10:20:05.698] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@34f867e4 10:20:05,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [03/15/2024 10:20:05.698] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a6fb5b 10:20:06,215 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [03/15/2024 10:20:06.215] [test-akka.actor.default-dispatcher-9] [akka://test/user/leader691] received dead letter from TestActor[akka://test/user/follower692]: AppendEntries [leaderId=follower692, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader follower692, need to catch up to -1 10:20:06,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): sendAppendEntries: 0 is present for follower follower693 10:20:06,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Sending AppendEntries to follower follower693: AppendEntries [leaderId=follower692, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] [WARN] [03/15/2024 10:20:06.216] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4307f968 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): handleAppendEntries: AppendEntries [leaderId=follower692, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Number of entries to be appended = 1 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Append entry to log zero 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Log size is now 1 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Commit index set to 0 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower693, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower693: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Setting last applied to 0 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to 0 10:20:06,216 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Applying state for log index 0 data zero 10:20:06,216 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: 0, nextIndex: 1 10:20:06,217 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,217 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: applyState called: zero 10:20:06,217 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Persisting ApplyJournalEntries with index=0 [WARN] [03/15/2024 10:20:06.218] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36b49992 10:20:06,249 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 10:20:06,250 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 10:20:06,250 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 starting 10:20:06,250 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onShutDown 10:20:06,251 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 ending 10:20:06,251 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 10:20:06,251 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-notifier695#1829414576] 10:20:06,261 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-collector696#-1777474119] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower692] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-notifier697#-569088933] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-collector698#-889195386] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower693] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-notifier699#268698639] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-collector700#-1976356622] 10:20:06,262 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower694] 10:20:06,263 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-notifier701#293085068] 10:20:06,263 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-collector702#-679958417] 10:20:06,263 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader691] 10:20:06,264 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting 10:20:06,266 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader703 with journal batch size 1000 [WARN] [03/15/2024 10:20:06.266] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader703]: org.opendaylight.controller.cluster.common.actor.Monitor@a2ad711 10:20:06,267 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower): Received TimeoutNow - switching to Candidate 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Election: Candidate has following voting peers: [] 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: Set currentTerm=1, votedFor=leader703 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Starting new election term 1 10:20:06,268 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:20:06,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Received ElectionTimeout 10:20:06,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Leader): Election: Leader has following peers: [] 10:20:06,269 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:20:06,269 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 starting 10:20:06,270 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: onShutDown 10:20:06,270 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 ending 10:20:06,270 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 10:20:06,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader703-collector707#-1583401668] 10:20:06,281 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader703] 10:20:06,282 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 10:20:06,282 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:06.283] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower709]: org.opendaylight.controller.cluster.common.actor.Monitor@5948c6c2 10:20:06,284 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower709 with journal batch size 1000 10:20:06,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: SnapshotOffer called. 10:20:06,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to -1 10:20:06,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=1, votedFor=null 10:20:06,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=NON_VOTING], PeerInfo [id=follower710, address=akka://test/user/follower710, votingState=VOTING], PeerInfo [id=leader708, address=akka://test/user/leader708, votingState=VOTING]] 10:20:06,285 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower709 in 92.52 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:06,286 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Recovery completed in 1.040 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:06.286] [test-akka.actor.default-dispatcher-9] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower710]: org.opendaylight.controller.cluster.common.actor.Monitor@1ceee8f9 10:20:06,286 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower710 with journal batch size 1000 10:20:06,287 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: SnapshotOffer called. 10:20:06,287 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Moving last applied index from -1 to -1 10:20:06,287 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=1, votedFor=null 10:20:06,287 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=NON_VOTING], PeerInfo [id=leader708, address=akka://test/user/leader708, votingState=VOTING], PeerInfo [id=follower709, address=akka://test/user/follower709, votingState=VOTING]] 10:20:06,287 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower710 in 75.62 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:06,288 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Recovery completed in 918.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:06.288] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower711]: org.opendaylight.controller.cluster.common.actor.Monitor@161e5cbb 10:20:06,289 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 10:20:06,289 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 10:20:06,289 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 10:20:06,289 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 10:20:06,289 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Updated server config: isVoting: false, peers: [PeerInfo [id=follower710, address=akka://test/user/follower710, votingState=VOTING], PeerInfo [id=leader708, address=akka://test/user/leader708, votingState=VOTING], PeerInfo [id=follower709, address=akka://test/user/follower709, votingState=VOTING]] 10:20:06,290 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 123.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:06,290 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 1.080 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:06.291] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader708]: org.opendaylight.controller.cluster.common.actor.Monitor@38f16053 10:20:06,291 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader708 with journal batch size 1000 10:20:06,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: SnapshotOffer called. 10:20:06,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to -1 10:20:06,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=1, votedFor=null 10:20:06,291 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=NON_VOTING], PeerInfo [id=follower710, address=akka://test/user/follower710, votingState=VOTING], PeerInfo [id=follower709, address=akka://test/user/follower709, votingState=VOTING]] 10:20:06,292 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader708 in 38.40 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:06,292 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Recovery completed in 501.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:06,704 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Received ElectionTimeout - switching to Candidate 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Election: Candidate has following voting peers: [follower710, follower709] 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=2, votedFor=leader708 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Starting new election term 2 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower710 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower709 10:20:06,705 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:06,705 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:06,705 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Cluster state: [] 10:20:06,705 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:06,705 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:06,705 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=null 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Cluster state: [] 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:06,706 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:06,706 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=leader708 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=null 10:20:06,706 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=leader708 10:20:06,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:06,706 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:06,706 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Election: Leader has following peers: [follower711, follower710, follower709] 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Term 2 in "AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:06,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower710: Last sync leader does not match current leader leader708, need to catch up to -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader708, need to catch up to -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower709: Last sync leader does not match current leader leader708, need to catch up to -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower710 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:20:06.707] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower710] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@49a5cb78 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:20:06.707] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4c026868 10:20:06,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:06.708] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12edc96c 10:20:06,743 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:06,743 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:20:06,744 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:20:06,744 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 10:20:06,744 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,744 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,744 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:20:06,744 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,744 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower711 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Sending AppendEntries to follower follower711: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Sending AppendEntries to follower follower710: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): handleAppendEntries: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower709 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Number of entries to be appended = 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Sending AppendEntries to follower follower709: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Append entry to log zero 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Log size is now 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): handleAppendEntries: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower711, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Number of entries to be appended = 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Append entry to log zero 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Log size is now 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: 0, nextIndex: 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower709, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:20:06,745 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: 0, nextIndex: 1 10:20:06,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,745 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Setting last applied to 0 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to 0 10:20:06,746 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Applying state for log index 0 data zero 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: applyState called: zero 10:20:06,746 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persisting ApplyJournalEntries with index=0 [WARN] [03/15/2024 10:20:06.746] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7a633784 10:20:06,746 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/15/2024 10:20:06.746] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6aa1353a 10:20:06,824 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 10:20:06,824 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Sending AppendEntries to follower follower710: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Commit index set to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Sending AppendEntries to follower follower710: AppendEntries [leaderId=leader708, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Setting last applied to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Applying state for log index 0 data zero 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: applyState called: zero 10:20:06,945 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Persisting ApplyJournalEntries with index=0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Commit index set to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Setting last applied to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to 0 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Applying state for log index 0 data zero 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: applyState called: zero 10:20:06,945 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Persisting ApplyJournalEntries with index=0 10:20:06,947 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 10:20:06,947 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:20:06,947 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: onRequestLeadership RequestLeadership [requestedFollowerId=follower710, replyTo=Actor[akka://test/user/$c#-898697279]] 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Initiating leader transfer 10:20:06,947 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 10:20:06,947 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 10:20:06,947 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader708: pauseLeader successfully completed - doing transfer 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Attempting to transfer leadership 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 10:20:06,947 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:20:06,947 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:06,947 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,64 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,185 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,185 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,304 AM [test-akka.actor.default-dispatcher-9] [DEBUG] RaftActorLeadershipTransferCohort - leader708: leader transfer aborted 10:20:07,305 AM [test-akka.actor.default-dispatcher-9] [WARN] RaftActorLeadershipTransferCohort - leader708: Failed to transfer leadership in 357.6 ms 10:20:07,305 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: LeadershipTransfer request from follower710 failed 10:20:07,305 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Leadership transfer expired 10:20:07,305 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,305 AM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 10:20:07,350 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 10:20:07,350 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-notifier712#-911152418] 10:20:07,361 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-collector713#-2104311998] 10:20:07,361 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower709] 10:20:07,361 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-notifier714#-1310305416] 10:20:07,361 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-collector715#-1731878722] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower710] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier716#-219065467] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector717#-1784919150] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-notifier718#-271960378] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-collector719#347380498] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader708] 10:20:07,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-898697279] 10:20:07,363 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 10:20:07,363 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/15/2024 10:20:07.370] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower721]: org.opendaylight.controller.cluster.common.actor.Monitor@367bfdc0 10:20:07,371 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower721 with journal batch size 1000 10:20:07,371 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: SnapshotOffer called. 10:20:07,371 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Moving last applied index from -1 to -1 10:20:07,371 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=1, votedFor=null 10:20:07,372 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Updated server config: isVoting: true, peers: [PeerInfo [id=follower722, address=akka://test/user/follower722, votingState=VOTING], PeerInfo [id=leader720, address=akka://test/user/leader720, votingState=VOTING], PeerInfo [id=follower723, address=akka://test/user/follower723, votingState=NON_VOTING]] 10:20:07,372 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower721 in 99.14 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:07,373 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Recovery completed in 1.043 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:07.472] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower722]: org.opendaylight.controller.cluster.common.actor.Monitor@1616e01c 10:20:07,473 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower722 with journal batch size 1000 10:20:07,474 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: SnapshotOffer called. 10:20:07,474 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Moving last applied index from -1 to -1 10:20:07,474 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=1, votedFor=null 10:20:07,474 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Updated server config: isVoting: true, peers: [PeerInfo [id=follower721, address=akka://test/user/follower721, votingState=VOTING], PeerInfo [id=leader720, address=akka://test/user/leader720, votingState=VOTING], PeerInfo [id=follower723, address=akka://test/user/follower723, votingState=NON_VOTING]] 10:20:07,474 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower722 in 106.3 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:07,475 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Recovery completed in 1.062 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:07.574] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower723]: org.opendaylight.controller.cluster.common.actor.Monitor@3f99bd46 10:20:07,574 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower723 with journal batch size 1000 10:20:07,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: SnapshotOffer called. 10:20:07,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Moving last applied index from -1 to -1 10:20:07,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=1, votedFor=null 10:20:07,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Updated server config: isVoting: false, peers: [PeerInfo [id=follower722, address=akka://test/user/follower722, votingState=VOTING], PeerInfo [id=follower721, address=akka://test/user/follower721, votingState=VOTING], PeerInfo [id=leader720, address=akka://test/user/leader720, votingState=VOTING]] 10:20:07,575 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower723 in 73.54 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:07,576 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Recovery completed in 1.110 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:20:07.577] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader720]: org.opendaylight.controller.cluster.common.actor.Monitor@46858051 10:20:07,577 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader720 with journal batch size 1000 10:20:07,578 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: SnapshotOffer called. 10:20:07,578 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Moving last applied index from -1 to -1 10:20:07,578 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=1, votedFor=null 10:20:07,578 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Updated server config: isVoting: true, peers: [PeerInfo [id=follower722, address=akka://test/user/follower722, votingState=VOTING], PeerInfo [id=follower721, address=akka://test/user/follower721, votingState=VOTING], PeerInfo [id=follower723, address=akka://test/user/follower723, votingState=NON_VOTING]] 10:20:07,578 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader720 in 89.33 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:20:07,579 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Recovery completed in 887.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Received ElectionTimeout - switching to Candidate 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Election: Candidate has following voting peers: [follower722, follower721] 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=2, votedFor=leader720 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Starting new election term 2 10:20:07,975 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower722 10:20:07,976 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 10:20:07,976 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Cluster state: [] 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=null 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Cluster state: [] 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=null 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=leader720 10:20:07,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=leader720 10:20:07,976 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Election: Leader has following peers: [follower722, follower721, follower723] 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,977 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,977 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower722: Last sync leader does not match current leader leader720, need to catch up to -1 10:20:07,978 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:20:07,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower721: Last sync leader does not match current leader leader720, need to catch up to -1 [WARN] [03/15/2024 10:20:07.978] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@62c94f45 10:20:07,978 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower723 (Follower): Term 2 in "AppendEntries [leaderId=leader720, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:20:07,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=2, votedFor=null [WARN] [03/15/2024 10:20:07.978] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower721] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47c29d54 10:20:07,978 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower722 updated: matchIndex: -1, nextIndex: 0 10:20:07,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower723: Last sync leader does not match current leader leader720, need to catch up to -1 10:20:07,978 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower721 updated: matchIndex: -1, nextIndex: 0 10:20:07,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower723 updated: matchIndex: -1, nextIndex: 0 10:20:07,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:07,979 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:20:07,979 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting [WARN] [03/15/2024 10:20:07.979] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower723] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@57e8b2d8 10:20:07,979 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:20:07,979 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower721] 10:20:07,990 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower723] 10:20:08,1 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:20:08,1 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:20:08,1 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: onRequestLeadership RequestLeadership [requestedFollowerId=follower722, replyTo=Actor[akka://test/user/$d#-179113541]] 10:20:08,1 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Initiating leader transfer 10:20:08,1 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: onLeaderTransitioning: LeaderTransitioning [leaderId=leader720] 10:20:08,1 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader720: pauseLeader successfully completed - doing transfer 10:20:08,1 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Attempting to transfer leadership [WARN] [03/15/2024 10:20:08.001] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: AppendEntries [leaderId=leader720, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): tryToCompleteLeadershipTransfer: followerId: follower722, matchIndex: -1, lastIndex: -1, isVoting: true 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Follower's log matches - sending ElectionTimeout [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@71f7614f 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: AppendEntries [leaderId=leader720, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,2 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leader transfer complete 10:20:08,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader transfer complete - waiting for new leader 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: AppendEntries [leaderId=leader720, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Received TimeoutNow - switching to Candidate [WARN] [03/15/2024 10:20:08.002] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: AppendEntries [leaderId=leader720, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Election: Candidate has following voting peers: [follower721, leader720] 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=3, votedFor=follower722 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Starting new election term 3 10:20:08,2 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 10:20:08,3 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer leader720 10:20:08,3 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [03/15/2024 10:20:08.003] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/follower722]: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Cluster state: [] 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=null 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leadership transfer in progress - processing RequestVote 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): In requestVote: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=follower722 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:20:08,3 AM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Election: Leader has following peers: [follower721, leader720, follower723] 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,4 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:20:08.004] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/follower722]: AppendEntries [leaderId=follower722, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,5 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 [WARN] [03/15/2024 10:20:08.005] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/follower722]: AppendEntries [leaderId=follower722, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:20:08,5 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader720: Last sync leader does not match current leader follower722, need to catch up to -1 10:20:08,5 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader changed to follower722 10:20:08,5 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader720 updated: matchIndex: -1, nextIndex: 0 10:20:08,5 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:20:08,5 AM [test-akka.actor.default-dispatcher-6] [INFO] RaftActorLeadershipTransferCohort - leader720: Successfully transferred leadership to follower722 in 3.549 ms 10:20:08,5 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Leadership transferred successfully to follower722 [WARN] [03/15/2024 10:20:08.005] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader720] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c07b5d8 10:20:08,52 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 10:20:08,53 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-notifier724#-499708416] 10:20:08,63 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-collector725#365747382] 10:20:08,63 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-notifier726#785533426] 10:20:08,64 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-collector727#384660986] 10:20:08,64 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower722] 10:20:08,64 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-notifier728#1382981059] 10:20:08,64 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-collector729#-1248075902] 10:20:08,65 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-notifier730#-1410027671] 10:20:08,65 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-collector731#-1093417330] 10:20:08,65 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader720] 10:20:08,65 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#-179113541] [INFO] [03/15/2024 10:20:08.066] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:20:08,66 AM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/15/2024 10:20:08.067] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.50:25520) [INFO] [03/15/2024 10:20:08.068] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Exiting completed [INFO] [03/15/2024 10:20:08.068] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Shutting down... [INFO] [03/15/2024 10:20:08.068] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Successfully shut down [INFO] [03/15/2024 10:20:08.069] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/15/2024 10:20:08.069] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:20:08,71 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Exiting completed 10:20:08,71 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Shutting down... 10:20:08,71 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Successfully shut down 10:20:08,71 AM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 10:20:08,71 AM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/15/2024 10:20:08.071] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Remoting shut down. 10:20:08,71 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.