[DEBUG] [03/25/2024 08:38:59.110] [main] [EventStream(akka://test)] logger log1-TestEventListener started 08:38:59,110 AM [test-akka.actor.default-dispatcher-7] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/25/2024 08:38:59.111] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/25/2024 08:38:59.111] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/25/2024 08:38:59.123] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.141:25520] with UID [-4877540829717571393] 08:38:59,123 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.141:25520] with UID [-4877540829717571393] [INFO] [03/25/2024 08:38:59.123] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Starting up, Akka version [2.6.21] ... 08:38:59,124 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/25/2024 08:38:59.126] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/25/2024 08:38:59.126] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Started up successfully 08:38:59,126 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Registered cluster JMX MBean [akka:type=Cluster] 08:38:59,126 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Started up successfully 08:38:59,134 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 08:38:59,134 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [INFO] [03/25/2024 08:38:59.135] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141: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 08:38:59.135] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 08:38:59,135 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 08:38:59,135 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141: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 08:38:59.138] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower656]: org.opendaylight.controller.cluster.common.actor.Monitor@4bb16726 [INFO] [akkaDeadLetter][03/25/2024 08:38:59.138] [test-akka.actor.default-dispatcher-11] [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'. 08:38:59,142 AM [test-akka.actor.default-dispatcher-11] [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'. 08:38:59,144 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower656 with journal batch size 1000 08:38:59,146 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: SnapshotOffer called. 08:38:59,146 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Moving last applied index from -1 to -1 08:38:59,146 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=1, votedFor=null 08:38:59,146 AM [test-akka.actor.default-dispatcher-12] [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]] 08:38:59,146 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower656 in 88.94 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:38:59,147 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Recovery completed in 1.083 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 08:38:59.239] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower657]: org.opendaylight.controller.cluster.common.actor.Monitor@6d663b82 [INFO] [akkaDeadLetter][03/25/2024 08:38:59.239] [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'. 08:38:59,239 AM [test-akka.actor.default-dispatcher-14] [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'. 08:38:59,240 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower657 with journal batch size 1000 08:38:59,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: SnapshotOffer called. 08:38:59,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Moving last applied index from -1 to -1 08:38:59,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=1, votedFor=null 08:38:59,241 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]] 08:38:59,241 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower657 in 111.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:38:59,242 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Recovery completed in 1.267 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 08:38:59.341] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@7fb7c91b [INFO] [akkaDeadLetter][03/25/2024 08:38:59.341] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower658] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 08:38:59,341 AM [test-akka.actor.default-dispatcher-14] [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'. 08:38:59,341 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 08:38:59,342 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 08:38:59,342 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 08:38:59,342 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 08:38:59,342 AM [test-akka.actor.default-dispatcher-14] [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]] 08:38:59,342 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 90.43 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:38:59,343 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.081 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 08:38:59.443] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader655]: org.opendaylight.controller.cluster.common.actor.Monitor@22710ff9 [INFO] [akkaDeadLetter][03/25/2024 08:38:59.443] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader655] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 08:38:59,443 AM [test-akka.actor.default-dispatcher-12] [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'. 08:38:59,443 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader655 with journal batch size 1000 08:38:59,444 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: SnapshotOffer called. 08:38:59,444 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Moving last applied index from -1 to -1 08:38:59,444 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=1, votedFor=null 08:38:59,444 AM [test-akka.actor.default-dispatcher-14] [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]] 08:38:59,444 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader655 in 71.13 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:38:59,445 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Recovery completed in 1.115 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:59,835 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower): Received ElectionTimeout - switching to Candidate 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Election: Candidate has following voting peers: [follower656, follower657] 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Set currentTerm=2, votedFor=leader655 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Starting new election term 2 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower656 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): Sending RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] to peer follower657 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:38:59,836 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Cluster state: [] 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Cluster state: [] 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=null 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [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 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=null 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: Set currentTerm=2, votedFor=leader655 08:38:59,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): In requestVote: RequestVote [term=2, candidateId=leader655, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:59,836 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: Set currentTerm=2, votedFor=leader655 08:38:59,837 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:38:59,837 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:38:59,837 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:38:59,837 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Election: Leader has following peers: [follower656, follower658, follower657] 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower656: Last sync leader does not match current leader leader655, need to catch up to -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [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 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader655, need to catch up to -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower657: Last sync leader does not match current leader leader655, need to catch up to -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower656 updated: matchIndex: -1, nextIndex: 0 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower656: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower657 updated: matchIndex: -1, nextIndex: 0 08:38:59,838 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Checking sendAppendEntries for follower follower657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:59.838] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower656] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3cc21e57 [WARN] [03/25/2024 08:38:59.838] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@574c39c3 [INFO] [akkaDeadLetter][03/25/2024 08:38:59.838] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower656] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower656] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/25/2024 08:38:59.838] [test-akka.actor.default-dispatcher-14] [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'. 08:38:59,839 AM [test-akka.actor.default-dispatcher-14] [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'. 08:38:59,839 AM [test-akka.actor.default-dispatcher-14] [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 08:38:59.839] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@14a70abd 08:38:59,839 AM [test-akka.actor.default-dispatcher-14] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/25/2024 08:38:59.839] [test-akka.actor.default-dispatcher-6] [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'. 08:38:59,855 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:38:59,855 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 starting 08:38:59,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: onShutDown 08:38:59,857 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: Initiating leader transfer 08:38:59,858 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader655: pauseLeader successfully completed - doing transfer 08:38:59,858 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Attempting to transfer leadership 08:38:59,858 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 08:38:59,858 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 08:38:59,858 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 08:38:59,858 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:38:59,858 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower656: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] 08:38:59,858 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:38:59,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [03/25/2024 08:38:59.858] [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@13c4b190 08:38:59,858 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower657: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] [INFO] [akkaDeadLetter][03/25/2024 08:38:59.858] [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'. [WARN] [03/25/2024 08:38:59.858] [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@7ec88576 08:38:59,858 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'. 08:38:59,858 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. [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 08:38:59.858] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower657] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower657] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 08:38:59,858 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader655] [WARN] [03/25/2024 08:38:59.858] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6bd64a62 [INFO] [akkaDeadLetter][03/25/2024 08:38:59.859] [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. [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'. 08:38:59,859 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower658] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 08:38:59,956 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:38:59,956 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:38:59,956 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,76 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,195 AM [test-akka.actor.default-dispatcher-14] [DEBUG] RaftActorLeadershipTransferCohort - leader655: leader transfer aborted 08:39:00,196 AM [test-akka.actor.default-dispatcher-14] [WARN] RaftActorLeadershipTransferCohort - leader655: Failed to transfer leadership in 338.0 ms 08:39:00,196 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655: leader transfer failed - sending PoisonPill 08:39:00,196 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader655 (Leader): Leadership transfer expired 08:39:00,196 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower656: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,196 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) 08:39:00,196 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower657: Lagging 0 entries behind leader leader655 and reached -1 (of expected -1) [WARN] [03/25/2024 08:39:00.197] [test-akka.actor.default-dispatcher-16] [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 08:39:00.197] [test-akka.actor.default-dispatcher-16] [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 08:39:00.197] [test-akka.actor.default-dispatcher-16] [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] 08:39:00,198 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader655 ending 08:39:00,200 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 08:39:00,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-notifier659#2136876450] 08:39:00,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower656-collector660#740441217] 08:39:00,211 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower656] 08:39:00,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-notifier661#-728674429] 08:39:00,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower657-collector662#-377819622] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower657] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier663#-1645269936] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector664#1183749248] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-notifier665#1220955678] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader655-collector666#-1346106917] 08:39:00,212 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader655] 08:39:00,213 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 08:39:00,213 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 08:39:00.215] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower668]: org.opendaylight.controller.cluster.common.actor.Monitor@27f47a9f 08:39:00,216 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower668 with journal batch size 1000 [WARN] [03/25/2024 08:39:00.217] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower669]: org.opendaylight.controller.cluster.common.actor.Monitor@4e3d02b4 08:39:00,217 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower669 with journal batch size 1000 [WARN] [03/25/2024 08:39:00.219] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@3d8ec400 08:39:00,219 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 08:39:00,220 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: SnapshotOffer called. 08:39:00,220 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: SnapshotOffer called. 08:39:00,220 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Moving last applied index from -1 to -1 08:39:00,220 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=1, votedFor=null 08:39:00,220 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Moving last applied index from -1 to -1 08:39:00,220 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=1, votedFor=null 08:39:00,220 AM [test-akka.actor.default-dispatcher-14] [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]] 08:39:00,220 AM [test-akka.actor.default-dispatcher-6] [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]] 08:39:00,221 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower668 in 81.93 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,221 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower669 in 87.31 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,221 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 08:39:00,221 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 08:39:00,221 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 08:39:00,221 AM [test-akka.actor.default-dispatcher-14] [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]] [WARN] [03/25/2024 08:39:00.221] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader667]: org.opendaylight.controller.cluster.common.actor.Monitor@563be196 08:39:00,222 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 51.81 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,222 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader667 with journal batch size 1000 08:39:00,222 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: SnapshotOffer called. 08:39:00,222 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Moving last applied index from -1 to -1 08:39:00,222 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=1, votedFor=null 08:39:00,222 AM [test-akka.actor.default-dispatcher-16] [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]] 08:39:00,223 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader667 in 58.94 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,223 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Recovery completed in 2.182 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:00,223 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Recovery completed in 2.216 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:00,223 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 1.350 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:00,224 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Recovery completed in 1.647 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:00,635 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:00,635 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:39:00,635 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower): Received ElectionTimeout - switching to Candidate 08:39:00,635 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Election: Candidate has following voting peers: [follower669, follower668] 08:39:00,635 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=2, votedFor=leader667 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Starting new election term 2 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower669 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): Sending RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Cluster state: [] 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [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 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=null 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:00,636 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=2, votedFor=leader667 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=null 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): In requestVote: RequestVote [term=2, candidateId=leader667, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=2, votedFor=leader667 08:39:00,637 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Election: Leader has following peers: [follower669, follower668, follower670] 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,638 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:39:00,638 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 08:39:00,639 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower669: Last sync leader does not match current leader leader667, need to catch up to -1 [WARN] [03/25/2024 08:39:00.639] [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@57e2de3b [WARN] [03/25/2024 08:39:00.639] [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@53dd501f 08:39:00,639 AM [test-akka.actor.default-dispatcher-18] [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 08:39:00,639 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 08:39:00,639 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader667, need to catch up to -1 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower669 updated: matchIndex: -1, nextIndex: 0 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 08:39:00,639 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:00.639] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50d040a7 08:39:00,677 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:39:00,677 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 08:39:00,677 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 08:39:00,677 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 08:39:00,678 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 08:39:00,678 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: onRequestLeadership RequestLeadership [requestedFollowerId=follower669, replyTo=Actor[akka://test/user/$a#1818489059]] 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Initiating leader transfer 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader667: pauseLeader successfully completed - doing transfer 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Attempting to transfer leadership 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,680 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,681 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] 08:39:00,681 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,681 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] [WARN] [03/25/2024 08:39:00.681] [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@3e0d4673 [WARN] [03/25/2024 08:39:00.681] [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@519ffec4 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: onLeaderTransitioning: LeaderTransitioning [leaderId=leader667] [WARN] [03/25/2024 08:39:00.682] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower669] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e7bd6c7 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): tryToCompleteLeadershipTransfer: followerId: follower669, matchIndex: -1, lastIndex: -1, isVoting: true 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Follower's log matches - sending ElectionTimeout 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower669: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,682 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower669: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,682 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower668: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,682 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader667 and reached -1 (of expected -1) 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leader transfer complete 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader transfer complete - waiting for new leader 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower): Received TimeoutNow - switching to Candidate 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Election: Candidate has following voting peers: [leader667, follower668] 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669: Set currentTerm=3, votedFor=follower669 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Starting new election term 3 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer leader667 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): Sending RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] to peer follower668 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:00,682 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. 08:39:00,682 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 08:39:00,682 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): Cluster state: [] 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Cluster state: [] 08:39:00,682 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. 08:39:00,682 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:00,682 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 08:39:00,682 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=null 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [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 08:39:00,683 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 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=null 08:39:00,683 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668: Set currentTerm=3, votedFor=follower669 08:39:00,683 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower668 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): Leadership transfer in progress - processing RequestVote 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): In requestVote: RequestVote [term=3, candidateId=follower669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Set currentTerm=3, votedFor=follower669 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 08:39:00,683 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader667 (Leader) :- Switching from behavior Leader to Follower, election term: 3 08:39:00,683 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 08:39:00,683 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 08:39:00,683 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Election: Leader has following peers: [leader667, follower668, follower670] 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 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 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 08:39:00,684 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower668: Last sync leader does not match current leader follower669, need to catch up to -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-12] [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 [WARN] [03/25/2024 08:39:00.684] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower668] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@40f2b402 08:39:00,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=3, votedFor=null 08:39:00,684 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader667: leader changed to follower669 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader667 updated: matchIndex: -1, nextIndex: 0 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower leader667: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader follower669, need to catch up to -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower668 updated: matchIndex: -1, nextIndex: 0 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower668: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 08:39:00,684 AM [test-akka.actor.default-dispatcher-6] [INFO] RaftActorLeadershipTransferCohort - leader667: Successfully transferred leadership to follower669 in 4.041 ms 08:39:00,684 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:00,684 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader667: Leadership transferred successfully to follower669 [WARN] [03/25/2024 08:39:00.684] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader667] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5542a569 [WARN] [03/25/2024 08:39:00.685] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4fcf2c6c 08:39:00,733 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 08:39:00,733 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-notifier671#682975054] 08:39:00,744 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower668-collector672#890998813] 08:39:00,744 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower668] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-notifier673#2145135003] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower669-collector674#-914500179] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower669] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier675#99141355] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector676#1044241104] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 08:39:00,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-notifier677#8324577] 08:39:00,746 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader667-collector678#-1286454716] 08:39:00,746 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader667] 08:39:00,746 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#1818489059] 08:39:00,746 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 08:39:00,747 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 08:39:00.752] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower680]: org.opendaylight.controller.cluster.common.actor.Monitor@66483306 08:39:00,753 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower680 with journal batch size 1000 08:39:00,753 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: SnapshotOffer called. 08:39:00,753 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Moving last applied index from -1 to -1 08:39:00,753 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=1, votedFor=null 08:39:00,753 AM [test-akka.actor.default-dispatcher-18] [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]] 08:39:00,754 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower680 in 56.32 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/25/2024 08:39:00.754] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower681]: org.opendaylight.controller.cluster.common.actor.Monitor@25b92dc8 08:39:00,754 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Recovery completed in 958.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:00,755 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower681 with journal batch size 1000 08:39:00,755 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: SnapshotOffer called. 08:39:00,755 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Moving last applied index from -1 to -1 08:39:00,755 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=1, votedFor=null 08:39:00,755 AM [test-akka.actor.default-dispatcher-14] [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]] 08:39:00,755 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower681 in 40.75 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,756 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Recovery completed in 554.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 08:39:00.855] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@556444c9 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [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]] 08:39:00,856 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 73.50 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,857 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 815.4 μ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 08:39:00.858] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader679]: org.opendaylight.controller.cluster.common.actor.Monitor@4b0fa2fe 08:39:00,858 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader679 with journal batch size 1000 08:39:00,858 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: SnapshotOffer called. 08:39:00,858 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Moving last applied index from -1 to -1 08:39:00,858 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=1, votedFor=null 08:39:00,858 AM [test-akka.actor.default-dispatcher-14] [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]] 08:39:00,859 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader679 in 46.62 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:00,859 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Recovery completed in 576.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower): Received ElectionTimeout - switching to Candidate 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Election: Candidate has following voting peers: [follower681, follower680] 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Set currentTerm=2, votedFor=leader679 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Starting new election term 2 08:39:01,205 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower681 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): Sending RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] to peer follower680 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Cluster state: [] 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [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 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=null 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Cluster state: [] 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [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 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=null 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: Set currentTerm=2, votedFor=leader679 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): In requestVote: RequestVote [term=2, candidateId=leader679, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: Set currentTerm=2, votedFor=leader679 08:39:01,206 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:01,206 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:01,206 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:39:01,206 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Election: Leader has following peers: [follower681, follower680, follower682] 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower681: Last sync leader does not match current leader leader679, need to catch up to -1 08:39:01,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower680: Last sync leader does not match current leader leader679, need to catch up to -1 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [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 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower682: Last sync leader does not match current leader leader679, need to catch up to -1 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower681 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 08:39:01.208] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30da2145 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:01.208] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@42ce2f4 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower680 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 08:39:01.208] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@71d413cb 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 08:39:01,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,210 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:39:01,210 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 08:39:01,211 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 08:39:01,211 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 starting 08:39:01,211 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower681: onShutDown 08:39:01,211 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower681 ending 08:39:01,211 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 08:39:01,211 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 08:39:01,211 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: onRequestLeadership RequestLeadership [requestedFollowerId=follower681, replyTo=Actor[akka://test/user/$b#-1823457705]] 08:39:01,211 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: Initiating leader transfer [WARN] [03/25/2024 08:39:01.212] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: LeaderTransitioning [leaderId=leader679] 08:39:01,212 AM [test-akka.actor.default-dispatcher-7] [DEBUG] RaftActorLeadershipTransferCohort - leader679: pauseLeader successfully completed - doing transfer 08:39:01,212 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Attempting to transfer leadership 08:39:01,212 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower680: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 08:39:01,212 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader679] 08:39:01,212 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower681: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,212 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower680: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:01,212 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:01.212] [test-akka.actor.default-dispatcher-12] [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=[]] 08:39:01,212 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 08:39:01,212 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [03/25/2024 08:39:01.212] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower680] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1e678357 [WARN] [03/25/2024 08:39:01.212] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1d5e9195 [WARN] [03/25/2024 08:39:01.325] [test-akka.actor.default-dispatcher-12] [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=[]] 08:39:01,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 08:39:01,325 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [03/25/2024 08:39:01.446] [test-akka.actor.default-dispatcher-14] [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=[]] 08:39:01,446 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 08:39:01,446 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 08:39:01,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader679: leader transfer aborted 08:39:01,565 AM [test-akka.actor.default-dispatcher-12] [WARN] RaftActorLeadershipTransferCohort - leader679: Failed to transfer leadership in 353.6 ms 08:39:01,565 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679: LeadershipTransfer request from follower681 failed 08:39:01,566 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader679 (Leader): Leadership transfer expired 08:39:01,566 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower680: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) 08:39:01,566 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader679 and reached -1 (of expected -1) [WARN] [03/25/2024 08:39:01.566] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower681] received dead letter from TestActor[akka://test/user/leader679]: AppendEntries [leaderId=leader679, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:39:01,614 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 08:39:01,614 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-notifier683#-805057743] 08:39:01,625 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower680-collector684#-764484817] 08:39:01,625 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower680] 08:39:01,626 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-notifier685#-1517010451] 08:39:01,626 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower681-collector686#1003898733] 08:39:01,626 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower681] 08:39:01,627 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier687#-1063632474] 08:39:01,627 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector688#-430114038] 08:39:01,627 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 08:39:01,627 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-notifier689#-1656401059] 08:39:01,628 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader679-collector690#725485953] 08:39:01,628 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader679] 08:39:01,628 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#-1823457705] 08:39:01,629 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 08:39:01,629 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 08:39:01.630] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower692]: org.opendaylight.controller.cluster.common.actor.Monitor@1e01a402 08:39:01,631 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower692 with journal batch size 1000 08:39:01,631 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: SnapshotOffer called. 08:39:01,631 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to -1 08:39:01,631 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=1, votedFor=null 08:39:01,631 AM [test-akka.actor.default-dispatcher-17] [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]] 08:39:01,631 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower692 in 51.27 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:01,632 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower693 with journal batch size 1000 [WARN] [03/25/2024 08:39:01.632] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower693]: org.opendaylight.controller.cluster.common.actor.Monitor@4f7cb640 08:39:01,633 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: SnapshotOffer called. 08:39:01,633 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to -1 08:39:01,633 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=1, votedFor=null 08:39:01,633 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Updated server config: isVoting: true, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=leader691, address=akka://test/user/leader691, votingState=VOTING]] 08:39:01,633 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Recovery completed in 1.708 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:01,633 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower693 in 33.39 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:01,634 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Recovery completed in 1.353 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 08:39:01.635] [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@b5977b1 08:39:01,636 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower694 with journal batch size 1000 08:39:01,636 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: SnapshotOffer called. 08:39:01,636 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to -1 08:39:01,636 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=1, votedFor=null 08:39:01,636 AM [test-akka.actor.default-dispatcher-14] [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]] 08:39:01,636 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower694 in 79.70 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:01,639 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Recovery completed in 2.628 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 08:39:01.736] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader691]: org.opendaylight.controller.cluster.common.actor.Monitor@3ed0d428 08:39:01,737 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader691 with journal batch size 1000 08:39:01,738 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: SnapshotOffer called. 08:39:01,738 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to -1 08:39:01,738 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=1, votedFor=null 08:39:01,738 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Updated server config: isVoting: true, peers: [PeerInfo [id=follower692, address=akka://test/user/follower692, votingState=VOTING], PeerInfo [id=follower694, address=akka://test/user/follower694, votingState=NON_VOTING], PeerInfo [id=follower693, address=akka://test/user/follower693, votingState=VOTING]] 08:39:01,738 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader691 in 85.56 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:01,739 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Recovery completed in 1.098 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:02,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:02,66 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.170.141:25520, Removed) 08:39:02,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower): Received ElectionTimeout - switching to Candidate 08:39:02,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Election: Candidate has following voting peers: [follower692, follower693] 08:39:02,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=2, votedFor=leader691 08:39:02,66 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): Starting new election term 2 08:39:02,66 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 08:39:02,66 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 08:39:02,66 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:02,66 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:39:02,66 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Cluster state: [] 08:39:02,66 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:02,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:02,66 AM [test-akka.actor.default-dispatcher-14] [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 08:39:02,66 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=null 08:39:02,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 08:39:02,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=null 08:39:02,67 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): In requestVote: RequestVote [term=2, candidateId=leader691, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:02,67 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=2, votedFor=leader691 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=2, votedFor=leader691 08:39:02,67 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:39:02,67 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Election: Leader has following peers: [follower692, follower694, follower693] 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower692: Last sync leader does not match current leader leader691, need to catch up to -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:39:02,68 AM [test-akka.actor.default-dispatcher-12] [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 08:39:02,68 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=2, votedFor=null 08:39:02,68 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader leader691, need to catch up to -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: -1, nextIndex: 0 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:02.068] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ecccf5b 08:39:02,68 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: -1, nextIndex: 0 08:39:02,68 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower693: Last sync leader does not match current leader leader691, need to catch up to -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:02,68 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: -1, nextIndex: 0 08:39:02,68 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:02.068] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower693] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53d51de8 [WARN] [03/25/2024 08:39:02.069] [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@4b813879 08:39:02,92 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:39:02,92 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower692 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [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]]] 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower694 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [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]]] 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 08:39:02,92 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]]] 08:39:02,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Number of entries to be appended = 1 08:39:02,92 AM [test-akka.actor.default-dispatcher-17] [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]]] 08:39:02,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:39:02,92 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:02,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Append entry to log zero 08:39:02,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,92 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Number of entries to be appended = 1 08:39:02,92 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:39:02,92 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Append entry to log zero 08:39:02,92 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,93 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Log size is now 1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Log size is now 1 08:39:02,93 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] 08:39:02,93 AM [test-akka.actor.default-dispatcher-14] [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] 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 08:39:02,93 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached -1 (of expected -1) 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower692 updated: matchIndex: 0, nextIndex: 1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Setting last applied to 0 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Moving last applied index from -1 to 0 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Applying state for log index 0 data zero 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: applyState called: zero 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Persisting ApplyJournalEntries with index=0 08:39:02,93 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 08:39:02.094] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower692] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3095a8e5 [WARN] [03/25/2024 08:39:02.094] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@70cf3713 08:39:02,185 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 08:39:02,185 AM [test-akka.actor.default-dispatcher-7] [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]]] 08:39:02,306 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 08:39:02,306 AM [test-akka.actor.default-dispatcher-17] [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]]] 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Commit index set to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Commit index set to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Setting last applied to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Moving last applied index from -1 to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Applying state for log index 0 data zero 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694 (Follower): Setting last applied to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Moving last applied index from -1 to 0 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Applying state for log index 0 data zero 08:39:02,306 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: applyState called: zero 08:39:02,306 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: applyState called: zero 08:39:02,307 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Persisting ApplyJournalEntries with index=0 08:39:02,307 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Persisting ApplyJournalEntries with index=0 08:39:02,343 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 08:39:02,343 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 08:39:02,344 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: onShutDown 08:39:02,344 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Initiating leader transfer 08:39:02,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 08:39:02,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 08:39:02,344 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader691: pauseLeader successfully completed - doing transfer 08:39:02,344 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Attempting to transfer leadership 08:39:02,344 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 08:39:02,345 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): tryToCompleteLeadershipTransfer: followerId: follower692, matchIndex: 0, lastIndex: 0, isVoting: true 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Follower's log matches - sending ElectionTimeout 08:39:02,345 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower692: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower692: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): sendAppendEntries: 0 is present for follower follower693 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leader transfer complete 08:39:02,345 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader transfer complete - waiting for new leader 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:02,345 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader leader691 and reached 0 (of expected -1) 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower): Received TimeoutNow - switching to Candidate 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Election: Candidate has following voting peers: [follower693, leader691] 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692: Set currentTerm=3, votedFor=follower692 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Starting new election term 3 08:39:02,345 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer follower693 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:02,346 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): Sending RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] to peer leader691 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Cluster state: [] 08:39:02,346 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [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 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=null 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Cluster state: [] 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Set currentTerm=3, votedFor=follower692 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=null 08:39:02,346 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): Leadership transfer in progress - processing RequestVote 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): In requestVote: RequestVote [term=3, candidateId=follower692, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: Set currentTerm=3, votedFor=follower692 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 08:39:02,346 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader691 (Leader) :- Switching from behavior Leader to Follower, election term: 3 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Election: Leader has following peers: [follower694, follower693, leader691] 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,347 AM [test-akka.actor.default-dispatcher-17] [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 08:39:02,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower694: Set currentTerm=3, votedFor=null 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 08:39:02,347 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower694: Last sync leader does not match current leader follower692, need to catch up to -1 08:39:02,347 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader691: Last sync leader does not match current leader follower692, need to catch up to -1 08:39:02,347 AM [test-akka.actor.default-dispatcher-14] [DEBUG] RaftActorLeadershipTransferCohort - leader691: leader changed to follower692 08:39:02,347 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower694 updated: matchIndex: 0, nextIndex: 1 08:39:02,348 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower694: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,348 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader691 updated: matchIndex: 0, nextIndex: 1 08:39:02,348 AM [test-akka.actor.default-dispatcher-14] [INFO] RaftActorLeadershipTransferCohort - leader691: Successfully transferred leadership to follower692 in 3.309 ms 08:39:02,348 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader691: leader transfer succeeded - sending PoisonPill 08:39:02,348 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower leader691: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:02.348] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@74c7800 08:39:02,348 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [03/25/2024 08:39:02.348] [test-akka.actor.default-dispatcher-14] [akka://test/user/leader691] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1a833a8c 08:39:02,348 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader691: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) [WARN] [03/25/2024 08:39:02.348] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower694] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6398d8f4 [WARN] [03/25/2024 08:39:02.348] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader691] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c3c9493 08:39:02,866 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower694: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 08:39:02,866 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 [WARN] [03/25/2024 08:39:02.866] [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=[]] 08:39:02,866 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): sendAppendEntries: 0 is present for follower follower693 [WARN] [03/25/2024 08:39:02.866] [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@78c6509a 08:39:02,866 AM [test-akka.actor.default-dispatcher-11] [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]]] 08:39:02,866 AM [test-akka.actor.default-dispatcher-6] [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]]] 08:39:02,866 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Number of entries to be appended = 1 08:39:02,866 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:39:02,866 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Append entry to log zero 08:39:02,866 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Log size is now 1 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Commit index set to 0 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [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] 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower693: Lagging 0 entries behind leader follower692 and reached 0 (of expected -1) 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693 (Follower): Setting last applied to 0 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Moving last applied index from -1 to 0 08:39:02,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower693 updated: matchIndex: 0, nextIndex: 1 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Applying state for log index 0 data zero 08:39:02,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower692 (Leader): Checking sendAppendEntries for follower follower693: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:02,867 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: applyState called: zero 08:39:02,868 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:02,868 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 08:39:02.868] [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@1b1368b5 08:39:02,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onLeaderTransitioning: LeaderTransitioning [leaderId=leader691] 08:39:02,898 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 08:39:02,898 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 starting 08:39:02,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower693: onShutDown 08:39:02,899 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower693 ending 08:39:02,899 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 08:39:02,899 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-notifier695#-906555124] 08:39:02,910 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower692-collector696#1732576922] 08:39:02,910 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower692] 08:39:02,910 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-notifier697#-709390705] 08:39:02,911 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower693-collector698#-1067918924] 08:39:02,911 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower693] 08:39:02,911 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-notifier699#-1318811148] 08:39:02,911 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower694-collector700#-668539416] 08:39:02,911 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower694] 08:39:02,912 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-notifier701#551113742] 08:39:02,912 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader691-collector702#-1656013887] 08:39:02,912 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader691] 08:39:02,913 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [03/25/2024 08:39:02.916] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader703]: org.opendaylight.controller.cluster.common.actor.Monitor@4c03d8da 08:39:02,916 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader703 with journal batch size 1000 08:39:02,917 AM [test-akka.actor.default-dispatcher-18] [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 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower): Received TimeoutNow - switching to Candidate 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Election: Candidate has following voting peers: [] 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: Set currentTerm=1, votedFor=leader703 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Starting new election term 1 08:39:02,918 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:39:02,919 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate): Received ElectionTimeout 08:39:02,919 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Leader): Election: Leader has following peers: [] 08:39:02,919 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader703 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:39:02,919 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 starting 08:39:02,919 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader703: onShutDown 08:39:02,920 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader703 ending 08:39:02,920 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 08:39:02,920 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader703-collector707#885729710] 08:39:02,931 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader703] 08:39:02,931 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 08:39:02,931 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 08:39:02.933] [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@368b671c 08:39:02,933 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower709 with journal batch size 1000 08:39:02,934 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: SnapshotOffer called. 08:39:02,934 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to -1 08:39:02,934 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=1, votedFor=null 08:39:02,934 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=NON_VOTING], PeerInfo [id=follower710, address=akka://test/user/follower710, votingState=VOTING], PeerInfo [id=leader708, address=akka://test/user/leader708, votingState=VOTING]] 08:39:02,934 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower709 in 80.67 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:02,935 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Recovery completed in 853.3 μ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 08:39:03.035] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower710]: org.opendaylight.controller.cluster.common.actor.Monitor@7c0fd543 08:39:03,35 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower710 with journal batch size 1000 08:39:03,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: SnapshotOffer called. 08:39:03,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Moving last applied index from -1 to -1 08:39:03,36 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=1, votedFor=null 08:39:03,36 AM [test-akka.actor.default-dispatcher-6] [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]] 08:39:03,36 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower710 in 82.66 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:03,37 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Recovery completed in 1.033 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 08:39:03.137] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower711]: org.opendaylight.controller.cluster.common.actor.Monitor@10952685 08:39:03,137 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 08:39:03,138 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 08:39:03,138 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 08:39:03,138 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 08:39:03,138 AM [test-akka.actor.default-dispatcher-18] [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]] 08:39:03,138 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 93.60 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:03,139 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 1.027 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 08:39:03.238] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader708]: org.opendaylight.controller.cluster.common.actor.Monitor@4af8c882 08:39:03,239 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader708 with journal batch size 1000 08:39:03,239 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: SnapshotOffer called. 08:39:03,240 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to -1 08:39:03,240 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=1, votedFor=null 08:39:03,240 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=NON_VOTING], PeerInfo [id=follower710, address=akka://test/user/follower710, votingState=VOTING], PeerInfo [id=follower709, address=akka://test/user/follower709, votingState=VOTING]] 08:39:03,240 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader708 in 83.31 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:03,241 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Recovery completed in 1.020 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:03,575 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:03,575 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:39:03,575 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower): Received ElectionTimeout - switching to Candidate 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Election: Candidate has following voting peers: [follower710, follower709] 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Set currentTerm=2, votedFor=leader708 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Starting new election term 2 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower710 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): Sending RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] to peer follower709 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:03,576 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:39:03,576 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Cluster state: [] 08:39:03,576 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Cluster state: [] 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:03,576 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:03,576 AM [test-akka.actor.default-dispatcher-11] [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 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [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 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=null 08:39:03,576 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:03,577 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: Set currentTerm=2, votedFor=leader708 08:39:03,577 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:03,577 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:39:03,577 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:39:03,577 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=null 08:39:03,577 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Election: Leader has following peers: [follower711, follower710, follower709] 08:39:03,577 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): In requestVote: RequestVote [term=2, candidateId=leader708, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:03,577 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:03,577 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Set currentTerm=2, votedFor=leader708 08:39:03,577 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:03,577 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:03,578 AM [test-akka.actor.default-dispatcher-12] [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 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:03,578 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:39:03,578 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 08:39:03,578 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader708, need to catch up to -1 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower710 updated: matchIndex: -1, nextIndex: 0 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:03.578] [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@2a7b6058 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 08:39:03,578 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:03,579 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower709: Last sync leader does not match current leader leader708, need to catch up to -1 [WARN] [03/25/2024 08:39:03.579] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2a9d139e 08:39:03,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 08:39:03.579] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d712578 08:39:03,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:03,593 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:39:03,593 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 08:39:03,594 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 08:39:03,594 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower711 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower709 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Number of entries to be appended = 1 08:39:03,594 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Append entry to log zero 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Log size is now 1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [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] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Number of entries to be appended = 1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Append entry to log zero 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Log size is now 1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [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] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached -1 (of expected -1) 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: 0, nextIndex: 1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower709 updated: matchIndex: 0, nextIndex: 1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Setting last applied to 0 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Moving last applied index from -1 to 0 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Applying state for log index 0 data zero 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: applyState called: zero 08:39:03,595 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Persisting ApplyJournalEntries with index=0 08:39:03,595 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 08:39:03.595] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5ad81264 08:39:03,596 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/25/2024 08:39:03.596] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower709] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37e55db8 08:39:03,695 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Commit index set to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-14] [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]]] 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Setting last applied to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Applying state for log index 0 data zero 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Commit index set to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709 (Follower): Setting last applied to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: applyState called: zero 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Moving last applied index from -1 to 0 08:39:03,695 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Applying state for log index 0 data zero 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: applyState called: zero 08:39:03,696 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Persisting ApplyJournalEntries with index=0 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: Persisting ApplyJournalEntries with index=0 08:39:03,696 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 08:39:03,696 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 08:39:03,696 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: onRequestLeadership RequestLeadership [requestedFollowerId=follower710, replyTo=Actor[akka://test/user/$c#-2009403716]] 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: Initiating leader transfer 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader708: pauseLeader successfully completed - doing transfer 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Attempting to transfer leadership 08:39:03,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower709: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower710: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 08:39:03,696 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Checking sendAppendEntries for follower follower709: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:39:03,696 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower710: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 08:39:03,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,696 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: onLeaderTransitioning: LeaderTransitioning [leaderId=leader708] 08:39:03,696 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): sendAppendEntries: 0 is present for follower follower710 08:39:03,815 AM [test-akka.actor.default-dispatcher-11] [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]]] 08:39:03,815 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,815 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,936 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:03,936 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:04,55 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader708: leader transfer aborted 08:39:04,56 AM [test-akka.actor.default-dispatcher-6] [WARN] RaftActorLeadershipTransferCohort - leader708: Failed to transfer leadership in 359.4 ms 08:39:04,56 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708: LeadershipTransfer request from follower710 failed 08:39:04,56 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader708 (Leader): Leadership transfer expired 08:39:04,56 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower711: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:04,56 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower709: Lagging 0 entries behind leader leader708 and reached 0 (of expected -1) 08:39:04,99 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 08:39:04,100 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-notifier712#1952668354] 08:39:04,111 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower709-collector713#-1159225773] 08:39:04,111 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower709] 08:39:04,111 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-notifier714#526037222] 08:39:04,112 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower710-collector715#-521688152] 08:39:04,112 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower710] 08:39:04,112 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier716#-1620917310] 08:39:04,112 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector717#1698573866] 08:39:04,113 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 08:39:04,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-notifier718#824689902] 08:39:04,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader708-collector719#1380487767] 08:39:04,113 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader708] 08:39:04,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-2009403716] 08:39:04,114 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 08:39:04,114 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/25/2024 08:39:04.116] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower721]: org.opendaylight.controller.cluster.common.actor.Monitor@631f149b 08:39:04,117 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower721 with journal batch size 1000 08:39:04,117 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: SnapshotOffer called. 08:39:04,117 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Moving last applied index from -1 to -1 08:39:04,117 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=1, votedFor=null 08:39:04,118 AM [test-akka.actor.default-dispatcher-7] [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]] 08:39:04,118 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower721 in 80.63 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:04,119 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Recovery completed in 1.057 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 08:39:04.218] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower722]: org.opendaylight.controller.cluster.common.actor.Monitor@4d761a28 08:39:04,218 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower722 with journal batch size 1000 08:39:04,219 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: SnapshotOffer called. 08:39:04,219 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Moving last applied index from -1 to -1 08:39:04,219 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=1, votedFor=null 08:39:04,219 AM [test-akka.actor.default-dispatcher-7] [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]] 08:39:04,219 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower722 in 76.77 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/25/2024 08:39:04.220] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower723]: org.opendaylight.controller.cluster.common.actor.Monitor@69af01e3 08:39:04,220 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower723 with journal batch size 1000 08:39:04,220 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Recovery completed in 890.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:04,221 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: SnapshotOffer called. 08:39:04,221 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Moving last applied index from -1 to -1 08:39:04,221 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=1, votedFor=null 08:39:04,221 AM [test-akka.actor.default-dispatcher-12] [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]] 08:39:04,221 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower723 in 64.73 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:04,222 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Recovery completed in 883.0 μ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 08:39:04.222] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader720]: org.opendaylight.controller.cluster.common.actor.Monitor@5ddb7dbc 08:39:04,223 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader720 with journal batch size 1000 08:39:04,223 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: SnapshotOffer called. 08:39:04,223 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Moving last applied index from -1 to -1 08:39:04,223 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=1, votedFor=null 08:39:04,223 AM [test-akka.actor.default-dispatcher-12] [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]] 08:39:04,223 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader720 in 39.73 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 08:39:04,224 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Recovery completed in 669.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower): Received ElectionTimeout - switching to Candidate 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Election: Candidate has following voting peers: [follower722, follower721] 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=2, votedFor=leader720 08:39:04,635 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Starting new election term 2 08:39:04,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower722 08:39:04,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): Sending RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 08:39:04,636 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Cluster state: [] 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=null 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Cluster state: [] 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=2, votedFor=leader720 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [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 08:39:04,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=null 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): In requestVote: RequestVote [term=2, candidateId=leader720, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721: Set currentTerm=2, votedFor=leader720 08:39:04,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower721 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Election: Leader has following peers: [follower722, follower721, follower723] 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,637 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:39:04,637 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower721: Last sync leader does not match current leader leader720, need to catch up to -1 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower721 updated: matchIndex: -1, nextIndex: 0 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.638] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower721] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47b3f4fa 08:39:04,638 AM [test-akka.actor.default-dispatcher-6] [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 08:39:04,638 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower723: Set currentTerm=2, votedFor=null 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower722: Last sync leader does not match current leader leader720, need to catch up to -1 08:39:04,638 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower723: Last sync leader does not match current leader leader720, need to catch up to -1 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower722 updated: matchIndex: -1, nextIndex: 0 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower723 updated: matchIndex: -1, nextIndex: 0 08:39:04,638 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.638] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower722] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7a84deef [WARN] [03/25/2024 08:39:04.639] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower723] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@f73518d 08:39:04,675 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 08:39:04,675 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 08:39:04,675 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 08:39:04,675 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower721] 08:39:04,686 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower723] 08:39:04,697 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 08:39:04,697 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 08:39:04,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: onRequestLeadership RequestLeadership [requestedFollowerId=follower722, replyTo=Actor[akka://test/user/$d#948383839]] 08:39:04,697 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Initiating leader transfer 08:39:04,697 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: onLeaderTransitioning: LeaderTransitioning [leaderId=leader720] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader720: pauseLeader successfully completed - doing transfer [WARN] [03/25/2024 08:39:04.697] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Attempting to transfer leadership [WARN] [03/25/2024 08:39:04.698] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower723] received dead letter from TestActor[akka://test/user/leader720]: LeaderTransitioning [leaderId=leader720] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,698 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.698] [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=[]] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): tryToCompleteLeadershipTransfer: followerId: follower722, matchIndex: -1, lastIndex: -1, isVoting: true 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Follower's log matches - sending ElectionTimeout 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower722: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.698] [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=[]] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower721: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.698] [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@59e1e099 08:39:04,698 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower722: Lagging 0 entries behind leader leader720 and reached -1 (of expected -1) 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Checking sendAppendEntries for follower follower723: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.698] [test-akka.actor.default-dispatcher-17] [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 08:39:04.698] [test-akka.actor.default-dispatcher-17] [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=[]] 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leader transfer complete 08:39:04,698 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader transfer complete - waiting for new leader 08:39:04,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:39:04,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower): Received TimeoutNow - switching to Candidate 08:39:04,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Election: Candidate has following voting peers: [follower721, leader720] 08:39:04,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722: Set currentTerm=3, votedFor=follower722 08:39:04,699 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Starting new election term 3 08:39:04,699 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer follower721 08:39:04,699 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): Sending RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] to peer leader720 08:39:04,699 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 [WARN] [03/25/2024 08:39:04.699] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower721] received dead letter from TestActor[akka://test/user/follower722]: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Cluster state: [] 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=null 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): Leadership transfer in progress - processing RequestVote 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): In requestVote: RequestVote [term=3, candidateId=follower722, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Set currentTerm=3, votedFor=follower722 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 08:39:04,699 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader720 (Leader) :- Switching from behavior Leader to Follower, election term: 3 08:39:04,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 08:39:04,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 08:39:04,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Election: Leader has following peers: [follower721, leader720, follower723] 08:39:04,700 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower721: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,701 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,701 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower follower723: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:39:04.701] [test-akka.actor.default-dispatcher-16] [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=[]] 08:39:04,701 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 [WARN] [03/25/2024 08:39:04.701] [test-akka.actor.default-dispatcher-16] [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=[]] 08:39:04,701 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader720: Last sync leader does not match current leader follower722, need to catch up to -1 08:39:04,701 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader720 updated: matchIndex: -1, nextIndex: 0 08:39:04,701 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader720: leader changed to follower722 08:39:04,701 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower722 (Leader): Checking sendAppendEntries for follower leader720: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:39:04,701 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader720: Successfully transferred leadership to follower722 in 3.746 ms 08:39:04,701 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader720: Leadership transferred successfully to follower722 [WARN] [03/25/2024 08:39:04.701] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader720] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@32a644f0 08:39:04,748 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 08:39:04,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-notifier724#-212602845] 08:39:04,759 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower721-collector725#-1162482828] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-notifier726#-833900369] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower722-collector727#-1977725524] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower722] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-notifier728#-1206836964] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower723-collector729#-1993267289] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-notifier730#1143448353] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader720-collector731#-1403249047] 08:39:04,760 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader720] 08:39:04,761 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#948383839] [INFO] [03/25/2024 08:39:04.762] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 08:39:04,762 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/25/2024 08:39:04.763] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.141:25520) [INFO] [03/25/2024 08:39:04.763] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Exiting completed [INFO] [03/25/2024 08:39:04.763] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Shutting down... 08:39:04,763 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Exiting completed 08:39:04,763 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Shutting down... 08:39:04,764 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Successfully shut down [INFO] [03/25/2024 08:39:04.763] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Successfully shut down [INFO] [03/25/2024 08:39:04.765] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.141:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/25/2024 08:39:04.765] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.141:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 08:39:04,765 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 08:39:04,765 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/25/2024 08:39:04.771] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.141:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/25/2024 08:39:04.771] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger