[DEBUG] [01/16/2024 11:02:54.450] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:02:54,450 AM [test-akka.actor.default-dispatcher-7] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/16/2024 11:02:54.451] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/16/2024 11:02:54.451] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/16/2024 11:02:54.458] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.54:25520] with UID [6672109669929053719] 11:02:54,458 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.54:25520] with UID [6672109669929053719] [INFO] [01/16/2024 11:02:54.459] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Starting up, Akka version [2.6.21] ... 11:02:54,459 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/16/2024 11:02:54.461] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/16/2024 11:02:54.461] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Started up successfully 11:02:54,461 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:02:54,461 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Started up successfully 11:02:54,469 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 11:02:54,469 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [INFO] [01/16/2024 11:02:54.470] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/16/2024 11:02:54.470] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:02:54,476 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:02:54,476 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [01/16/2024 11:02:54.479] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower656]: org.opendaylight.controller.cluster.common.actor.Monitor@7b3be1c2 [INFO] [akkaDeadLetter][01/16/2024 11:02:54.479] [test-akka.actor.default-dispatcher-12] [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'. 11:02:54,479 AM [test-akka.actor.default-dispatcher-12] [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'. 11:02:54,480 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower656 with journal batch size 1000 11:02:54,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: SnapshotOffer called. 11:02:54,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Moving last applied index from -1 to -1 11:02:54,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=1, votedFor=null 11:02:54,481 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Updated server config: isVoting: true, peers: [PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=NON_VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING]] 11:02:54,482 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower656 in 71.65 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [01/16/2024 11:02:54.482] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower657]: org.opendaylight.controller.cluster.common.actor.Monitor@34c10aee [INFO] [akkaDeadLetter][01/16/2024 11:02:54.482] [test-akka.actor.default-dispatcher-7] [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'. 11:02:54,483 AM [test-akka.actor.default-dispatcher-12] [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'. 11:02:54,483 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower657 with journal batch size 1000 [WARN] [01/16/2024 11:02:54.484] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@66710b39 [INFO] [akkaDeadLetter][01/16/2024 11:02:54.484] [test-akka.actor.default-dispatcher-12] [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'. 11:02:54,484 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [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'. 11:02:54,485 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Recovery completed in 3.117 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: SnapshotOffer called. 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Moving last applied index from -1 to -1 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=1, votedFor=null 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [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]] 11:02:54,485 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower657 in 88.28 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [01/16/2024 11:02:54.487] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader655]: org.opendaylight.controller.cluster.common.actor.Monitor@c15ece1 [INFO] [akkaDeadLetter][01/16/2024 11:02:54.487] [test-akka.actor.default-dispatcher-6] [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'. 11:02:54,487 AM [test-akka.actor.default-dispatcher-6] [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'. 11:02:54,488 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader655 with journal batch size 1000 11:02:54,488 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Recovery completed in 994.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:54,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 11:02:54,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 11:02:54,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 11:02:54,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Updated server config: isVoting: false, peers: [PeerInfo [id=follower656, address=akka://test/user/follower656, votingState=VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING]] 11:02:54,490 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 67.58 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:54,491 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: SnapshotOffer called. 11:02:54,491 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Moving last applied index from -1 to -1 11:02:54,491 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=1, votedFor=null 11:02:54,491 AM [test-akka.actor.default-dispatcher-18] [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]] 11:02:54,491 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.195 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:54,492 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader655 in 35.69 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:54,493 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Recovery completed in 1.109 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:54,877 AM [test-akka.actor.default-dispatcher-8] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:54,877 AM [test-akka.actor.default-dispatcher-8] [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.170.54:25520, Removed) 11:02:54,877 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Received ElectionTimeout - switching to Candidate 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Election: Candidate has following voting peers: [follower656, follower657] 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=2, votedFor=leader655 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Starting new election term 2 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower656 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower657 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Cluster state: [] 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [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 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=null 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Cluster state: [] 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [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 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=null 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:54,878 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=leader655 11:02:54,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=leader655 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:54,879 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Election: Leader has following peers: [follower656, follower658, follower657] 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,879 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:54,879 AM [test-akka.actor.default-dispatcher-15] [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 11:02:54,879 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 11:02:54,879 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower657: Last sync leader does not match current leader leader655, need to catch up to -1 11:02:54,880 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader655, need to catch up to -1 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower657 updated: matchIndex: -1, nextIndex: 0 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/16/2024 11:02:54.880] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66573f1f 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,880 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower656: Last sync leader does not match current leader leader655, need to catch up to -1 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower656 updated: matchIndex: -1, nextIndex: 0 11:02:54,880 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][01/16/2024 11:02:54.880] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] 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'. 11:02:54,880 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. [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'. [WARN] [01/16/2024 11:02:54.880] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3ba283c7 11:02:54,880 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] 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'. [INFO] [akkaDeadLetter][01/16/2024 11:02:54.880] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] 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'. [WARN] [01/16/2024 11:02:54.881] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@57a5d01a 11:02:54,881 AM [test-akka.actor.default-dispatcher-12] [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'. [INFO] [akkaDeadLetter][01/16/2024 11:02:54.881] [test-akka.actor.default-dispatcher-15] [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'. 11:02:54,889 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:54,889 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 starting 11:02:54,891 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: onShutDown 11:02:54,891 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Initiating leader transfer 11:02:54,892 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 11:02:54,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader655: pauseLeader successfully completed - doing transfer 11:02:54,892 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 11:02:54,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Attempting to transfer leadership 11:02:54,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,892 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 11:02:54,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:54,892 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:54,892 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:54,892 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [01/16/2024 11:02:54.892] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d03c11c 11:02:54,892 AM [test-akka.actor.default-dispatcher-18] [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'. [WARN] [01/16/2024 11:02:54.892] [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@33152a07 11:02:54,892 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] 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'. [WARN] [01/16/2024 11:02:54.892] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5a10a35 [INFO] [akkaDeadLetter][01/16/2024 11:02:54.892] [test-akka.actor.default-dispatcher-15] [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][01/16/2024 11:02:54.892] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower658] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] 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][01/16/2024 11:02:54.893] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:02:54,893 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:02:54,998 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:54,998 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:54,998 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,117 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,118 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,118 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,237 AM [test-akka.actor.default-dispatcher-7] [DEBUG] RaftActorLeadershipTransferCohort - leader655: leader transfer aborted 11:02:55,238 AM [test-akka.actor.default-dispatcher-7] [WARN] RaftActorLeadershipTransferCohort - leader655: Failed to transfer leadership in 345.8 ms 11:02:55,238 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: leader transfer failed - sending PoisonPill 11:02:55,238 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Leadership transfer expired 11:02:55,239 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,239 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 11:02:55,239 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [01/16/2024 11:02:55.239] [test-akka.actor.default-dispatcher-15] [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] [01/16/2024 11:02:55.239] [test-akka.actor.default-dispatcher-15] [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] [WARN] [01/16/2024 11:02:55.239] [test-akka.actor.default-dispatcher-15] [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] 11:02:55,240 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 ending 11:02:55,241 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 11:02:55,241 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-notifier659#2140975894] 11:02:55,253 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-collector660#1328359369] 11:02:55,253 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower656] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-notifier661#846323918] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-collector662#-1786753424] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower657] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier663#489387371] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector664#1740175555] 11:02:55,254 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 11:02:55,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-notifier665#285756758] 11:02:55,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-collector666#-2078985340] 11:02:55,255 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader655] 11:02:55,256 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 11:02:55,256 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [01/16/2024 11:02:55.258] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower668]: org.opendaylight.controller.cluster.common.actor.Monitor@50a04df6 11:02:55,259 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower668 with journal batch size 1000 11:02:55,260 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: SnapshotOffer called. 11:02:55,260 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Moving last applied index from -1 to -1 11:02:55,260 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=1, votedFor=null 11:02:55,260 AM [test-akka.actor.default-dispatcher-15] [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]] 11:02:55,260 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower668 in 91.62 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,261 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Recovery completed in 1.142 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:55.360] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower669]: org.opendaylight.controller.cluster.common.actor.Monitor@4664b83e 11:02:55,361 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower669 with journal batch size 1000 11:02:55,361 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: SnapshotOffer called. 11:02:55,361 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Moving last applied index from -1 to -1 11:02:55,361 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=1, votedFor=null 11:02:55,361 AM [test-akka.actor.default-dispatcher-15] [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]] 11:02:55,362 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower669 in 87.96 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,362 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Recovery completed in 911.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:55.362] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@66465139 11:02:55,363 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 11:02:55,364 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 11:02:55,364 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 11:02:55,364 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 11:02:55,364 AM [test-akka.actor.default-dispatcher-12] [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]] 11:02:55,364 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 81.76 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,365 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 971.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:55.367] [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@55829ae3 11:02:55,367 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader667 with journal batch size 1000 11:02:55,368 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: SnapshotOffer called. 11:02:55,368 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Moving last applied index from -1 to -1 11:02:55,368 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=1, votedFor=null 11:02:55,368 AM [test-akka.actor.default-dispatcher-6] [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]] 11:02:55,368 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader667 in 44.01 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,369 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Recovery completed in 647.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [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.170.54:25520, Removed) 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Received ElectionTimeout - switching to Candidate 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Election: Candidate has following voting peers: [follower669, follower668] 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=2, votedFor=leader667 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Starting new election term 2 11:02:55,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower669 11:02:55,748 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 11:02:55,748 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:55,748 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:55,748 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:55,748 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Cluster state: [] 11:02:55,748 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 11:02:55,748 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:55,748 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:55,748 AM [test-akka.actor.default-dispatcher-6] [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 11:02:55,748 AM [test-akka.actor.default-dispatcher-12] [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 11:02:55,748 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=null 11:02:55,748 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=null 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:55,749 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=leader667 11:02:55,749 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=leader667 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:55,749 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Election: Leader has following peers: [follower669, follower668, follower670] 11:02:55,749 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower669: Last sync leader does not match current leader leader667, need to catch up to -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 [WARN] [01/16/2024 11:02:55.750] [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@41b04d32 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower669 updated: matchIndex: -1, nextIndex: 0 11:02:55,750 AM [test-akka.actor.default-dispatcher-8] [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 11:02:55,750 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 11:02:55,750 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,750 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader leader667, need to catch up to -1 11:02:55,751 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader667, need to catch up to -1 [WARN] [01/16/2024 11:02:55.751] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26fe78b8 [WARN] [01/16/2024 11:02:55.751] [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@13f40e6c 11:02:55,769 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:55,769 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:02:55,776 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:02:55,776 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:02:55,777 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:02:55,777 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: onRequestLeadership RequestLeadership [requestedFollowerId=follower669, replyTo=Actor[akka://test/user/$a#803366943]] 11:02:55,779 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Initiating leader transfer 11:02:55,779 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader667: pauseLeader successfully completed - doing transfer 11:02:55,779 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 11:02:55,779 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Attempting to transfer leadership 11:02:55,779 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 11:02:55,779 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 11:02:55,779 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 11:02:55,779 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 11:02:55,779 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 11:02:55,779 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,779 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): tryToCompleteLeadershipTransfer: followerId: follower669, matchIndex: -1, lastIndex: -1, isVoting: true 11:02:55,779 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Follower's log matches - sending ElectionTimeout 11:02:55,779 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 11:02:55,779 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 11:02:55,779 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 [WARN] [01/16/2024 11:02:55.779] [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@2c215d86 11:02:55,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leader transfer complete 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader transfer complete - waiting for new leader [WARN] [01/16/2024 11:02:55.780] [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@6fbb4ced 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Received TimeoutNow - switching to Candidate [WARN] [01/16/2024 11:02:55.780] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f9e77d1 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Election: Candidate has following voting peers: [leader667, follower668] 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=3, votedFor=follower669 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Starting new election term 3 11:02:55,780 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 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:55,780 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 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Cluster state: [] 11:02:55,780 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [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 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=null 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [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 11:02:55,780 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=null 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leadership transfer in progress - processing RequestVote 11:02:55,780 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:55,781 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:55,781 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=follower669 11:02:55,781 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=follower669 11:02:55,781 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:02:55,781 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:02:55,781 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Election: Leader has following peers: [leader667, follower668, follower670] 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,782 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader667: Last sync leader does not match current leader follower669, need to catch up to -1 11:02:55,782 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 11:02:55,782 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader follower669, need to catch up to -1 11:02:55,782 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader changed to follower669 [WARN] [01/16/2024 11:02:55.782] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12c34988 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader667 updated: matchIndex: -1, nextIndex: 0 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,783 AM [test-akka.actor.default-dispatcher-15] [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 11:02:55,783 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=3, votedFor=null 11:02:55,783 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader667: Successfully transferred leadership to follower669 in 3.702 ms 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:55,783 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Leadership transferred successfully to follower669 11:02:55,783 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader follower669, need to catch up to -1 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 11:02:55,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:55.783] [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@539a5e36 [WARN] [01/16/2024 11:02:55.783] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6cc1d329 11:02:55,830 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 11:02:55,830 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-notifier671#-786931885] 11:02:55,841 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-collector672#-1365723194] 11:02:55,842 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower668] 11:02:55,842 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-notifier673#1886234820] 11:02:55,842 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-collector674#-1277728806] 11:02:55,842 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower669] 11:02:55,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier675#187817659] 11:02:55,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector676#-1140043452] 11:02:55,843 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 11:02:55,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-notifier677#737964313] 11:02:55,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-collector678#1339947875] 11:02:55,844 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader667] 11:02:55,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#803366943] 11:02:55,845 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 11:02:55,845 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [01/16/2024 11:02:55.847] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower680]: org.opendaylight.controller.cluster.common.actor.Monitor@5f0c6bfb 11:02:55,848 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower680 with journal batch size 1000 11:02:55,848 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: SnapshotOffer called. 11:02:55,848 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Moving last applied index from -1 to -1 11:02:55,848 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=1, votedFor=null 11:02:55,849 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]] 11:02:55,849 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower680 in 91.36 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,850 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: 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] [01/16/2024 11:02:55.851] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower681]: org.opendaylight.controller.cluster.common.actor.Monitor@4801d6e4 11:02:55,851 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower681 with journal batch size 1000 11:02:55,853 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: SnapshotOffer called. 11:02:55,853 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Moving last applied index from -1 to -1 11:02:55,853 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=1, votedFor=null 11:02:55,853 AM [test-akka.actor.default-dispatcher-8] [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]] 11:02:55,853 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower681 in 86.41 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,854 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Recovery completed in 1.028 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:55.952] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@7effa93e 11:02:55,953 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 11:02:55,954 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 11:02:55,954 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 11:02:55,954 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 11:02:55,954 AM [test-akka.actor.default-dispatcher-8] [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]] 11:02:55,954 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 77.30 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [01/16/2024 11:02:55.955] [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@33df503 11:02:55,955 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader679 with journal batch size 1000 11:02:55,956 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 1.741 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:55,956 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: SnapshotOffer called. 11:02:55,956 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Moving last applied index from -1 to -1 11:02:55,956 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=1, votedFor=null 11:02:55,957 AM [test-akka.actor.default-dispatcher-6] [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]] 11:02:55,957 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader679 in 94.09 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:55,958 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Recovery completed in 989.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [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.170.54:25520, Removed) 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Received ElectionTimeout - switching to Candidate 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Election: Candidate has following voting peers: [follower681, follower680] 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=2, votedFor=leader679 11:02:56,297 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Starting new election term 2 11:02:56,298 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower681 11:02:56,298 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower680 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:56,298 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Cluster state: [] 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [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 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=null 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Cluster state: [] 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [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 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=null 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=leader679 11:02:56,298 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=leader679 11:02:56,298 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Election: Leader has following peers: [follower681, follower680, follower682] 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:56,299 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:56,300 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower681: Last sync leader does not match current leader leader679, need to catch up to -1 11:02:56,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower681 updated: matchIndex: -1, nextIndex: 0 11:02:56,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:56.300] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1698da21 11:02:56,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower680: Last sync leader does not match current leader leader679, need to catch up to -1 11:02:56,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower680 updated: matchIndex: -1, nextIndex: 0 11:02:56,300 AM [test-akka.actor.default-dispatcher-16] [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 11:02:56,300 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:56,300 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null 11:02:56,300 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower682: Last sync leader does not match current leader leader679, need to catch up to -1 [WARN] [01/16/2024 11:02:56.300] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@13379a39 11:02:56,301 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 11:02:56,301 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:56.301] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5529ae22 11:02:56,307 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:56,307 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:02:56,307 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:02:56,307 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 starting 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: onShutDown 11:02:56,308 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 ending 11:02:56,308 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:02:56,308 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: onRequestLeadership RequestLeadership [requestedFollowerId=follower681, replyTo=Actor[akka://test/user/$b#1012070300]] 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Initiating leader transfer 11:02:56,308 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] RaftActorLeadershipTransferCohort - leader679: pauseLeader successfully completed - doing transfer 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Attempting to transfer leadership 11:02:56,308 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:56.308] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: LeaderTransitioning [leaderId=leader679] 11:02:56,309 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:56,309 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:56.309] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:56,309 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 11:02:56,309 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,309 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [01/16/2024 11:02:56.309] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@76b7256e [WARN] [01/16/2024 11:02:56.309] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@689c9394 [WARN] [01/16/2024 11:02:56.417] [test-akka.actor.default-dispatcher-6] [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=[]] 11:02:56,418 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,418 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [01/16/2024 11:02:56.537] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:56,537 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,537 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader679: leader transfer aborted 11:02:56,657 AM [test-akka.actor.default-dispatcher-18] [WARN] RaftActorLeadershipTransferCohort - leader679: Failed to transfer leadership in 348.8 ms 11:02:56,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: LeadershipTransfer request from follower681 failed 11:02:56,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Leadership transfer expired [WARN] [01/16/2024 11:02:56.658] [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=[]] 11:02:56,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,658 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 11:02:56,661 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 11:02:56,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-notifier683#-552315420] 11:02:56,672 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-collector684#1741522836] 11:02:56,672 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower680] 11:02:56,672 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-notifier685#-36116438] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-collector686#1412195802] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower681] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier687#-559120584] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector688#1124094914] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-notifier689#-63419125] 11:02:56,673 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-collector690#619147150] 11:02:56,674 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader679] 11:02:56,674 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#1012070300] 11:02:56,675 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 11:02:56,675 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [01/16/2024 11:02:56.677] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower692]: org.opendaylight.controller.cluster.common.actor.Monitor@3d2a71e6 11:02:56,677 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower692 with journal batch size 1000 11:02:56,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: SnapshotOffer called. 11:02:56,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to -1 11:02:56,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=1, votedFor=null 11:02:56,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Updated server config: isVoting: true, peers: [PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING]] 11:02:56,679 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower692 in 104.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [01/16/2024 11:02:56.679] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower693]: org.opendaylight.controller.cluster.common.actor.Monitor@72f9bf78 11:02:56,680 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Recovery completed in 1.289 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower693 with journal batch size 1000 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: SnapshotOffer called. 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to -1 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=1, votedFor=null 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [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]] 11:02:56,680 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower693 in 39.12 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:56,681 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Recovery completed in 794.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:56.781] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower694]: org.opendaylight.controller.cluster.common.actor.Monitor@44937bb2 11:02:56,782 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower694 with journal batch size 1000 11:02:56,783 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: SnapshotOffer called. 11:02:56,783 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to -1 11:02:56,783 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=1, votedFor=null 11:02:56,783 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Updated server config: isVoting: false, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING]] 11:02:56,783 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower694 in 103.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:56,784 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Recovery completed in 1.129 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:56.785] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader691]: org.opendaylight.controller.cluster.common.actor.Monitor@7a8fd50e 11:02:56,785 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader691 with journal batch size 1000 11:02:56,786 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: SnapshotOffer called. 11:02:56,786 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to -1 11:02:56,786 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=1, votedFor=null 11:02:56,786 AM [test-akka.actor.default-dispatcher-17] [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]] 11:02:56,786 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader691 in 82.52 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:56,790 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Recovery completed in 3.784 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:57,187 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [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.170.54:25520, Removed) 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Received ElectionTimeout - switching to Candidate 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Election: Candidate has following voting peers: [follower692, follower693] 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=2, votedFor=leader691 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Starting new election term 2 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower692 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower693 11:02:57,188 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:57,188 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:57,188 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. 11:02:57,188 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Cluster state: [] 11:02:57,188 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:57,188 AM [test-akka.actor.default-dispatcher-7] [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 11:02:57,188 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 11:02:57,188 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=null 11:02:57,188 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. 11:02:57,188 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 11:02:57,189 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=null 11:02:57,189 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:57,189 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=leader691 11:02:57,189 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 11:02:57,189 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=leader691 11:02:57,189 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:57,189 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:57,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:57,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:57,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Election: Leader has following peers: [follower692, follower694, follower693] 11:02:57,189 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:57,190 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower692: Last sync leader does not match current leader leader691, need to catch up to -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-16] [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 11:02:57,190 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=2, votedFor=null 11:02:57,190 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader leader691, need to catch up to -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: -1, nextIndex: 0 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:57.190] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@716b8ce9 11:02:57,190 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader leader691, need to catch up to -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: -1, nextIndex: 0 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: -1, nextIndex: 0 11:02:57,190 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:57.190] [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@44c8b541 [WARN] [01/16/2024 11:02:57.191] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@45f4a5c2 11:02:57,193 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:57,193 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 11:02:57,193 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,193 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,193 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:57,193 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 11:02:57,193 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower692 11:02:57,194 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]]] 11:02:57,194 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 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower694 11:02:57,194 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]]] 11:02:57,194 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 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 11:02:57,194 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]]] 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [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]]] 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Number of entries to be appended = 1 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Append entry to log zero 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,194 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]]] 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Number of entries to be appended = 1 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Append entry to log zero 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Log size is now 1 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Log size is now 1 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [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] 11:02:57,194 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 11:02:57,194 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] 11:02:57,194 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 11:02:57,194 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: 0, nextIndex: 1 11:02:57,194 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 11:02:57,194 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 11:02:57,195 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 11:02:57,195 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Setting last applied to 0 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to 0 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Applying state for log index 0 data zero 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: applyState called: zero 11:02:57,196 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persisting ApplyJournalEntries with index=0 11:02:57,196 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,196 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [01/16/2024 11:02:57.196] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@563cbc40 [WARN] [01/16/2024 11:02:57.196] [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@3a1f76b6 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [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]]] 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Commit index set to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Commit index set to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Setting last applied to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Setting last applied to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to 0 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Applying state for log index 0 data zero 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Applying state for log index 0 data zero 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: applyState called: zero 11:02:57,307 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: applyState called: zero 11:02:57,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Persisting ApplyJournalEntries with index=0 11:02:57,308 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Persisting ApplyJournalEntries with index=0 11:02:57,346 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 11:02:57,346 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: onShutDown 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Initiating leader transfer 11:02:57,346 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader691: pauseLeader successfully completed - doing transfer 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Attempting to transfer leadership 11:02:57,346 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,346 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,346 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 11:02:57,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 11:02:57,347 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): tryToCompleteLeadershipTransfer: followerId: follower692, matchIndex: 0, lastIndex: 0, isVoting: true 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Follower's log matches - sending ElectionTimeout 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,347 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 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leader transfer complete 11:02:57,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader transfer complete - waiting for new leader 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Received TimeoutNow - switching to Candidate 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Election: Candidate has following voting peers: [follower693, leader691] 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=3, votedFor=follower692 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Starting new election term 3 11:02:57,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer follower693 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer leader691 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:02:57,348 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. 11:02:57,348 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 11:02:57,348 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. 11:02:57,348 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 11:02:57,348 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=null 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:57,348 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 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Cluster state: [] 11:02:57,348 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=follower692 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [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 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=null 11:02:57,348 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leadership transfer in progress - processing RequestVote 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=follower692 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:02:57,348 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:02:57,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:02:57,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:02:57,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Election: Leader has following peers: [follower694, follower693, leader691] 11:02:57,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,350 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,350 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,350 AM [test-akka.actor.default-dispatcher-8] [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 11:02:57,350 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=3, votedFor=null 11:02:57,350 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 11:02:57,350 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader follower692, need to catch up to -1 11:02:57,350 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 11:02:57,350 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,350 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 11:02:57,350 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader691 updated: matchIndex: 0, nextIndex: 1 11:02:57,350 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader changed to follower692 11:02:57,350 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,350 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader691: Successfully transferred leadership to follower692 in 4.031 ms 11:02:57,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 11:02:57,350 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: leader transfer succeeded - sending PoisonPill 11:02:57,351 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader691: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [01/16/2024 11:02:57.350] [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@4d122e6f [WARN] [01/16/2024 11:02:57.351] [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@27059684 [WARN] [01/16/2024 11:02:57.351] [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@202040b5 [WARN] [01/16/2024 11:02:57.351] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader691] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e6635fe 11:02:57,868 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader follower692, need to catch up to -1 [WARN] [01/16/2024 11:02:57.868] [test-akka.actor.default-dispatcher-17] [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=[]] 11:02:57,868 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): sendAppendEntries: 0 is present for follower follower693 11:02:57,868 AM [test-akka.actor.default-dispatcher-8] [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] [01/16/2024 11:02:57.868] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f53d8b7 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [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]]] 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Number of entries to be appended = 1 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Append entry to log zero 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Log size is now 1 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Commit index set to 0 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower693: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Setting last applied to 0 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to 0 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Applying state for log index 0 data zero 11:02:57,868 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: 0, nextIndex: 1 11:02:57,868 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:57,868 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: applyState called: zero 11:02:57,869 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:57,869 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:57.870] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@122da4eb 11:02:57,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 11:02:57,902 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 11:02:57,902 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 starting 11:02:57,902 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onShutDown 11:02:57,903 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 ending 11:02:57,903 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 11:02:57,903 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-notifier695#2109959609] 11:02:57,915 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-collector696#1467757724] 11:02:57,921 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower692] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-notifier697#-410042109] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-collector698#-1464688896] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower693] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-notifier699#-326678076] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-collector700#1093201536] 11:02:57,922 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower694] 11:02:57,923 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-notifier701#-831121711] 11:02:57,923 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-collector702#1464514010] 11:02:57,923 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader691] 11:02:57,924 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [01/16/2024 11:02:57.926] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader703]: org.opendaylight.controller.cluster.common.actor.Monitor@4de20b4 11:02:57,927 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader703 with journal batch size 1000 11:02:57,928 AM [test-akka.actor.default-dispatcher-15] [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 11:02:57,928 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:57,928 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower): Received TimeoutNow - switching to Candidate 11:02:57,928 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Election: Candidate has following voting peers: [] 11:02:57,928 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: Set currentTerm=1, votedFor=leader703 11:02:57,929 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Starting new election term 1 11:02:57,929 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:02:57,930 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Received ElectionTimeout 11:02:57,930 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Leader): Election: Leader has following peers: [] 11:02:57,930 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:02:58,26 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 starting 11:02:58,27 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: onShutDown 11:02:58,28 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 ending 11:02:58,28 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 11:02:58,29 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader703-collector707#1996140709] 11:02:58,40 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader703] 11:02:58,41 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 11:02:58,41 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:58,43 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower709 with journal batch size 1000 [WARN] [01/16/2024 11:02:58.043] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower709]: org.opendaylight.controller.cluster.common.actor.Monitor@a655629 11:02:58,44 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: SnapshotOffer called. 11:02:58,44 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to -1 11:02:58,44 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=1, votedFor=null 11:02:58,44 AM [test-akka.actor.default-dispatcher-7] [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]] 11:02:58,45 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower709 in 117.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,46 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Recovery completed in 1.680 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:58.049] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower710]: org.opendaylight.controller.cluster.common.actor.Monitor@75072370 11:02:58,49 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower710 with journal batch size 1000 11:02:58,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: SnapshotOffer called. 11:02:58,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Moving last applied index from -1 to -1 11:02:58,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=1, votedFor=null 11:02:58,50 AM [test-akka.actor.default-dispatcher-17] [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]] 11:02:58,50 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower710 in 84.20 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,51 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Recovery completed in 1.016 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:58.053] [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@49287d3b 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [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]] 11:02:58,54 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 54.37 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,55 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 691.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:58.055] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader708]: org.opendaylight.controller.cluster.common.actor.Monitor@3667fcf0 11:02:58,56 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader708 with journal batch size 1000 11:02:58,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: SnapshotOffer called. 11:02:58,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to -1 11:02:58,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=1, votedFor=null 11:02:58,56 AM [test-akka.actor.default-dispatcher-18] [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]] 11:02:58,56 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader708 in 45.38 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,57 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Recovery completed in 580.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [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.170.54:25520, Removed) 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Received ElectionTimeout - switching to Candidate 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Election: Candidate has following voting peers: [follower710, follower709] 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=2, votedFor=leader708 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Starting new election term 2 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower710 11:02:58,407 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower709 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Cluster state: [] 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [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 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Cluster state: [] 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [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 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=null 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=null 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=leader708 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:58,408 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=leader708 11:02:58,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Election: Leader has following peers: [follower711, follower710, follower709] 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:58,409 AM [test-akka.actor.default-dispatcher-18] [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 11:02:58,409 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 11:02:58,409 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 11:02:58,409 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader708, need to catch up to -1 11:02:58,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower710 updated: matchIndex: -1, nextIndex: 0 11:02:58,409 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 11:02:58,410 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower709: Last sync leader does not match current leader leader708, need to catch up to -1 11:02:58,410 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 11:02:58,410 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 [WARN] [01/16/2024 11:02:58.409] [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@12b1a019 11:02:58,410 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: -1, nextIndex: 0 11:02:58,410 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] [01/16/2024 11:02:58.410] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f1afe25 [WARN] [01/16/2024 11:02:58.410] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6452151e 11:02:58,411 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:58,411 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:02:58,411 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:02:58,411 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 11:02:58,411 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:58,411 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:58,411 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:58,412 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 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower711 11:02:58,412 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]]] 11:02:58,412 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 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 11:02:58,412 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]]] 11:02:58,412 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 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower709 11:02:58,412 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]]] 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [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]]] 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Number of entries to be appended = 1 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Append entry to log zero 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Log size is now 1 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [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] 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 11:02:58,412 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]]] 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Number of entries to be appended = 1 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Append entry to log zero 11:02:58,412 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Log size is now 1 11:02:58,413 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] 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: 0, nextIndex: 1 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: 0, nextIndex: 1 11:02:58,413 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Setting last applied to 0 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to 0 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Applying state for log index 0 data zero 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: applyState called: zero 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persisting ApplyJournalEntries with index=0 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [01/16/2024 11:02:58.414] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2296b93e 11:02:58,414 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [01/16/2024 11:02:58.414] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@55fd4ef4 11:02:58,527 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [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]]] 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Commit index set to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Setting last applied to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Applying state for log index 0 data zero 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: applyState called: zero 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Commit index set to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Persisting ApplyJournalEntries with index=0 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Setting last applied to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to 0 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Applying state for log index 0 data zero 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: applyState called: zero 11:02:58,528 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Persisting ApplyJournalEntries with index=0 11:02:58,564 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 11:02:58,564 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:02:58,564 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:02:58,564 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: onRequestLeadership RequestLeadership [requestedFollowerId=follower710, replyTo=Actor[akka://test/user/$c#419752226]] 11:02:58,564 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Initiating leader transfer 11:02:58,564 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 11:02:58,565 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader708: pauseLeader successfully completed - doing transfer 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Attempting to transfer leadership 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:58,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 11:02:58,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:58,565 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 11:02:58,647 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]]] 11:02:58,768 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader708: leader transfer aborted 11:02:58,888 AM [test-akka.actor.default-dispatcher-18] [WARN] RaftActorLeadershipTransferCohort - leader708: Failed to transfer leadership in 323.4 ms 11:02:58,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: LeadershipTransfer request from follower710 failed 11:02:58,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Leadership transfer expired 11:02:58,888 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,889 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 11:02:58,919 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 11:02:58,919 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-notifier712#826036054] 11:02:58,929 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-collector713#1037109240] 11:02:58,930 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower709] 11:02:58,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-notifier714#1886520376] 11:02:58,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-collector715#-786901330] 11:02:58,930 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower710] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier716#1029392993] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector717#1581823305] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-notifier718#-822856985] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-collector719#-885235740] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader708] 11:02:58,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#419752226] 11:02:58,932 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 11:02:58,932 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [01/16/2024 11:02:58.934] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower721]: org.opendaylight.controller.cluster.common.actor.Monitor@22a8f263 11:02:58,934 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower721 with journal batch size 1000 11:02:58,935 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: SnapshotOffer called. 11:02:58,935 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Moving last applied index from -1 to -1 11:02:58,935 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=1, votedFor=null 11:02:58,935 AM [test-akka.actor.default-dispatcher-8] [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]] 11:02:58,935 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower721 in 90.37 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,936 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Recovery completed in 916.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:58.937] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower722]: org.opendaylight.controller.cluster.common.actor.Monitor@28534f00 11:02:58,937 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower722 with journal batch size 1000 11:02:58,938 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: SnapshotOffer called. 11:02:58,938 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Moving last applied index from -1 to -1 11:02:58,938 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=1, votedFor=null 11:02:58,938 AM [test-akka.actor.default-dispatcher-17] [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]] 11:02:58,938 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower722 in 72.06 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,939 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Recovery completed in 956.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:58,939 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower723 with journal batch size 1000 [WARN] [01/16/2024 11:02:58.939] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower723]: org.opendaylight.controller.cluster.common.actor.Monitor@5ef148d6 11:02:58,940 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: SnapshotOffer called. 11:02:58,940 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Moving last applied index from -1 to -1 11:02:58,940 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=1, votedFor=null 11:02:58,940 AM [test-akka.actor.default-dispatcher-8] [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]] 11:02:58,940 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower723 in 39.56 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:58,941 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Recovery completed in 746.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 11:02:59.042] [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@50ad4c90 11:02:59,42 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader720 with journal batch size 1000 11:02:59,43 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: SnapshotOffer called. 11:02:59,43 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Moving last applied index from -1 to -1 11:02:59,43 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=1, votedFor=null 11:02:59,43 AM [test-akka.actor.default-dispatcher-18] [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]] 11:02:59,43 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader720 in 94.39 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:02:59,46 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Recovery completed in 3.158 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:02:59,377 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [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.170.54:25520, Removed) 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Received ElectionTimeout - switching to Candidate 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Election: Candidate has following voting peers: [follower722, follower721] 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=2, votedFor=leader720 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Starting new election term 2 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower722 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:59,378 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Cluster state: [] 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [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 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=null 11:02:59,378 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:59,378 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Cluster state: [] 11:02:59,378 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:59,378 AM [test-akka.actor.default-dispatcher-18] [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 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:59,378 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=null 11:02:59,378 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=leader720 11:02:59,379 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:59,379 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:59,379 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=leader720 11:02:59,379 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Election: Leader has following peers: [follower722, follower721, follower723] 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,379 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:59,380 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower722: Last sync leader does not match current leader leader720, need to catch up to -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower721: Last sync leader does not match current leader leader720, need to catch up to -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower722 updated: matchIndex: -1, nextIndex: 0 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [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 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=2, votedFor=null [WARN] [01/16/2024 11:02:59.380] [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@30d87493 [WARN] [01/16/2024 11:02:59.380] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower721] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@9a8a041 11:02:59,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower721 updated: matchIndex: -1, nextIndex: 0 11:02:59,380 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower723: Last sync leader does not match current leader leader720, need to catch up to -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower723 updated: matchIndex: -1, nextIndex: 0 11:02:59,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:59.381] [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@6de55edc 11:02:59,400 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:02:59,400 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:02:59,400 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:02:59,400 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower721] 11:02:59,411 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower723] 11:02:59,422 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:02:59,422 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: onRequestLeadership RequestLeadership [requestedFollowerId=follower722, replyTo=Actor[akka://test/user/$d#-1737960667]] 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Initiating leader transfer 11:02:59,422 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: onLeaderTransitioning: LeaderTransitioning [leaderId=leader720] 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader720: pauseLeader successfully completed - doing transfer 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Attempting to transfer leadership 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:59.422] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 11:02:59,422 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 [WARN] [01/16/2024 11:02:59.422] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 11:02:59,422 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 11:02:59,422 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) [WARN] [01/16/2024 11:02:59.422] [test-akka.actor.default-dispatcher-7] [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=[]] [WARN] [01/16/2024 11:02:59.422] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): tryToCompleteLeadershipTransfer: followerId: follower722, matchIndex: -1, lastIndex: -1, isVoting: true 11:02:59,422 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Follower's log matches - sending ElectionTimeout 11:02:59,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:59,423 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 [WARN] [01/16/2024 11:02:59.423] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b62d8a3 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 11:02:59,423 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 [WARN] [01/16/2024 11:02:59.423] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:59,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leader transfer complete 11:02:59,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader transfer complete - waiting for new leader [WARN] [01/16/2024 11:02:59.423] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Received TimeoutNow - switching to Candidate 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Election: Candidate has following voting peers: [follower721, leader720] 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=3, votedFor=follower722 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Starting new election term 3 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer leader720 11:02:59,423 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:02:59,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [01/16/2024 11:02:59.423] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/follower722]: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Cluster state: [] 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [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 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=null 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leadership transfer in progress - processing RequestVote 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): In requestVote: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=follower722 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:02:59,424 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:02:59,424 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:02:59,424 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:02:59,424 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Election: Leader has following peers: [follower721, leader720, follower723] 11:02:59,425 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 11:02:59,425 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 11:02:59,425 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] [01/16/2024 11:02:59.425] [test-akka.actor.default-dispatcher-6] [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=[]] 11:02:59,425 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 11:02:59,425 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader720: Last sync leader does not match current leader follower722, need to catch up to -1 [WARN] [01/16/2024 11:02:59.425] [test-akka.actor.default-dispatcher-6] [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=[]] 11:02:59,425 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader changed to follower722 11:02:59,425 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader720 updated: matchIndex: -1, nextIndex: 0 11:02:59,425 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 11:02:59,425 AM [test-akka.actor.default-dispatcher-18] [INFO] RaftActorLeadershipTransferCohort - leader720: Successfully transferred leadership to follower722 in 3.151 ms 11:02:59,425 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Leadership transferred successfully to follower722 [WARN] [01/16/2024 11:02:59.425] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader720] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a4ee45f 11:02:59,473 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 11:02:59,473 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-notifier724#1506755542] 11:02:59,484 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-collector725#-1888407181] 11:02:59,484 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-notifier726#-1571788343] 11:02:59,484 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-collector727#1084323647] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower722] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-notifier728#959233858] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-collector729#-1027196092] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-notifier730#932640914] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-collector731#-2073442377] 11:02:59,485 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader720] 11:02:59,486 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#-1737960667] [INFO] [01/16/2024 11:02:59.487] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:02:59,488 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/16/2024 11:02:59.489] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.54:25520) [INFO] [01/16/2024 11:02:59.489] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Exiting completed [INFO] [01/16/2024 11:02:59.489] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Shutting down... 11:02:59,489 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Exiting completed 11:02:59,489 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Shutting down... 11:02:59,489 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Successfully shut down [INFO] [01/16/2024 11:02:59.489] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Successfully shut down [INFO] [01/16/2024 11:02:59.490] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.54:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [01/16/2024 11:02:59.491] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.54:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:02:59,491 AM [test-akka.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:02:59,491 AM [test-akka.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/16/2024 11:02:59.496] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.170.54:25520/system/remoting-terminator] Remoting shut down. 11:02:59,496 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [01/16/2024 11:02:59.497] [test-akka.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger