[DEBUG] [03/25/2024 07:43:26.329] [main] [EventStream(akka://test)] logger log1-TestEventListener started 07:43:26,329 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/25/2024 07:43:26.329] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/25/2024 07:43:26.329] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/25/2024 07:43:26.343] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.89:25520] with UID [-3364933810304679055] [INFO] [03/25/2024 07:43:26.344] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Starting up, Akka version [2.6.21] ... 07:43:26,344 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.89:25520] with UID [-3364933810304679055] 07:43:26,344 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/25/2024 07:43:26.347] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/25/2024 07:43:26.347] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Started up successfully 07:43:26,352 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Registered cluster JMX MBean [akka:type=Cluster] 07:43:26,352 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Started up successfully 07:43:26,354 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 07:43:26,354 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [INFO] [03/25/2024 07:43:26.356] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/25/2024 07:43:26.356] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:43:26,357 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 07:43:26,357 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [03/25/2024 07:43:26.357] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower656]: org.opendaylight.controller.cluster.common.actor.Monitor@28ff7b6a [INFO] [akkaDeadLetter][03/25/2024 07:43:26.357] [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'. 07:43:26,357 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'. 07:43:26,358 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower656 with journal batch size 1000 [WARN] [03/25/2024 07:43:26.359] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower657]: org.opendaylight.controller.cluster.common.actor.Monitor@697285eb [INFO] [akkaDeadLetter][03/25/2024 07:43:26.359] [test-akka.actor.default-dispatcher-6] [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'. 07:43:26,359 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'. 07:43:26,359 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower657 with journal batch size 1000 07:43:26,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: SnapshotOffer called. 07:43:26,360 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: SnapshotOffer called. 07:43:26,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Moving last applied index from -1 to -1 07:43:26,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=1, votedFor=null 07:43:26,360 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Moving last applied index from -1 to -1 07:43:26,360 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=1, votedFor=null 07:43:26,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Updated server config: isVoting: true, peers: [PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=NON_VOTING], PeerInfo [id=follower657, address=akka://test/user/follower657, votingState=VOTING], PeerInfo [id=leader655, address=akka://test/user/leader655, votingState=VOTING]] 07:43:26,360 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]] 07:43:26,360 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower656 in 62.29 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:26,360 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower657 in 66.03 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:26,361 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Recovery completed in 1.019 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:26,361 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Recovery completed in 1.069 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:26.461] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@3e1da34e [INFO] [akkaDeadLetter][03/25/2024 07:43:26.461] [test-akka.actor.default-dispatcher-15] [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'. 07:43:26,461 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'. 07:43:26,462 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 07:43:26,463 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 07:43:26,463 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 07:43:26,463 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 07:43:26,463 AM [test-akka.actor.default-dispatcher-11] [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]] 07:43:26,463 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 81.44 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:26,464 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.430 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:26.465] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader655]: org.opendaylight.controller.cluster.common.actor.Monitor@e0e8542 07:43:26,466 AM [test-akka.actor.default-dispatcher-18] [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'. [INFO] [akkaDeadLetter][03/25/2024 07:43:26.465] [test-akka.actor.default-dispatcher-12] [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'. 07:43:26,466 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader655 with journal batch size 1000 07:43:26,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: SnapshotOffer called. 07:43:26,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Moving last applied index from -1 to -1 07:43:26,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=1, votedFor=null 07:43:26,467 AM [test-akka.actor.default-dispatcher-11] [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]] 07:43:26,467 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader655 in 66.10 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:26,468 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Recovery completed in 901.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Received ElectionTimeout - switching to Candidate 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Election: Candidate has following voting peers: [follower656, follower657] 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=2, votedFor=leader655 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Starting new election term 2 07:43:26,795 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower656 07:43:26,796 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower657 07:43:26,796 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Cluster state: [] 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Cluster state: [] 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [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 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [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 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=null 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=null 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=leader655 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=leader655 07:43:26,796 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:26,796 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:26,797 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:26,797 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:26,797 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Election: Leader has following peers: [follower656, follower658, follower657] 07:43:26,797 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower656: Last sync leader does not match current leader leader655, need to catch up to -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-18] [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 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:26,798 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 07:43:26,798 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader655, need to catch up to -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower657: Last sync leader does not match current leader leader655, need to catch up to -1 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower656 updated: matchIndex: -1, nextIndex: 0 07:43:26,798 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 [WARN] [03/25/2024 07:43:26.798] [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@1d65dd82 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 07:43:26.798] [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@5867504a 07:43:26,798 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 [INFO] [akkaDeadLetter][03/25/2024 07:43:26.798] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:26,798 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower657 updated: matchIndex: -1, nextIndex: 0 07:43:26,798 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 [INFO] [akkaDeadLetter][03/25/2024 07:43:26.798] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:26,798 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:26,798 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [03/25/2024 07:43:26.799] [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@52ac9b06 [INFO] [akkaDeadLetter][03/25/2024 07:43:26.799] [test-akka.actor.default-dispatcher-11] [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'. 07:43:26,800 AM [test-akka.actor.default-dispatcher-11] [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'. 07:43:26,821 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:26,821 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 starting 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: onShutDown 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Initiating leader transfer 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader655: pauseLeader successfully completed - doing transfer 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Attempting to transfer leadership 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:26,823 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:26,824 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 07:43:26,824 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:26,824 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 07:43:26,824 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:26,824 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] [WARN] [03/25/2024 07:43:26.824] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ea1f02d [WARN] [03/25/2024 07:43:26.824] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@594687df [WARN] [03/25/2024 07:43:26.824] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39198517 [INFO] [akkaDeadLetter][03/25/2024 07:43:26.824] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/25/2024 07:43:26.824] [test-akka.actor.default-dispatcher-12] [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][03/25/2024 07:43:26.825] [test-akka.actor.default-dispatcher-12] [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'. 07:43:26,825 AM [test-akka.actor.default-dispatcher-12] [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'. 07:43:26,825 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. [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'. 07:43:26,825 AM [test-akka.actor.default-dispatcher-12] [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'. 07:43:26,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:26,916 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:26,918 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,35 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,35 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,155 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader655: leader transfer aborted 07:43:27,156 AM [test-akka.actor.default-dispatcher-16] [WARN] RaftActorLeadershipTransferCohort - leader655: Failed to transfer leadership in 332.4 ms 07:43:27,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: leader transfer failed - sending PoisonPill 07:43:27,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Leadership transfer expired 07:43:27,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 07:43:27,156 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [03/25/2024 07:43:27.156] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader655] received dead letter from TestActor[akka://test/user/follower656]: AppendEntriesReply [term=2, success=true, followerId=follower656, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/25/2024 07:43:27.157] [test-akka.actor.default-dispatcher-12] [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] [03/25/2024 07:43:27.157] [test-akka.actor.default-dispatcher-12] [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] 07:43:27,158 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 ending 07:43:27,160 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 07:43:27,160 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-notifier659#-1531051423] 07:43:27,171 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-collector660#117770555] 07:43:27,171 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower656] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-notifier661#-1588680302] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-collector662#-1866360657] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower657] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier663#419937969] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector664#-1357166073] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-notifier665#716008749] 07:43:27,172 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-collector666#-108259114] 07:43:27,173 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader655] 07:43:27,173 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 07:43:27,173 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:27,176 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower668 with journal batch size 1000 [WARN] [03/25/2024 07:43:27.176] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower668]: org.opendaylight.controller.cluster.common.actor.Monitor@362c3acd 07:43:27,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: SnapshotOffer called. 07:43:27,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Moving last applied index from -1 to -1 07:43:27,177 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=1, votedFor=null 07:43:27,177 AM [test-akka.actor.default-dispatcher-12] [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]] 07:43:27,177 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower668 in 73.80 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:27,178 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Recovery completed in 837.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:27.277] [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@23b5aed9 07:43:27,277 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower669 with journal batch size 1000 07:43:27,277 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: SnapshotOffer called. 07:43:27,278 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Moving last applied index from -1 to -1 07:43:27,278 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=1, votedFor=null 07:43:27,278 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:27,278 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower669 in 57.06 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:27,278 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Recovery completed in 712.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:27.378] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@138c7c56 07:43:27,379 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 07:43:27,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 07:43:27,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 07:43:27,380 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 07:43:27,380 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:27,381 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 80.50 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:27,382 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 1.517 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:27.480] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader667]: org.opendaylight.controller.cluster.common.actor.Monitor@24ebdc25 07:43:27,480 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader667 with journal batch size 1000 07:43:27,482 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: SnapshotOffer called. 07:43:27,482 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Moving last applied index from -1 to -1 07:43:27,482 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=1, votedFor=null 07:43:27,482 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:27,482 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader667 in 85.08 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:27,483 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Recovery completed in 1.533 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Received ElectionTimeout - switching to Candidate 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Election: Candidate has following voting peers: [follower669, follower668] 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=2, votedFor=leader667 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Starting new election term 2 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower669 07:43:27,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 07:43:27,816 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:27,816 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. 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Cluster state: [] 07:43:27,816 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:27,816 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. 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [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 07:43:27,816 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 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=null 07:43:27,816 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=null 07:43:27,816 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 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:27,816 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=leader667 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=leader667 07:43:27,816 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:27,816 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Election: Leader has following peers: [follower669, follower668, follower670] 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:27,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader leader667, need to catch up to -1 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower669: Last sync leader does not match current leader leader667, need to catch up to -1 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [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 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader667, need to catch up to -1 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower669 updated: matchIndex: -1, nextIndex: 0 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 07:43:27,819 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:27.820] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7813329b [WARN] [03/25/2024 07:43:27.820] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower669] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@10bc6a2 [WARN] [03/25/2024 07:43:27.820] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53b5f0c3 07:43:27,832 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:27,832 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 07:43:27,832 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 07:43:27,832 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 07:43:27,832 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 07:43:27,833 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: onRequestLeadership RequestLeadership [requestedFollowerId=follower669, replyTo=Actor[akka://test/user/$a#-65114776]] 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Initiating leader transfer 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader667: pauseLeader successfully completed - doing transfer 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Attempting to transfer leadership 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,834 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 07:43:27,834 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): tryToCompleteLeadershipTransfer: followerId: follower669, matchIndex: -1, lastIndex: -1, isVoting: true 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Follower's log matches - sending ElectionTimeout 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:27.834] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4329f6de 07:43:27,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 07:43:27,834 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,835 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leader transfer complete 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 07:43:27,835 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader transfer complete - waiting for new leader [WARN] [03/25/2024 07:43:27.834] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39d9106a 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) [WARN] [03/25/2024 07:43:27.835] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower669] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ae2e4f9 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Received TimeoutNow - switching to Candidate 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Election: Candidate has following voting peers: [leader667, follower668] 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=3, votedFor=follower669 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Starting new election term 3 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer leader667 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Cluster state: [] 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [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 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=null 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leadership transfer in progress - processing RequestVote 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=follower669 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 07:43:27,835 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader) :- Switching from behavior Leader to Follower, election term: 3 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [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 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=null 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=follower669 07:43:27,836 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Election: Leader has following peers: [leader667, follower668, follower670] 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [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 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=3, votedFor=null 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader follower669, need to catch up to -1 07:43:27,837 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 07:43:27,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader667: Last sync leader does not match current leader follower669, need to catch up to -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 07:43:27,837 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader changed to follower669 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader667 updated: matchIndex: -1, nextIndex: 0 07:43:27,837 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:27.837] [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@f69ffee 07:43:27,837 AM [test-akka.actor.default-dispatcher-6] [INFO] RaftActorLeadershipTransferCohort - leader667: Successfully transferred leadership to follower669 in 3.482 ms 07:43:27,838 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Leadership transferred successfully to follower669 [WARN] [03/25/2024 07:43:27.838] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader667] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2cb9ad4c [WARN] [03/25/2024 07:43:27.838] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@11cf478f 07:43:27,884 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 07:43:27,884 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-notifier671#-421191652] 07:43:27,895 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-collector672#-630329854] 07:43:27,895 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower668] 07:43:27,896 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-notifier673#1416376193] 07:43:27,897 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-collector674#21721719] 07:43:27,897 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower669] 07:43:27,897 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier675#-2109153007] 07:43:27,897 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector676#326718274] 07:43:27,897 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 07:43:27,898 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-notifier677#-330540796] 07:43:27,898 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-collector678#984919560] 07:43:27,898 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader667] 07:43:27,898 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#-65114776] 07:43:27,899 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 07:43:27,899 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 07:43:27.901] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower680]: org.opendaylight.controller.cluster.common.actor.Monitor@226cf6dd 07:43:27,902 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower680 with journal batch size 1000 07:43:27,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: SnapshotOffer called. 07:43:27,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Moving last applied index from -1 to -1 07:43:27,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=1, votedFor=null 07:43:27,903 AM [test-akka.actor.default-dispatcher-12] [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]] 07:43:27,903 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower680 in 86.99 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:27,905 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Recovery completed in 1.649 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:28,4 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower681 with journal batch size 1000 [WARN] [03/25/2024 07:43:28.005] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower681]: org.opendaylight.controller.cluster.common.actor.Monitor@19e6a248 07:43:28,6 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: SnapshotOffer called. 07:43:28,6 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Moving last applied index from -1 to -1 07:43:28,6 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=1, votedFor=null 07:43:28,6 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:28,6 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower681 in 86.08 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:28,7 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Recovery completed in 955.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:28.105] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@6699da0b 07:43:28,106 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 07:43:28,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 07:43:28,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 07:43:28,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 07:43:28,107 AM [test-akka.actor.default-dispatcher-17] [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]] 07:43:28,107 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 96.46 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/25/2024 07:43:28.108] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader679]: org.opendaylight.controller.cluster.common.actor.Monitor@16093c70 07:43:28,109 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 1.450 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:28,109 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader679 with journal batch size 1000 07:43:28,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: SnapshotOffer called. 07:43:28,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Moving last applied index from -1 to -1 07:43:28,110 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=1, votedFor=null 07:43:28,110 AM [test-akka.actor.default-dispatcher-11] [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]] 07:43:28,110 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader679 in 80.01 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:28,111 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Recovery completed in 966.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Received ElectionTimeout - switching to Candidate 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Election: Candidate has following voting peers: [follower681, follower680] 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=2, votedFor=leader679 07:43:28,515 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Starting new election term 2 07:43:28,516 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower681 07:43:28,516 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower680 07:43:28,516 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Cluster state: [] 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Cluster state: [] 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [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 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [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 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=null 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=null 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=leader679 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=leader679 07:43:28,516 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:28,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:28,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:28,517 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Election: Leader has following peers: [follower681, follower680, follower682] 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:28,518 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower681: Last sync leader does not match current leader leader679, need to catch up to -1 [WARN] [03/25/2024 07:43:28.518] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26db5219 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower681 updated: matchIndex: -1, nextIndex: 0 07:43:28,518 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower680: Last sync leader does not match current leader leader679, need to catch up to -1 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,518 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 07:43:28,518 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null [WARN] [03/25/2024 07:43:28.518] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12da28a6 07:43:28,519 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 07:43:28,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower680 updated: matchIndex: -1, nextIndex: 0 07:43:28,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 07:43:28,519 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:28.519] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c85c280 07:43:28,564 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:28,564 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 07:43:28,565 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 07:43:28,565 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 starting 07:43:28,565 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: onShutDown 07:43:28,565 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 ending 07:43:28,565 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 07:43:28,565 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 07:43:28,565 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: onRequestLeadership RequestLeadership [requestedFollowerId=follower681, replyTo=Actor[akka://test/user/$b#1910075256]] 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Initiating leader transfer 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader679: pauseLeader successfully completed - doing transfer 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Attempting to transfer leadership 07:43:28,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:28.566] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: LeaderTransitioning [leaderId=leader679] 07:43:28,566 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:28.566] [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=[]] 07:43:28,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 07:43:28,566 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 07:43:28,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [03/25/2024 07:43:28.566] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b2aa5a6 [WARN] [03/25/2024 07:43:28.567] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@508a7059 [WARN] [03/25/2024 07:43:28.635] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 07:43:28.755] [test-akka.actor.default-dispatcher-11] [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=[]] 07:43:28,755 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 07:43:28,756 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 07:43:28,875 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader679: leader transfer aborted 07:43:28,875 AM [test-akka.actor.default-dispatcher-18] [WARN] RaftActorLeadershipTransferCohort - leader679: Failed to transfer leadership in 309.0 ms 07:43:28,875 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: LeadershipTransfer request from follower681 failed 07:43:28,876 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Leadership transfer expired [WARN] [03/25/2024 07:43:28.876] [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=[]] 07:43:28,876 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 07:43:28,876 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 07:43:28,919 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 07:43:28,919 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-notifier683#2123692534] 07:43:28,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-collector684#-824081205] 07:43:28,930 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower680] 07:43:28,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-notifier685#220620121] 07:43:28,930 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-collector686#279824719] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower681] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier687#2127484128] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector688#-759882316] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-notifier689#1568276695] 07:43:28,931 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-collector690#261714244] 07:43:28,932 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader679] 07:43:28,932 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#1910075256] 07:43:28,933 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 07:43:28,933 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:28,935 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower692 with journal batch size 1000 [WARN] [03/25/2024 07:43:28.935] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower692]: org.opendaylight.controller.cluster.common.actor.Monitor@798f57ae 07:43:28,936 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: SnapshotOffer called. 07:43:28,936 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to -1 07:43:28,936 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=1, votedFor=null 07:43:28,936 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:28,937 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower692 in 105.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:28,938 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Recovery completed in 1.436 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:28,943 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower693 with journal batch size 1000 [WARN] [03/25/2024 07:43:28.943] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower693]: org.opendaylight.controller.cluster.common.actor.Monitor@6449bac4 07:43:28,944 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: SnapshotOffer called. 07:43:28,944 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to -1 07:43:28,944 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=1, votedFor=null 07:43:28,944 AM [test-akka.actor.default-dispatcher-12] [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]] 07:43:28,944 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower693 in 50.50 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:28,945 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Recovery completed in 575.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:29.045] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower694]: org.opendaylight.controller.cluster.common.actor.Monitor@736e2256 07:43:29,45 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower694 with journal batch size 1000 07:43:29,46 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: SnapshotOffer called. 07:43:29,46 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to -1 07:43:29,46 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=1, votedFor=null 07:43:29,46 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:29,46 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower694 in 79.94 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:29,47 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Recovery completed in 954.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:29.146] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader691]: org.opendaylight.controller.cluster.common.actor.Monitor@4a761ac2 07:43:29,146 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader691 with journal batch size 1000 07:43:29,147 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: SnapshotOffer called. 07:43:29,147 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to -1 07:43:29,147 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=1, votedFor=null 07:43:29,147 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:29,148 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader691 in 72.32 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:29,149 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Recovery completed in 1.308 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Received ElectionTimeout - switching to Candidate 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Election: Candidate has following voting peers: [follower692, follower693] 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=2, votedFor=leader691 07:43:29,525 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Starting new election term 2 07:43:29,526 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower692 07:43:29,526 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Sending RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] to peer follower693 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Cluster state: [] 07:43:29,526 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=null 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=leader691 07:43:29,526 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. 07:43:29,526 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [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 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=null 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=leader691 07:43:29,526 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Election: Leader has following peers: [follower692, follower694, follower693] 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:29,527 AM [test-akka.actor.default-dispatcher-15] [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 07:43:29,527 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower692: Last sync leader does not match current leader leader691, need to catch up to -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=2, votedFor=null 07:43:29,527 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader leader691, need to catch up to -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader leader691, need to catch up to -1 07:43:29,527 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: -1, nextIndex: 0 07:43:29,528 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:29.528] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1696476a 07:43:29,528 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: -1, nextIndex: 0 07:43:29,528 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:29.528] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4b533fca 07:43:29,528 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: -1, nextIndex: 0 07:43:29,528 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:29.528] [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@5dc64d60 07:43:29,552 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:29,552 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 07:43:29,552 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,552 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower692 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [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]]] 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower694 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [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]]] 07:43:29,553 AM [test-akka.actor.default-dispatcher-16] [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]]] 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:29,553 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Number of entries to be appended = 1 07:43:29,553 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:29,553 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Append entry to log zero 07:43:29,553 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,553 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Sending AppendEntries to follower follower693: AppendEntries [leaderId=leader691, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 07:43:29,553 AM [test-akka.actor.default-dispatcher-12] [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]]] 07:43:29,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Number of entries to be appended = 1 07:43:29,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:29,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Append entry to log zero 07:43:29,553 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,554 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Log size is now 1 07:43:29,554 AM [test-akka.actor.default-dispatcher-16] [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] 07:43:29,554 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 07:43:29,554 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Log size is now 1 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: 0, nextIndex: 1 07:43:29,554 AM [test-akka.actor.default-dispatcher-12] [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] 07:43:29,554 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Setting last applied to 0 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to 0 07:43:29,554 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Applying state for log index 0 data zero 07:43:29,554 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:29,555 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: applyState called: zero 07:43:29,555 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:29.555] [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@2d486556 07:43:29,555 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 07:43:29.555] [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@6f2245d1 07:43:29,645 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:29,645 AM [test-akka.actor.default-dispatcher-11] [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]]] 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:29,765 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=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Commit index set to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Commit index set to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Setting last applied to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Applying state for log index 0 data zero 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Setting last applied to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to 0 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Applying state for log index 0 data zero 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: applyState called: zero 07:43:29,765 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Persisting ApplyJournalEntries with index=0 07:43:29,765 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: applyState called: zero 07:43:29,766 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Persisting ApplyJournalEntries with index=0 07:43:29,805 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 07:43:29,805 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 07:43:29,805 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: onShutDown 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Initiating leader transfer 07:43:29,806 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader691: pauseLeader successfully completed - doing transfer 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Attempting to transfer leadership 07:43:29,806 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 07:43:29,806 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 07:43:29,806 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 07:43:29,806 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:29,806 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): tryToCompleteLeadershipTransfer: followerId: follower692, matchIndex: 0, lastIndex: 0, isVoting: true 07:43:29,806 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Follower's log matches - sending ElectionTimeout 07:43:29,806 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 07:43:29,806 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 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:29,807 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leader transfer complete 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader transfer complete - waiting for new leader 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Received TimeoutNow - switching to Candidate 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Election: Candidate has following voting peers: [follower693, leader691] 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=3, votedFor=follower692 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Starting new election term 3 07:43:29,807 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 07:43:29,807 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 07:43:29,807 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. 07:43:29,807 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:29,807 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. 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Cluster state: [] 07:43:29,807 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 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 07:43:29,807 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=null 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [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 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=null 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leadership transfer in progress - processing RequestVote 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 07:43:29,807 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 07:43:29,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=follower692 07:43:29,808 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=follower692 07:43:29,808 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 07:43:29,808 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 07:43:29,808 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader) :- Switching from behavior Leader to Follower, election term: 3 07:43:29,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 07:43:29,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 07:43:29,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Election: Leader has following peers: [follower694, follower693, leader691] 07:43:29,808 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 07:43:29,808 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 07:43:29,808 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 07:43:29,808 AM [test-akka.actor.default-dispatcher-16] [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 07:43:29,808 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=3, votedFor=null 07:43:29,808 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 07:43:29,808 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader follower692, need to catch up to -1 07:43:29,809 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 07:43:29,809 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 07:43:29,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader691: Last sync leader does not match current leader follower692, need to catch up to -1 07:43:29,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader changed to follower692 07:43:29,810 AM [test-akka.actor.default-dispatcher-12] [INFO] RaftActorLeadershipTransferCohort - leader691: Successfully transferred leadership to follower692 in 4.263 ms 07:43:29,810 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: leader transfer succeeded - sending PoisonPill 07:43:29,811 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 07:43:29,811 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader691 updated: matchIndex: 0, nextIndex: 1 07:43:29,811 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 [WARN] [03/25/2024 07:43:29.811] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader691] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@563ac24e [WARN] [03/25/2024 07:43:29.811] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2a60d74c [WARN] [03/25/2024 07:43:29.811] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@295b78fa [WARN] [03/25/2024 07:43:29.811] [test-akka.actor.default-dispatcher-12] [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=[]] [WARN] [03/25/2024 07:43:30.326] [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=[]] 07:43:30,326 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader follower692, need to catch up to -1 07:43:30,326 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 07:43:30,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): sendAppendEntries: 0 is present for follower follower693 07:43:30,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Sending AppendEntries to follower follower693: AppendEntries [leaderId=follower692, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] [WARN] [03/25/2024 07:43:30.326] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@582e291 07:43:30,326 AM [test-akka.actor.default-dispatcher-15] [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]]] 07:43:30,326 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Number of entries to be appended = 1 07:43:30,326 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:30,326 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Append entry to log zero 07:43:30,326 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Log size is now 1 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Commit index set to 0 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [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] 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower693: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Setting last applied to 0 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to 0 07:43:30,327 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: 0, nextIndex: 1 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Applying state for log index 0 data zero 07:43:30,327 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:30,327 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: applyState called: zero 07:43:30,328 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:30,328 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:30.328] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@9fd34a4 07:43:30,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 07:43:30,360 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 07:43:30,360 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 starting 07:43:30,361 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onShutDown 07:43:30,361 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 ending 07:43:30,361 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 07:43:30,361 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-notifier695#1153110495] 07:43:30,372 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-collector696#1034766197] 07:43:30,372 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower692] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-notifier697#165204458] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-collector698#599428526] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower693] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-notifier699#26365691] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-collector700#-2032915383] 07:43:30,373 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower694] 07:43:30,374 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-notifier701#-170463919] 07:43:30,374 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-collector702#-1138743924] 07:43:30,374 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader691] 07:43:30,375 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [03/25/2024 07:43:30.377] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader703]: org.opendaylight.controller.cluster.common.actor.Monitor@6a400ec7 07:43:30,377 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader703 with journal batch size 1000 07:43:30,379 AM [test-akka.actor.default-dispatcher-11] [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 07:43:30,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:30,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower): Received TimeoutNow - switching to Candidate 07:43:30,380 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Election: Candidate has following voting peers: [] 07:43:30,380 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: Set currentTerm=1, votedFor=leader703 07:43:30,380 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Starting new election term 1 07:43:30,380 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:43:30,381 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Received ElectionTimeout 07:43:30,381 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Leader): Election: Leader has following peers: [] 07:43:30,381 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:43:30,477 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 starting 07:43:30,477 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: onShutDown 07:43:30,478 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 ending 07:43:30,478 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 07:43:30,478 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader703-collector707#-2089800679] 07:43:30,489 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader703] 07:43:30,490 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 07:43:30,490 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:30,493 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower709 with journal batch size 1000 [WARN] [03/25/2024 07:43:30.493] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower709]: org.opendaylight.controller.cluster.common.actor.Monitor@32875582 07:43:30,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: SnapshotOffer called. 07:43:30,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to -1 07:43:30,494 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=1, votedFor=null 07:43:30,494 AM [test-akka.actor.default-dispatcher-11] [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]] 07:43:30,494 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower709 in 94.72 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:30,495 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Recovery completed in 1.177 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:30.594] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower710]: org.opendaylight.controller.cluster.common.actor.Monitor@2ddca41c 07:43:30,595 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower710 with journal batch size 1000 07:43:30,595 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: SnapshotOffer called. 07:43:30,595 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Moving last applied index from -1 to -1 07:43:30,595 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=1, votedFor=null 07:43:30,595 AM [test-akka.actor.default-dispatcher-5] [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]] 07:43:30,596 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower710 in 93.61 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:30,597 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Recovery completed in 1.121 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:30.695] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower711]: org.opendaylight.controller.cluster.common.actor.Monitor@6ca55a48 07:43:30,696 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 07:43:30,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 07:43:30,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 07:43:30,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 07:43:30,697 AM [test-akka.actor.default-dispatcher-5] [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]] 07:43:30,697 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 112.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:30,698 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 1.402 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:30.698] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader708]: org.opendaylight.controller.cluster.common.actor.Monitor@547beec3 07:43:30,699 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader708 with journal batch size 1000 07:43:30,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: SnapshotOffer called. 07:43:30,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to -1 07:43:30,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=1, votedFor=null 07:43:30,700 AM [test-akka.actor.default-dispatcher-11] [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]] 07:43:30,700 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader708 in 93.01 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:30,701 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Recovery completed in 870.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:31,65 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Received ElectionTimeout - switching to Candidate 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Election: Candidate has following voting peers: [follower710, follower709] 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=2, votedFor=leader708 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Starting new election term 2 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower710 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower709 07:43:31,66 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:31,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:31,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Cluster state: [] 07:43:31,66 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:31,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Cluster state: [] 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [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 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [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 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=null 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=null 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=leader708 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=leader708 07:43:31,67 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:31,67 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Election: Leader has following peers: [follower711, follower710, follower709] 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:31,68 AM [test-akka.actor.default-dispatcher-11] [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 07:43:31,68 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 07:43:31,68 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader708, need to catch up to -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower710: Last sync leader does not match current leader leader708, need to catch up to -1 07:43:31,68 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower709: Last sync leader does not match current leader leader708, need to catch up to -1 [WARN] [03/25/2024 07:43:31.068] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower710] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@366704f4 [WARN] [03/25/2024 07:43:31.069] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6decebf5 07:43:31,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower710 updated: matchIndex: -1, nextIndex: 0 07:43:31,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:31,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: -1, nextIndex: 0 07:43:31,69 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:31.069] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5aa68dd 07:43:31,104 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:31,104 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 07:43:31,108 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 07:43:31,108 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower711 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [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]]] 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 07:43:31,109 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=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower709 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [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]]] 07:43:31,109 AM [test-akka.actor.default-dispatcher-17] [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]]] 07:43:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Number of entries to be appended = 1 07:43:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [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]]] 07:43:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Append entry to log zero 07:43:31,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Number of entries to be appended = 1 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Append entry to log zero 07:43:31,109 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Log size is now 1 07:43:31,110 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Log size is now 1 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [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] 07:43:31,110 AM [test-akka.actor.default-dispatcher-17] [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] 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 07:43:31,110 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: 0, nextIndex: 1 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: 0, nextIndex: 1 07:43:31,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Setting last applied to 0 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to 0 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Applying state for log index 0 data zero 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: applyState called: zero 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persisting ApplyJournalEntries with index=0 07:43:31,111 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 07:43:31.112] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ac3555a 07:43:31,112 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 07:43:31.112] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1984db1a 07:43:31,185 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 07:43:31,185 AM [test-akka.actor.default-dispatcher-12] [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]]] 07:43:31,305 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [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]]] 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Commit index set to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Commit index set to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Setting last applied to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Setting last applied to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Applying state for log index 0 data zero 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to 0 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Applying state for log index 0 data zero 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: applyState called: zero 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: applyState called: zero 07:43:31,306 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Persisting ApplyJournalEntries with index=0 07:43:31,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Persisting ApplyJournalEntries with index=0 07:43:31,310 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 07:43:31,310 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 07:43:31,310 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 07:43:31,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: onRequestLeadership RequestLeadership [requestedFollowerId=follower710, replyTo=Actor[akka://test/user/$c#-1628330183]] 07:43:31,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Initiating leader transfer 07:43:31,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader708: pauseLeader successfully completed - doing transfer 07:43:31,310 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 07:43:31,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Attempting to transfer leadership 07:43:31,310 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 07:43:31,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,311 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 07:43:31,311 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,311 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 07:43:31,311 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:31,311 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,311 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,425 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,545 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,545 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,665 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader708: leader transfer aborted 07:43:31,666 AM [test-akka.actor.default-dispatcher-5] [WARN] RaftActorLeadershipTransferCohort - leader708: Failed to transfer leadership in 355.2 ms 07:43:31,666 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: LeadershipTransfer request from follower710 failed 07:43:31,666 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Leadership transfer expired 07:43:31,666 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,666 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 07:43:31,713 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 07:43:31,714 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-notifier712#1843921502] 07:43:31,725 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-collector713#-936737203] 07:43:31,725 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower709] 07:43:31,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-notifier714#-1477854164] 07:43:31,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-collector715#-1900646083] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower710] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier716#-70484358] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector717#1777673536] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-notifier718#-185668803] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-collector719#565763672] 07:43:31,727 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader708] 07:43:31,728 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-1628330183] 07:43:31,729 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 07:43:31,729 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 07:43:31.731] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower721]: org.opendaylight.controller.cluster.common.actor.Monitor@356b903 07:43:31,731 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower721 with journal batch size 1000 07:43:31,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: SnapshotOffer called. 07:43:31,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Moving last applied index from -1 to -1 07:43:31,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=1, votedFor=null 07:43:31,732 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:31,732 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower721 in 82.18 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:31,733 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Recovery completed in 1.189 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:31.832] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower722]: org.opendaylight.controller.cluster.common.actor.Monitor@78f7b1c0 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower722 with journal batch size 1000 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: SnapshotOffer called. 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Moving last applied index from -1 to -1 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=1, votedFor=null 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:31,833 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower722 in 71.51 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:31,834 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Recovery completed in 1.055 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:31.934] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower723]: org.opendaylight.controller.cluster.common.actor.Monitor@6674a810 07:43:31,935 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower723 with journal batch size 1000 07:43:31,935 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: SnapshotOffer called. 07:43:31,935 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Moving last applied index from -1 to -1 07:43:31,935 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=1, votedFor=null 07:43:31,935 AM [test-akka.actor.default-dispatcher-18] [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]] 07:43:31,936 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower723 in 74.41 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:31,937 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Recovery completed in 1.110 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:32.036] [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@404f2a62 07:43:32,37 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader720 with journal batch size 1000 07:43:32,37 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: SnapshotOffer called. 07:43:32,37 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Moving last applied index from -1 to -1 07:43:32,37 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=1, votedFor=null 07:43:32,37 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]] 07:43:32,38 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader720 in 78.81 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 07:43:32,39 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Recovery completed in 1.304 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:32,404 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Received ElectionTimeout - switching to Candidate 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Election: Candidate has following voting peers: [follower722, follower721] 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=2, votedFor=leader720 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Starting new election term 2 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower722 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:32,405 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Cluster state: [] 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [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 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=null 07:43:32,405 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:32,405 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Cluster state: [] 07:43:32,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=leader720 07:43:32,405 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:32,405 AM [test-akka.actor.default-dispatcher-5] [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 07:43:32,405 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=null 07:43:32,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=leader720 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Election: Leader has following peers: [follower722, follower721, follower723] 07:43:32,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower722: Last sync leader does not match current leader leader720, need to catch up to -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 [WARN] [03/25/2024 07:43:32.407] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a334850 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower721: Last sync leader does not match current leader leader720, need to catch up to -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower722 updated: matchIndex: -1, nextIndex: 0 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:32.407] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower721] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7384fef0 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [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 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=2, votedFor=null 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower721 updated: matchIndex: -1, nextIndex: 0 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower723: Last sync leader does not match current leader leader720, need to catch up to -1 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower723 updated: matchIndex: -1, nextIndex: 0 07:43:32,407 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:32.408] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower723] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e4ca5ed 07:43:32,438 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 07:43:32,438 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 07:43:32,439 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 07:43:32,439 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower721] 07:43:32,450 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower723] 07:43:32,460 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 07:43:32,460 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: onRequestLeadership RequestLeadership [requestedFollowerId=follower722, replyTo=Actor[akka://test/user/$d#408177375]] 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Initiating leader transfer 07:43:32,461 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: onLeaderTransitioning: LeaderTransitioning [leaderId=leader720] 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader720: pauseLeader successfully completed - doing transfer 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Attempting to transfer leadership 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:32.461] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] [WARN] [03/25/2024 07:43:32.461] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,461 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) [WARN] [03/25/2024 07:43:32.461] [test-akka.actor.default-dispatcher-16] [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] [03/25/2024 07:43:32.461] [test-akka.actor.default-dispatcher-16] [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=[]] [WARN] [03/25/2024 07:43:32.461] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@63552d30 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): tryToCompleteLeadershipTransfer: followerId: follower722, matchIndex: -1, lastIndex: -1, isVoting: true 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Follower's log matches - sending ElectionTimeout 07:43:32,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,462 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,462 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 07:43:32,462 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,462 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leader transfer complete [WARN] [03/25/2024 07:43:32.462] [test-akka.actor.default-dispatcher-18] [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=[]] 07:43:32,462 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader transfer complete - waiting for new leader [WARN] [03/25/2024 07:43:32.462] [test-akka.actor.default-dispatcher-18] [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=[]] 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Received TimeoutNow - switching to Candidate 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Election: Candidate has following voting peers: [follower721, leader720] 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=3, votedFor=follower722 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Starting new election term 3 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer leader720 [WARN] [03/25/2024 07:43:32.462] [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] 07:43:32,462 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Cluster state: [] 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [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 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=null 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leadership transfer in progress - processing RequestVote 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): In requestVote: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:32,462 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=follower722 07:43:32,463 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 07:43:32,463 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader) :- Switching from behavior Leader to Follower, election term: 3 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Election: Leader has following peers: [follower721, leader720, follower723] 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader720: Last sync leader does not match current leader follower722, need to catch up to -1 07:43:32,464 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader changed to follower722 07:43:32,465 AM [test-akka.actor.default-dispatcher-17] [INFO] RaftActorLeadershipTransferCohort - leader720: Successfully transferred leadership to follower722 in 3.742 ms 07:43:32,465 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Leadership transferred successfully to follower722 [WARN] [03/25/2024 07:43:32.465] [test-akka.actor.default-dispatcher-17] [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=[]] [WARN] [03/25/2024 07:43:32.465] [test-akka.actor.default-dispatcher-17] [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=[]] 07:43:32,465 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader720 updated: matchIndex: -1, nextIndex: 0 07:43:32,465 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:32.465] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader720] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f25f0c6 07:43:32,512 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 07:43:32,512 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-notifier724#367978682] 07:43:32,523 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-collector725#-508453445] 07:43:32,523 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-notifier726#-748226565] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-collector727#-1948347349] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower722] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-notifier728#-608847843] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-collector729#2139362915] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-notifier730#-1543033586] 07:43:32,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-collector731#-616794619] 07:43:32,525 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader720] 07:43:32,525 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#408177375] [INFO] [03/25/2024 07:43:32.526] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:43:32,526 AM [test-akka.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/25/2024 07:43:32.527] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.89:25520) [INFO] [03/25/2024 07:43:32.527] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Exiting completed [INFO] [03/25/2024 07:43:32.527] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Shutting down... 07:43:32,528 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Exiting completed 07:43:32,528 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Shutting down... [INFO] [03/25/2024 07:43:32.528] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Successfully shut down 07:43:32,528 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Successfully shut down [INFO] [03/25/2024 07:43:32.529] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.89:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/25/2024 07:43:32.529] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.89:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 07:43:32,529 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 07:43:32,529 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/25/2024 07:43:32.531] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.89:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/25/2024 07:43:32.532] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger 07:43:32,532 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.