[DEBUG] [10/24/2024 13:49:49.921] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:49:49,924 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/24/2024 13:49:49.925] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [10/24/2024 13:49:49.925] [main] [EventStream(akka://test)] Default Loggers started [INFO] [10/24/2024 13:49:49.968] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.82:25520] with UID [7688906911559002629] [INFO] [10/24/2024 13:49:49.970] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Starting up, Akka version [2.6.21] ... 01:49:49,971 PM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.82:25520] with UID [7688906911559002629] 01:49:49,971 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Starting up, Akka version [2.6.21] ... [INFO] [10/24/2024 13:49:49.977] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [10/24/2024 13:49:49.977] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Started up successfully 01:49:49,979 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:49:49,979 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Started up successfully 01:49:49,988 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:49:49,988 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:49:50,5 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 01:49:50,5 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [INFO] [10/24/2024 13:49:49.985] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [10/24/2024 13:49:49.985] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [10/24/2024 13:49:50.038] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower26]: org.opendaylight.controller.cluster.common.actor.Monitor@7189e3d2 [INFO] [akkaDeadLetter][10/24/2024 13:49:50.038] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower26] 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'. 01:49:50,39 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower26] 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'. 01:49:50,41 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower26 with journal batch size 1000 01:49:50,47 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: SnapshotOffer called. 01:49:50,47 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Moving last applied index from -1 to -1 01:49:50,47 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Set currentTerm=1, votedFor=null 01:49:50,47 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Updated server config: isVoting: true, peers: [PeerInfo [id=follower28, address=akka://test/user/follower28, votingState=NON_VOTING], PeerInfo [id=follower27, address=akka://test/user/follower27, votingState=VOTING], PeerInfo [id=leader25, address=akka://test/user/leader25, votingState=VOTING]] 01:49:50,49 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower26 in 2.044 ms: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:50,51 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Recovery completed in 3.993 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:50.144] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower27]: org.opendaylight.controller.cluster.common.actor.Monitor@7ac9a729 01:49:50,144 PM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower27] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/24/2024 13:49:50.144] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower27] 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'. 01:49:50,145 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower27 with journal batch size 1000 01:49:50,146 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: SnapshotOffer called. 01:49:50,146 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Moving last applied index from -1 to -1 01:49:50,146 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Set currentTerm=1, votedFor=null 01:49:50,146 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Updated server config: isVoting: true, peers: [PeerInfo [id=follower28, address=akka://test/user/follower28, votingState=NON_VOTING], PeerInfo [id=leader25, address=akka://test/user/leader25, votingState=VOTING], PeerInfo [id=follower26, address=akka://test/user/follower26, votingState=VOTING]] 01:49:50,146 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower27 in 82.62 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:50,148 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Recovery completed in 2.044 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:50,251 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower28 with journal batch size 1000 [WARN] [10/24/2024 13:49:50.251] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower28]: org.opendaylight.controller.cluster.common.actor.Monitor@65df6d24 [INFO] [akkaDeadLetter][10/24/2024 13:49:50.252] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower28] 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'. 01:49:50,252 PM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower28] 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'. 01:49:50,254 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: SnapshotOffer called. 01:49:50,254 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: Moving last applied index from -1 to -1 01:49:50,254 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: Set currentTerm=1, votedFor=null 01:49:50,255 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: Updated server config: isVoting: false, peers: [PeerInfo [id=follower27, address=akka://test/user/follower27, votingState=VOTING], PeerInfo [id=leader25, address=akka://test/user/leader25, votingState=VOTING], PeerInfo [id=follower26, address=akka://test/user/follower26, votingState=VOTING]] 01:49:50,255 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower28 in 296.3 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:50,257 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: Recovery completed in 2.393 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:50.356] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader25]: org.opendaylight.controller.cluster.common.actor.Monitor@61761c07 01:49:50,357 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader25] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/24/2024 13:49:50.357] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader25] 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'. 01:49:50,357 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader25 with journal batch size 1000 01:49:50,358 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: SnapshotOffer called. 01:49:50,358 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Moving last applied index from -1 to -1 01:49:50,358 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Set currentTerm=1, votedFor=null 01:49:50,358 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Updated server config: isVoting: true, peers: [PeerInfo [id=follower28, address=akka://test/user/follower28, votingState=NON_VOTING], PeerInfo [id=follower27, address=akka://test/user/follower27, votingState=VOTING], PeerInfo [id=follower26, address=akka://test/user/follower26, votingState=VOTING]] 01:49:50,358 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader25 in 93.71 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:50,363 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Recovery completed in 4.485 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:50,690 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:50,691 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:50,693 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Follower): Received ElectionTimeout - switching to Candidate 01:49:50,693 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): Election: Candidate has following voting peers: [follower27, follower26] 01:49:50,693 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Set currentTerm=2, votedFor=leader25 01:49:50,693 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): Starting new election term 2 01:49:50,693 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): Sending RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] to peer follower27 01:49:50,694 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): Sending RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] to peer follower26 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): Cluster state: [] 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:50,694 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Set currentTerm=2, votedFor=null 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): In requestVote: RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: Set currentTerm=2, votedFor=leader25 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): Cluster state: [] 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Set currentTerm=2, votedFor=null 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): In requestVote: RequestVote [term=2, candidateId=leader25, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: Set currentTerm=2, votedFor=leader25 01:49:50,694 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Election: Leader has following peers: [follower28, follower27, follower26] 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower28: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower27: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower26: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,696 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower28 (Follower): Term 2 in "AppendEntries [leaderId=leader25, 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 01:49:50,696 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:50,696 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: Set currentTerm=2, votedFor=null 01:49:50,696 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower28: Last sync leader does not match current leader leader25, need to catch up to -1 01:49:50,697 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower27: Last sync leader does not match current leader leader25, need to catch up to -1 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower28 updated: matchIndex: -1, nextIndex: 0 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower28: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,697 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower26: Last sync leader does not match current leader leader25, need to catch up to -1 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower27 updated: matchIndex: -1, nextIndex: 0 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower27: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower26 updated: matchIndex: -1, nextIndex: 0 01:49:50,697 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower26: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,698 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower27] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [10/24/2024 13:49:50.697] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower27] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@202cb8c0 01:49:50,698 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower28] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/24/2024 13:49:50.697] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower27] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower27] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [10/24/2024 13:49:50.698] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower28] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@682356b6 01:49:50,698 PM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower26] 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][10/24/2024 13:49:50.698] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower28] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower28] 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] [10/24/2024 13:49:50.699] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower26] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@568abf13 [INFO] [akkaDeadLetter][10/24/2024 13:49:50.698] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower26] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower26] 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'. 01:49:50,716 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:50,716 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader25 starting 01:49:50,719 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: onShutDown 01:49:50,719 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: Initiating leader transfer 01:49:50,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader25: pauseLeader successfully completed - doing transfer 01:49:50,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Attempting to transfer leadership 01:49:50,722 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower28: onLeaderTransitioning: LeaderTransitioning [leaderId=leader25] 01:49:50,722 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower27: onLeaderTransitioning: LeaderTransitioning [leaderId=leader25] 01:49:50,723 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower26: onLeaderTransitioning: LeaderTransitioning [leaderId=leader25] 01:49:50,723 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower28: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,723 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower27: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,724 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Checking sendAppendEntries for follower follower26: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:50,724 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower28: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,724 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower27: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,724 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower26: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:50.724] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower28] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1a907f80 01:49:50,724 PM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower28] 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] [10/24/2024 13:49:50.724] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower26] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d8b1a42 01:49:50,724 PM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower26] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [10/24/2024 13:49:50.724] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower27] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@f88a4c1 [INFO] [akkaDeadLetter][10/24/2024 13:49:50.724] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower28] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower28] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/24/2024 13:49:50.724] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower26] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower26] 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'. 01:49:50,725 PM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower27] 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'. [INFO] [akkaDeadLetter][10/24/2024 13:49:50.725] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower27] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower27] 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'. 01:49:50,811 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower28: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,811 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower27: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,811 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower26: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,931 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower28: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,931 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower27: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:50,932 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower26: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:51,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader25: leader transfer aborted 01:49:51,50 PM [test-akka.actor.default-dispatcher-5] [WARN] RaftActorLeadershipTransferCohort - leader25: Failed to transfer leadership in 330.2 ms 01:49:51,51 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25: leader transfer failed - sending PoisonPill 01:49:51,51 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader25 (Leader): Leadership transfer expired 01:49:51,51 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower28: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:51,52 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower26: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) 01:49:51,52 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower27: Lagging 0 entries behind leader leader25 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:51.052] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader25] received dead letter from TestActor[akka://test/user/follower28]: AppendEntriesReply [term=2, success=true, followerId=follower28, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [10/24/2024 13:49:51.052] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader25] received dead letter from TestActor[akka://test/user/follower26]: AppendEntriesReply [term=2, success=true, followerId=follower26, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [10/24/2024 13:49:51.053] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader25] received dead letter from TestActor[akka://test/user/follower27]: AppendEntriesReply [term=2, success=true, followerId=follower27, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:51,54 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader25 ending 01:49:51,55 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 01:49:51,56 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower26-notifier29#-353060449] 01:49:51,69 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower26-collector30#-1744170289] 01:49:51,69 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower26] 01:49:51,70 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower27-notifier31#-967030738] 01:49:51,70 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower27-collector32#1941247972] 01:49:51,71 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower27] 01:49:51,71 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower28-notifier33#-223798049] 01:49:51,72 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower28-collector34#-915724495] 01:49:51,72 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower28] 01:49:51,73 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader25-notifier35#-571890978] 01:49:51,74 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader25-collector36#933551924] 01:49:51,74 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader25] 01:49:51,77 PM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 01:49:51,77 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:51,81 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower38 with journal batch size 1000 [WARN] [10/24/2024 13:49:51.081] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower38]: org.opendaylight.controller.cluster.common.actor.Monitor@54ba592a 01:49:51,82 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: SnapshotOffer called. 01:49:51,82 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Moving last applied index from -1 to -1 01:49:51,83 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Set currentTerm=1, votedFor=null 01:49:51,83 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Updated server config: isVoting: true, peers: [PeerInfo [id=follower39, address=akka://test/user/follower39, votingState=VOTING], PeerInfo [id=leader37, address=akka://test/user/leader37, votingState=VOTING], PeerInfo [id=follower40, address=akka://test/user/follower40, votingState=NON_VOTING]] 01:49:51,83 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower38 in 120.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,86 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Recovery completed in 3.045 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:51,87 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower39 with journal batch size 1000 [WARN] [10/24/2024 13:49:51.087] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower39]: org.opendaylight.controller.cluster.common.actor.Monitor@10d9bc9f 01:49:51,88 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: SnapshotOffer called. 01:49:51,88 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Moving last applied index from -1 to -1 01:49:51,88 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Set currentTerm=1, votedFor=null 01:49:51,88 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Updated server config: isVoting: true, peers: [PeerInfo [id=leader37, address=akka://test/user/leader37, votingState=VOTING], PeerInfo [id=follower38, address=akka://test/user/follower38, votingState=VOTING], PeerInfo [id=follower40, address=akka://test/user/follower40, votingState=NON_VOTING]] 01:49:51,88 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower39 in 89.04 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,90 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Recovery completed in 2.015 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:51.192] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower40]: org.opendaylight.controller.cluster.common.actor.Monitor@39e1f4b7 01:49:51,194 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower40 with journal batch size 1000 01:49:51,197 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: SnapshotOffer called. 01:49:51,197 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Moving last applied index from -1 to -1 01:49:51,197 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Set currentTerm=1, votedFor=null 01:49:51,197 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Updated server config: isVoting: false, peers: [PeerInfo [id=follower39, address=akka://test/user/follower39, votingState=VOTING], PeerInfo [id=leader37, address=akka://test/user/leader37, votingState=VOTING], PeerInfo [id=follower38, address=akka://test/user/follower38, votingState=VOTING]] 01:49:51,198 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader37 with journal batch size 1000 01:49:51,198 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower40 in 155.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/24/2024 13:49:51.198] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader37]: org.opendaylight.controller.cluster.common.actor.Monitor@5be6c36c 01:49:51,199 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: SnapshotOffer called. 01:49:51,199 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Moving last applied index from -1 to -1 01:49:51,199 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Set currentTerm=1, votedFor=null 01:49:51,200 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Updated server config: isVoting: true, peers: [PeerInfo [id=follower39, address=akka://test/user/follower39, votingState=VOTING], PeerInfo [id=follower38, address=akka://test/user/follower38, votingState=VOTING], PeerInfo [id=follower40, address=akka://test/user/follower40, votingState=NON_VOTING]] 01:49:51,200 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader37 in 104.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,202 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Recovery completed in 4.215 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:51,202 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Recovery completed in 2.117 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:51,540 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:51,540 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Follower): Received ElectionTimeout - switching to Candidate 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): Election: Candidate has following voting peers: [follower39, follower38] 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Set currentTerm=2, votedFor=leader37 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): Starting new election term 2 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): Sending RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] to peer follower39 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): Sending RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] to peer follower38 01:49:51,541 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:51,541 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:51,541 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): Cluster state: [] 01:49:51,541 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:51,541 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:51,541 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Set currentTerm=2, votedFor=null 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Cluster state: [] 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Set currentTerm=2, votedFor=null 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): In requestVote: RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Set currentTerm=2, votedFor=leader37 01:49:51,542 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:51,542 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): In requestVote: RequestVote [term=2, candidateId=leader37, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:51,543 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Set currentTerm=2, votedFor=leader37 01:49:51,543 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:51,543 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:51,543 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Election: Leader has following peers: [follower39, follower38, follower40] 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower39: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower38: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower40: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,544 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower38: Last sync leader does not match current leader leader37, need to catch up to -1 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower38 updated: matchIndex: -1, nextIndex: 0 01:49:51,544 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower40 (Follower): Term 2 in "AppendEntries [leaderId=leader37, 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 01:49:51,544 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower38: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,545 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Set currentTerm=2, votedFor=null [WARN] [10/24/2024 13:49:51.544] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower38] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3533c191 01:49:51,545 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower39: Last sync leader does not match current leader leader37, need to catch up to -1 01:49:51,545 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower40: Last sync leader does not match current leader leader37, need to catch up to -1 01:49:51,545 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower39 updated: matchIndex: -1, nextIndex: 0 01:49:51,545 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower39: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,545 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower40 updated: matchIndex: -1, nextIndex: 0 01:49:51,545 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower40: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:51.545] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower39] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@18735d26 [WARN] [10/24/2024 13:49:51.546] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower40] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4202bf8 01:49:51,562 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:51,562 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:49:51,564 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:49:51,564 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:49:51,565 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:49:51,565 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: onRequestLeadership RequestLeadership [requestedFollowerId=follower39, replyTo=Actor[akka://test/user/$a#-972317330]] 01:49:51,567 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Initiating leader transfer 01:49:51,567 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: onLeaderTransitioning: LeaderTransitioning [leaderId=leader37] 01:49:51,567 PM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader37: pauseLeader successfully completed - doing transfer 01:49:51,567 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: onLeaderTransitioning: LeaderTransitioning [leaderId=leader37] 01:49:51,567 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Attempting to transfer leadership 01:49:51,567 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: onLeaderTransitioning: LeaderTransitioning [leaderId=leader37] 01:49:51,567 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower39: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,567 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower38: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,568 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower39: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower40: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,568 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower38: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): tryToCompleteLeadershipTransfer: followerId: follower39, matchIndex: -1, lastIndex: -1, isVoting: true 01:49:51,568 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower40: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Follower's log matches - sending ElectionTimeout 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower39: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:51.568] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower39] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1138144 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower38: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,568 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower39: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:51.568] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower38] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@fd46f16 01:49:51,568 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Checking sendAppendEntries for follower follower40: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,568 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower38: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower40: Lagging 0 entries behind leader leader37 and reached -1 (of expected -1) 01:49:51,569 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Leader transfer complete [WARN] [10/24/2024 13:49:51.568] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower40] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@bebea34 01:49:51,569 PM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader37: leader transfer complete - waiting for new leader 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower): Received TimeoutNow - switching to Candidate 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): Election: Candidate has following voting peers: [leader37, follower38] 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39: Set currentTerm=3, votedFor=follower39 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): Starting new election term 3 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): Sending RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] to peer leader37 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): Sending RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] to peer follower38 01:49:51,569 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:49:51,569 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:51,569 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Cluster state: [] 01:49:51,569 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:51,569 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 01:49:51,569 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Set currentTerm=3, votedFor=null 01:49:51,570 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): In requestVote: RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:51,570 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38: Set currentTerm=3, votedFor=follower39 01:49:51,570 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower38 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Cluster state: [] 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Set currentTerm=3, votedFor=null 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): Leadership transfer in progress - processing RequestVote 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): In requestVote: RequestVote [term=3, candidateId=follower39, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Set currentTerm=3, votedFor=follower39 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:49:51,570 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader37 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Election: Leader has following peers: [leader37, follower38, follower40] 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower leader37: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower follower38: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower follower40: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:49:51,571 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower38: Last sync leader does not match current leader follower39, need to catch up to -1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower38 updated: matchIndex: -1, nextIndex: 0 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower follower38: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,571 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower40 (Follower): Term 3 in "AppendEntries [leaderId=follower39, 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 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower40: Set currentTerm=3, votedFor=null 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower40: Last sync leader does not match current leader follower39, need to catch up to -1 [WARN] [10/24/2024 13:49:51.572] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower38] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c6f4159 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower40 updated: matchIndex: -1, nextIndex: 0 01:49:51,572 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader37: Last sync leader does not match current leader follower39, need to catch up to -1 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower follower40: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader37 updated: matchIndex: -1, nextIndex: 0 01:49:51,572 PM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader37: leader changed to follower39 01:49:51,572 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower39 (Leader): Checking sendAppendEntries for follower leader37: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:51,572 PM [test-akka.actor.default-dispatcher-17] [INFO] RaftActorLeadershipTransferCohort - leader37: Successfully transferred leadership to follower39 in 5.125 ms 01:49:51,572 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader37: Leadership transferred successfully to follower39 [WARN] [10/24/2024 13:49:51.573] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader37] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1e62457d [WARN] [10/24/2024 13:49:51.574] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower40] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3df60612 01:49:51,649 PM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 01:49:51,649 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower38-notifier41#-1903653624] 01:49:51,663 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower38-collector42#-1437156556] 01:49:51,663 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower38] 01:49:51,664 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower39-notifier43#1088138551] 01:49:51,668 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower39-collector44#1562085765] 01:49:51,669 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower39] 01:49:51,670 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower40-notifier45#-873330566] 01:49:51,670 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower40-collector46#-948622340] 01:49:51,671 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower40] 01:49:51,672 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader37-notifier47#-1907734720] 01:49:51,672 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader37-collector48#829484498] 01:49:51,673 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader37] 01:49:51,673 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#-972317330] 01:49:51,676 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 01:49:51,676 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:51,681 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower50 with journal batch size 1000 [WARN] [10/24/2024 13:49:51.681] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower50]: org.opendaylight.controller.cluster.common.actor.Monitor@58d93296 01:49:51,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: SnapshotOffer called. 01:49:51,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Moving last applied index from -1 to -1 01:49:51,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Set currentTerm=1, votedFor=null 01:49:51,683 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Updated server config: isVoting: true, peers: [PeerInfo [id=leader49, address=akka://test/user/leader49, votingState=VOTING], PeerInfo [id=follower52, address=akka://test/user/follower52, votingState=NON_VOTING], PeerInfo [id=follower51, address=akka://test/user/follower51, votingState=VOTING]] 01:49:51,683 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower50 in 95.38 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,684 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Recovery completed in 1.462 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:51,787 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower51 with journal batch size 1000 [WARN] [10/24/2024 13:49:51.787] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower51]: org.opendaylight.controller.cluster.common.actor.Monitor@10f3fd97 01:49:51,788 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: SnapshotOffer called. 01:49:51,788 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Moving last applied index from -1 to -1 01:49:51,788 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Set currentTerm=1, votedFor=null 01:49:51,789 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Updated server config: isVoting: true, peers: [PeerInfo [id=leader49, address=akka://test/user/leader49, votingState=VOTING], PeerInfo [id=follower50, address=akka://test/user/follower50, votingState=VOTING], PeerInfo [id=follower52, address=akka://test/user/follower52, votingState=NON_VOTING]] 01:49:51,789 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower51 in 141.5 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,791 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Recovery completed in 2.464 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:51.892] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower52]: org.opendaylight.controller.cluster.common.actor.Monitor@64fd1727 01:49:51,894 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower52 with journal batch size 1000 01:49:51,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: SnapshotOffer called. 01:49:51,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: Moving last applied index from -1 to -1 01:49:51,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: Set currentTerm=1, votedFor=null 01:49:51,900 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: Updated server config: isVoting: false, peers: [PeerInfo [id=leader49, address=akka://test/user/leader49, votingState=VOTING], PeerInfo [id=follower50, address=akka://test/user/follower50, votingState=VOTING], PeerInfo [id=follower51, address=akka://test/user/follower51, votingState=VOTING]] 01:49:51,900 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower52 in 181.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:51,903 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: Recovery completed in 2.966 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:51.998] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader49]: org.opendaylight.controller.cluster.common.actor.Monitor@3dafa9ef 01:49:51,999 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader49 with journal batch size 1000 01:49:52,0 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: SnapshotOffer called. 01:49:52,0 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Moving last applied index from -1 to -1 01:49:52,0 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Set currentTerm=1, votedFor=null 01:49:52,1 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Updated server config: isVoting: true, peers: [PeerInfo [id=follower50, address=akka://test/user/follower50, votingState=VOTING], PeerInfo [id=follower52, address=akka://test/user/follower52, votingState=NON_VOTING], PeerInfo [id=follower51, address=akka://test/user/follower51, votingState=VOTING]] 01:49:52,1 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader49 in 119.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:52,2 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Recovery completed in 1.715 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:52,360 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:52,360 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Follower): Received ElectionTimeout - switching to Candidate 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): Election: Candidate has following voting peers: [follower50, follower51] 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Set currentTerm=2, votedFor=leader49 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): Starting new election term 2 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): Sending RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] to peer follower50 01:49:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): Sending RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] to peer follower51 01:49:52,361 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:52,361 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): Cluster state: [] 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Set currentTerm=2, votedFor=null 01:49:52,362 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): In requestVote: RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: Set currentTerm=2, votedFor=leader49 01:49:52,362 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): Cluster state: [] 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Set currentTerm=2, votedFor=null 01:49:52,362 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): In requestVote: RequestVote [term=2, candidateId=leader49, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:52,363 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: Set currentTerm=2, votedFor=leader49 01:49:52,363 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:52,363 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:52,363 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Election: Leader has following peers: [follower50, follower52, follower51] 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower50: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower52: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,364 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower50: Last sync leader does not match current leader leader49, need to catch up to -1 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower51: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower50 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/24/2024 13:49:52.364] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower50] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@68d553db 01:49:52,364 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower50: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,365 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower52 (Follower): Term 2 in "AppendEntries [leaderId=leader49, 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 01:49:52,365 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: Set currentTerm=2, votedFor=null 01:49:52,365 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower51: Last sync leader does not match current leader leader49, need to catch up to -1 01:49:52,365 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower52: Last sync leader does not match current leader leader49, need to catch up to -1 01:49:52,365 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower51 updated: matchIndex: -1, nextIndex: 0 01:49:52,365 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower51: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:52.365] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower51] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3261d8bd 01:49:52,365 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower52 updated: matchIndex: -1, nextIndex: 0 01:49:52,365 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower52: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:52.365] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower52] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66ced0a3 01:49:52,408 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:52,408 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:49:52,410 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:49:52,410 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower51 starting 01:49:52,411 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower51: onShutDown 01:49:52,411 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower51 ending 01:49:52,411 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:49:52,411 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:49:52,411 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: onRequestLeadership RequestLeadership [requestedFollowerId=follower51, replyTo=Actor[akka://test/user/$b#1798411963]] 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: Initiating leader transfer 01:49:52,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower50: onLeaderTransitioning: LeaderTransitioning [leaderId=leader49] 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader49: pauseLeader successfully completed - doing transfer 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Attempting to transfer leadership 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower50: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,412 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower52: onLeaderTransitioning: LeaderTransitioning [leaderId=leader49] [WARN] [10/24/2024 13:49:52.412] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower51] received dead letter from TestActor[akka://test/user/leader49]: LeaderTransitioning [leaderId=leader49] 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower52: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,412 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower50: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) 01:49:52,412 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Checking sendAppendEntries for follower follower51: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:52,413 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower52: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:52.413] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower51] received dead letter from TestActor[akka://test/user/leader49]: AppendEntries [leaderId=leader49, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/24/2024 13:49:52.413] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower50] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@463e01b1 [WARN] [10/24/2024 13:49:52.413] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower52] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@efdb0e2 [WARN] [10/24/2024 13:49:52.481] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower51] received dead letter from TestActor[akka://test/user/leader49]: AppendEntries [leaderId=leader49, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:52,601 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower50: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) 01:49:52,601 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower52: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:52.601] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower51] received dead letter from TestActor[akka://test/user/leader49]: AppendEntries [leaderId=leader49, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:52,720 PM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader49: leader transfer aborted 01:49:52,720 PM [test-akka.actor.default-dispatcher-6] [WARN] RaftActorLeadershipTransferCohort - leader49: Failed to transfer leadership in 308.1 ms 01:49:52,720 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49: LeadershipTransfer request from follower51 failed 01:49:52,721 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader49 (Leader): Leadership transfer expired 01:49:52,722 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower50: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) 01:49:52,722 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower52: Lagging 0 entries behind leader leader49 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:52.722] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower51] received dead letter from TestActor[akka://test/user/leader49]: AppendEntries [leaderId=leader49, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:52,766 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 01:49:52,766 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower50-notifier53#-73162249] 01:49:52,778 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower50-collector54#-93823591] 01:49:52,779 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower50] 01:49:52,779 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower51-notifier55#1304691726] 01:49:52,779 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower51-collector56#1292020306] 01:49:52,780 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower51] 01:49:52,780 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower52-notifier57#989008618] 01:49:52,782 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower52-collector58#784859169] 01:49:52,782 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower52] 01:49:52,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader49-notifier59#262054517] 01:49:52,784 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader49-collector60#1484588585] 01:49:52,785 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader49] 01:49:52,786 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#1798411963] 01:49:52,794 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 01:49:52,794 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/24/2024 13:49:52.804] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower62]: org.opendaylight.controller.cluster.common.actor.Monitor@20a0ab31 01:49:52,806 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower62 with journal batch size 1000 01:49:52,807 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: SnapshotOffer called. 01:49:52,807 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Moving last applied index from -1 to -1 01:49:52,807 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Set currentTerm=1, votedFor=null 01:49:52,807 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Updated server config: isVoting: true, peers: [PeerInfo [id=follower64, address=akka://test/user/follower64, votingState=NON_VOTING], PeerInfo [id=follower63, address=akka://test/user/follower63, votingState=VOTING], PeerInfo [id=leader61, address=akka://test/user/leader61, votingState=VOTING]] 01:49:52,807 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower62 in 134.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:52,810 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Recovery completed in 2.390 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:52,907 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower63 with journal batch size 1000 [WARN] [10/24/2024 13:49:52.908] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower63]: org.opendaylight.controller.cluster.common.actor.Monitor@5402413c 01:49:52,909 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: SnapshotOffer called. 01:49:52,909 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Moving last applied index from -1 to -1 01:49:52,909 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Set currentTerm=1, votedFor=null 01:49:52,909 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Updated server config: isVoting: true, peers: [PeerInfo [id=follower64, address=akka://test/user/follower64, votingState=NON_VOTING], PeerInfo [id=leader61, address=akka://test/user/leader61, votingState=VOTING], PeerInfo [id=follower62, address=akka://test/user/follower62, votingState=VOTING]] 01:49:52,909 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower63 in 103.1 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:52,912 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Recovery completed in 3.393 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:52.914] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower64]: org.opendaylight.controller.cluster.common.actor.Monitor@259b79b3 01:49:52,915 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower64 with journal batch size 1000 01:49:52,919 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: SnapshotOffer called. 01:49:52,919 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Moving last applied index from -1 to -1 01:49:52,919 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Set currentTerm=1, votedFor=null 01:49:52,919 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Updated server config: isVoting: false, peers: [PeerInfo [id=follower63, address=akka://test/user/follower63, votingState=VOTING], PeerInfo [id=leader61, address=akka://test/user/leader61, votingState=VOTING], PeerInfo [id=follower62, address=akka://test/user/follower62, votingState=VOTING]] 01:49:52,919 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower64 in 90.30 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:52,921 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Recovery completed in 1.703 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:53.021] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader61]: org.opendaylight.controller.cluster.common.actor.Monitor@4ee9652d 01:49:53,22 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader61 with journal batch size 1000 01:49:53,23 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: SnapshotOffer called. 01:49:53,23 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Moving last applied index from -1 to -1 01:49:53,23 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Set currentTerm=1, votedFor=null 01:49:53,23 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Updated server config: isVoting: true, peers: [PeerInfo [id=follower64, address=akka://test/user/follower64, votingState=NON_VOTING], PeerInfo [id=follower63, address=akka://test/user/follower63, votingState=VOTING], PeerInfo [id=follower62, address=akka://test/user/follower62, votingState=VOTING]] 01:49:53,23 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader61 in 108.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:53,27 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Recovery completed in 4.147 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:53,410 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Follower): Received ElectionTimeout - switching to Candidate 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): Election: Candidate has following voting peers: [follower63, follower62] 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Set currentTerm=2, votedFor=leader61 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): Starting new election term 2 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): Sending RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] to peer follower63 01:49:53,411 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): Sending RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] to peer follower62 01:49:53,412 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Cluster state: [] 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Cluster state: [] 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Set currentTerm=2, votedFor=null 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Set currentTerm=2, votedFor=null 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): In requestVote: RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): In requestVote: RequestVote [term=2, candidateId=leader61, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Set currentTerm=2, votedFor=leader61 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Set currentTerm=2, votedFor=leader61 01:49:53,412 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:53,412 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:53,414 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:53,414 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:53,414 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Election: Leader has following peers: [follower64, follower63, follower62] 01:49:53,414 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:53,415 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower63: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:53,415 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:53,415 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Term 2 in "AppendEntries [leaderId=leader61, 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 01:49:53,415 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Set currentTerm=2, votedFor=null 01:49:53,415 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:53,415 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower64: Last sync leader does not match current leader leader61, need to catch up to -1 01:49:53,415 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower62: Last sync leader does not match current leader leader61, need to catch up to -1 01:49:53,415 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower64 updated: matchIndex: -1, nextIndex: 0 01:49:53,415 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:53,416 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower63: Last sync leader does not match current leader leader61, need to catch up to -1 01:49:53,416 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower62 updated: matchIndex: -1, nextIndex: 0 01:49:53,416 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:53,416 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower63 updated: matchIndex: -1, nextIndex: 0 01:49:53,416 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower63: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:53.415] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower62] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@38672574 [WARN] [10/24/2024 13:49:53.416] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower63] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@79cfd0 [WARN] [10/24/2024 13:49:53.420] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1bc79ad0 01:49:53,423 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:53,423 PM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 01:49:53,423 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,423 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,423 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower64 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Sending AppendEntries to follower follower64: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower63: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower63 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Sending AppendEntries to follower follower63: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,424 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): handleAppendEntries: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower62 01:49:53,424 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Sending AppendEntries to follower follower62: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,424 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Number of entries to be appended = 1 01:49:53,424 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:53,424 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): handleAppendEntries: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,424 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Append entry to log zero 01:49:53,424 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Number of entries to be appended = 1 01:49:53,424 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,424 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:53,424 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Append entry to log zero 01:49:53,425 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,425 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Log size is now 1 01:49:53,425 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Log size is now 1 01:49:53,425 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower64, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:53,425 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower62, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:53,425 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader leader61 and reached -1 (of expected -1) 01:49:53,425 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower62: Lagging 0 entries behind leader leader61 and reached -1 (of expected -1) 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower64 updated: matchIndex: 0, nextIndex: 1 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower62 updated: matchIndex: 0, nextIndex: 1 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Setting last applied to 0 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Moving last applied index from -1 to 0 01:49:53,425 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Applying state for log index 0 data zero 01:49:53,426 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: applyState called: zero 01:49:53,426 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Persisting ApplyJournalEntries with index=0 01:49:53,427 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:53,427 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [10/24/2024 13:49:53.427] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53edd415 [WARN] [10/24/2024 13:49:53.427] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower62] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7fedada1 01:49:53,530 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower63 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Commit index set to 0 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Setting last applied to 0 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Moving last applied index from -1 to 0 01:49:53,530 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Sending AppendEntries to follower follower63: AppendEntries [leaderId=leader61, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:53,530 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Applying state for log index 0 data zero 01:49:53,531 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: applyState called: zero 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Commit index set to 0 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower62: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:49:53,531 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Persisting ApplyJournalEntries with index=0 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Setting last applied to 0 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Moving last applied index from -1 to 0 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Applying state for log index 0 data zero 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: applyState called: zero 01:49:53,531 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Persisting ApplyJournalEntries with index=0 01:49:53,576 PM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 01:49:53,576 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: onShutDown 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Initiating leader transfer 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader61: pauseLeader successfully completed - doing transfer 01:49:53,577 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: onLeaderTransitioning: LeaderTransitioning [leaderId=leader61] 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Attempting to transfer leadership 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,577 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: onLeaderTransitioning: LeaderTransitioning [leaderId=leader61] 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower63: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower63 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,577 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,577 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower62: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): tryToCompleteLeadershipTransfer: followerId: follower64, matchIndex: 0, lastIndex: 0, isVoting: false 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): tryToCompleteLeadershipTransfer: followerId: follower62, matchIndex: 0, lastIndex: 0, isVoting: true 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Follower's log matches - sending ElectionTimeout 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower63: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): sendAppendEntries: 0 is present for follower follower63 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Checking sendAppendEntries for follower follower62: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Leader transfer complete 01:49:53,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader61: leader transfer complete - waiting for new leader 01:49:53,578 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,578 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower62: Lagging 0 entries behind leader leader61 and reached 0 (of expected -1) 01:49:53,578 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:53,578 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower): Received TimeoutNow - switching to Candidate 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): Election: Candidate has following voting peers: [follower63, leader61] 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62: Set currentTerm=3, votedFor=follower62 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): Starting new election term 3 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): Sending RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] to peer follower63 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): Sending RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] to peer leader61 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:53,579 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Cluster state: [] 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Cluster state: [] 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Set currentTerm=3, votedFor=null 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Set currentTerm=3, votedFor=null 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): Leadership transfer in progress - processing RequestVote 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): In requestVote: RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): In requestVote: RequestVote [term=3, candidateId=follower62, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: Set currentTerm=3, votedFor=follower62 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Set currentTerm=3, votedFor=follower62 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:49:53,579 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:49:53,579 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader61 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Election: Leader has following peers: [follower64, follower63, leader61] 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower follower64: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower follower63: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,581 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower64 (Follower): Term 3 in "AppendEntries [leaderId=follower62, 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 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower leader61: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower64: Set currentTerm=3, votedFor=null 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:49:53,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower64: Last sync leader does not match current leader follower62, need to catch up to -1 01:49:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower64 updated: matchIndex: 0, nextIndex: 1 01:49:53,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader61: Last sync leader does not match current leader follower62, need to catch up to -1 01:49:53,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower follower64: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader61: leader changed to follower62 01:49:53,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader61 updated: matchIndex: 0, nextIndex: 1 01:49:53,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower leader61: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:53,582 PM [test-akka.actor.default-dispatcher-12] [INFO] RaftActorLeadershipTransferCohort - leader61: Successfully transferred leadership to follower62 in 4.876 ms 01:49:53,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader61: leader transfer succeeded - sending PoisonPill 01:49:53,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader follower62 and reached 0 (of expected -1) 01:49:53,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader61: Lagging 0 entries behind leader follower62 and reached 0 (of expected -1) [WARN] [10/24/2024 13:49:53.582] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66415978 [WARN] [10/24/2024 13:49:53.582] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower64] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2661648e [WARN] [10/24/2024 13:49:53.582] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader61] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@272cb9b3 [WARN] [10/24/2024 13:49:53.582] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader61] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69e5e5c9 01:49:54,101 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower63: Last sync leader does not match current leader follower62, need to catch up to -1 01:49:54,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower64: Lagging 0 entries behind leader follower62 and reached 0 (of expected -1) 01:49:54,101 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): sendAppendEntries: 0 is present for follower follower63 01:49:54,101 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Sending AppendEntries to follower follower63: AppendEntries [leaderId=follower62, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] [WARN] [10/24/2024 13:49:54.101] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader61] received dead letter from TestActor[akka://test/user/follower62]: AppendEntries [leaderId=follower62, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:54,101 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): handleAppendEntries: AppendEntries [leaderId=follower62, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Number of entries to be appended = 1 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Append entry to log zero 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [10/24/2024 13:49:54.102] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower63] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2151a3a2 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Log size is now 1 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Commit index set to 0 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower63, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower63: Lagging 0 entries behind leader follower62 and reached 0 (of expected -1) 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63 (Follower): Setting last applied to 0 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Moving last applied index from -1 to 0 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Applying state for log index 0 data zero 01:49:54,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower63 updated: matchIndex: 0, nextIndex: 1 01:49:54,102 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: applyState called: zero 01:49:54,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower62 (Leader): Checking sendAppendEntries for follower follower63: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,103 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,103 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: Persisting ApplyJournalEntries with index=0 [WARN] [10/24/2024 13:49:54.104] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower63] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@320d03f1 01:49:54,140 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: onLeaderTransitioning: LeaderTransitioning [leaderId=leader61] 01:49:54,141 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 01:49:54,141 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower63 starting 01:49:54,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower63: onShutDown 01:49:54,142 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower63 ending 01:49:54,142 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 01:49:54,142 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower62-notifier65#1049079934] 01:49:54,154 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower62-collector66#-1502036976] 01:49:54,155 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower62] 01:49:54,155 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower63-notifier67#1933306048] 01:49:54,156 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower63-collector68#439614365] 01:49:54,156 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower63] 01:49:54,157 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower64-notifier69#112910669] 01:49:54,157 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower64-collector70#610006881] 01:49:54,158 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower64] 01:49:54,159 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader61-notifier71#380541779] 01:49:54,160 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader61-collector72#-654047306] 01:49:54,160 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader61] 01:49:54,162 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting 01:49:54,166 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader73 with journal batch size 1000 [WARN] [10/24/2024 13:49:54.166] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader73]: org.opendaylight.controller.cluster.common.actor.Monitor@12f00804 01:49:54,168 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader73: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Follower): Received TimeoutNow - switching to Candidate 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Candidate): Election: Candidate has following voting peers: [] 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73: Set currentTerm=1, votedFor=leader73 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Candidate): Starting new election term 1 01:49:54,169 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:49:54,170 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Candidate): Received ElectionTimeout 01:49:54,170 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Leader): Election: Leader has following peers: [] 01:49:54,170 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader73 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:49:54,266 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader73 starting 01:49:54,266 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader73: onShutDown 01:49:54,267 PM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader73 ending 01:49:54,268 PM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 01:49:54,268 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader73-collector77#-1842610218] 01:49:54,281 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader73] 01:49:54,283 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 01:49:54,283 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/24/2024 13:49:54.288] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower79]: org.opendaylight.controller.cluster.common.actor.Monitor@40acf05e 01:49:54,289 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower79 with journal batch size 1000 01:49:54,290 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: SnapshotOffer called. 01:49:54,290 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Moving last applied index from -1 to -1 01:49:54,290 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Set currentTerm=1, votedFor=null 01:49:54,290 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Updated server config: isVoting: true, peers: [PeerInfo [id=leader78, address=akka://test/user/leader78, votingState=VOTING], PeerInfo [id=follower81, address=akka://test/user/follower81, votingState=NON_VOTING], PeerInfo [id=follower80, address=akka://test/user/follower80, votingState=VOTING]] 01:49:54,290 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower79 in 90.33 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:54,292 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Recovery completed in 1.679 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:54.394] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower80]: org.opendaylight.controller.cluster.common.actor.Monitor@9c8f833 01:49:54,395 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower80 with journal batch size 1000 01:49:54,400 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: SnapshotOffer called. 01:49:54,400 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from -1 to -1 01:49:54,400 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Set currentTerm=1, votedFor=null 01:49:54,400 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Updated server config: isVoting: true, peers: [PeerInfo [id=leader78, address=akka://test/user/leader78, votingState=VOTING], PeerInfo [id=follower81, address=akka://test/user/follower81, votingState=NON_VOTING], PeerInfo [id=follower79, address=akka://test/user/follower79, votingState=VOTING]] 01:49:54,401 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower80 in 108.3 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:54,403 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Recovery completed in 2.420 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:54,501 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower81 with journal batch size 1000 [WARN] [10/24/2024 13:49:54.501] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower81]: org.opendaylight.controller.cluster.common.actor.Monitor@21d46df6 01:49:54,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: SnapshotOffer called. 01:49:54,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Moving last applied index from -1 to -1 01:49:54,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Set currentTerm=1, votedFor=null 01:49:54,504 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Updated server config: isVoting: false, peers: [PeerInfo [id=leader78, address=akka://test/user/leader78, votingState=VOTING], PeerInfo [id=follower80, address=akka://test/user/follower80, votingState=VOTING], PeerInfo [id=follower79, address=akka://test/user/follower79, votingState=VOTING]] 01:49:54,504 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower81 in 124.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:54,506 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Recovery completed in 2.084 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:54.507] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader78]: org.opendaylight.controller.cluster.common.actor.Monitor@1b154100 01:49:54,507 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader78 with journal batch size 1000 01:49:54,508 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: SnapshotOffer called. 01:49:54,508 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Moving last applied index from -1 to -1 01:49:54,508 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Set currentTerm=1, votedFor=null 01:49:54,508 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Updated server config: isVoting: true, peers: [PeerInfo [id=follower81, address=akka://test/user/follower81, votingState=NON_VOTING], PeerInfo [id=follower80, address=akka://test/user/follower80, votingState=VOTING], PeerInfo [id=follower79, address=akka://test/user/follower79, votingState=VOTING]] 01:49:54,508 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader78 in 80.64 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:54,510 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Recovery completed in 1.419 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:54,830 PM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:54,830 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:54,830 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Follower): Received ElectionTimeout - switching to Candidate 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): Election: Candidate has following voting peers: [follower80, follower79] 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Set currentTerm=2, votedFor=leader78 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): Starting new election term 2 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): Sending RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] to peer follower80 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): Sending RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] to peer follower79 01:49:54,831 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:54,831 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:54,831 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Cluster state: [] 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Set currentTerm=2, votedFor=null 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): In requestVote: RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Set currentTerm=2, votedFor=leader78 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:54,832 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Cluster state: [] 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Set currentTerm=2, votedFor=null 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): In requestVote: RequestVote [term=2, candidateId=leader78, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Set currentTerm=2, votedFor=leader78 01:49:54,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:54,834 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:54,834 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:54,834 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Election: Leader has following peers: [follower81, follower80, follower79] 01:49:54,834 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,835 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower80: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,835 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower79: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,835 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:54,835 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Term 2 in "AppendEntries [leaderId=leader78, 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 01:49:54,836 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Set currentTerm=2, votedFor=null 01:49:54,836 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower81: Last sync leader does not match current leader leader78, need to catch up to -1 01:49:54,836 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower81 updated: matchIndex: -1, nextIndex: 0 01:49:54,836 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower81: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,837 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower80 updated: matchIndex: -1, nextIndex: 0 01:49:54,837 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,837 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower79 updated: matchIndex: -1, nextIndex: 0 01:49:54,836 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower80: Last sync leader does not match current leader leader78, need to catch up to -1 01:49:54,837 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower79: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:54,836 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower79: Last sync leader does not match current leader leader78, need to catch up to -1 [WARN] [10/24/2024 13:49:54.837] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower80] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@609a40ce [WARN] [10/24/2024 13:49:54.837] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower81] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@301cb0e0 [WARN] [10/24/2024 13:49:54.838] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower79] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3225c0c8 01:49:54,859 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:54,859 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:49:54,861 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:49:54,861 PM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower81: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower81 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Sending AppendEntries to follower follower81: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower80 01:49:54,861 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,861 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): handleAppendEntries: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Number of entries to be appended = 1 01:49:54,862 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower79: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:54,862 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower79 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Append entry to log zero 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,862 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Sending AppendEntries to follower follower79: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Log size is now 1 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower81, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower81: Lagging 0 entries behind leader leader78 and reached -1 (of expected -1) 01:49:54,862 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower81 updated: matchIndex: 0, nextIndex: 1 01:49:54,862 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower81: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): handleAppendEntries: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Number of entries to be appended = 1 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Append entry to log zero 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Log size is now 1 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower79, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:54,862 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower79: Lagging 0 entries behind leader leader78 and reached -1 (of expected -1) 01:49:54,863 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower79 updated: matchIndex: 0, nextIndex: 1 01:49:54,863 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower79: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:54,863 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,863 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:49:54,863 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Setting last applied to 0 01:49:54,863 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Moving last applied index from -1 to 0 01:49:54,863 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Applying state for log index 0 data zero 01:49:54,863 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,864 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: applyState called: zero 01:49:54,864 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:49:54,864 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Persisting ApplyJournalEntries with index=0 [WARN] [10/24/2024 13:49:54.864] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower81] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@317ae64c [WARN] [10/24/2024 13:49:54.864] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower79] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@21146410 01:49:54,951 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower80 01:49:54,951 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:55,70 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower80 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Commit index set to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader78, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower81: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81 (Follower): Setting last applied to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Moving last applied index from -1 to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Applying state for log index 0 data zero 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Commit index set to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower79: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79 (Follower): Setting last applied to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Moving last applied index from -1 to 0 01:49:55,71 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Applying state for log index 0 data zero 01:49:55,71 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: applyState called: zero 01:49:55,72 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: Persisting ApplyJournalEntries with index=0 01:49:55,72 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: applyState called: zero 01:49:55,72 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: Persisting ApplyJournalEntries with index=0 01:49:55,114 PM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 01:49:55,114 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:49:55,114 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: onRequestLeadership RequestLeadership [requestedFollowerId=follower80, replyTo=Actor[akka://test/user/$c#-1565604858]] 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: Initiating leader transfer 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader78: pauseLeader successfully completed - doing transfer 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Attempting to transfer leadership 01:49:55,114 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower79: onLeaderTransitioning: LeaderTransitioning [leaderId=leader78] 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower81: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:55,114 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:55,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): sendAppendEntries: 0 is present for follower follower80 01:49:55,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Checking sendAppendEntries for follower follower79: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:49:55,115 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower81: onLeaderTransitioning: LeaderTransitioning [leaderId=leader78] 01:49:55,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower79: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,115 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: onLeaderTransitioning: LeaderTransitioning [leaderId=leader78] 01:49:55,115 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower81: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,310 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower81: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,310 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower79: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,430 PM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader78: leader transfer aborted 01:49:55,430 PM [test-akka.actor.default-dispatcher-5] [WARN] RaftActorLeadershipTransferCohort - leader78: Failed to transfer leadership in 316.0 ms 01:49:55,431 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78: LeadershipTransfer request from follower80 failed 01:49:55,431 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader78 (Leader): Leadership transfer expired 01:49:55,431 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower81: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,431 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower79: Lagging 0 entries behind leader leader78 and reached 0 (of expected -1) 01:49:55,468 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 01:49:55,468 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower79-notifier82#-2003856245] 01:49:55,481 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower79-collector83#-626115815] 01:49:55,482 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower79] 01:49:55,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower80-notifier84#-1975878427] 01:49:55,484 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower80-collector85#-609177579] 01:49:55,484 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower80] 01:49:55,485 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower81-notifier86#2071624534] 01:49:55,486 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower81-collector87#-299670550] 01:49:55,486 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower81] 01:49:55,487 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader78-notifier88#-950733386] 01:49:55,488 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader78-collector89#1590008829] 01:49:55,490 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader78] 01:49:55,491 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-1565604858] 01:49:55,493 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 01:49:55,493 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/24/2024 13:49:55.496] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower91]: org.opendaylight.controller.cluster.common.actor.Monitor@26e2e0c7 01:49:55,497 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower91 with journal batch size 1000 01:49:55,498 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: SnapshotOffer called. 01:49:55,498 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Moving last applied index from -1 to -1 01:49:55,498 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Set currentTerm=1, votedFor=null 01:49:55,498 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Updated server config: isVoting: true, peers: [PeerInfo [id=follower92, address=akka://test/user/follower92, votingState=VOTING], PeerInfo [id=leader90, address=akka://test/user/leader90, votingState=VOTING], PeerInfo [id=follower93, address=akka://test/user/follower93, votingState=NON_VOTING]] 01:49:55,498 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower91 in 95.77 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/24/2024 13:49:55.501] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower92]: org.opendaylight.controller.cluster.common.actor.Monitor@68844ab5 01:49:55,502 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower92 with journal batch size 1000 01:49:55,502 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Recovery completed in 3.429 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:55,502 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: SnapshotOffer called. 01:49:55,502 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Moving last applied index from -1 to -1 01:49:55,502 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Set currentTerm=1, votedFor=null 01:49:55,503 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Updated server config: isVoting: true, peers: [PeerInfo [id=follower91, address=akka://test/user/follower91, votingState=VOTING], PeerInfo [id=leader90, address=akka://test/user/leader90, votingState=VOTING], PeerInfo [id=follower93, address=akka://test/user/follower93, votingState=NON_VOTING]] 01:49:55,503 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower92 in 90.84 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:55,505 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Recovery completed in 1.827 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/24/2024 13:49:55.607] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower93]: org.opendaylight.controller.cluster.common.actor.Monitor@4d3ce12 01:49:55,608 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower93 with journal batch size 1000 01:49:55,609 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: SnapshotOffer called. 01:49:55,610 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: Moving last applied index from -1 to -1 01:49:55,610 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: Set currentTerm=1, votedFor=null 01:49:55,610 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: Updated server config: isVoting: false, peers: [PeerInfo [id=follower92, address=akka://test/user/follower92, votingState=VOTING], PeerInfo [id=follower91, address=akka://test/user/follower91, votingState=VOTING], PeerInfo [id=leader90, address=akka://test/user/leader90, votingState=VOTING]] 01:49:55,610 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower93 in 92.65 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/24/2024 13:49:55.612] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader90]: org.opendaylight.controller.cluster.common.actor.Monitor@3f98b2bc 01:49:55,612 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader90 with journal batch size 1000 01:49:55,612 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: Recovery completed in 2.740 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:55,613 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: SnapshotOffer called. 01:49:55,613 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Moving last applied index from -1 to -1 01:49:55,613 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Set currentTerm=1, votedFor=null 01:49:55,613 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Updated server config: isVoting: true, peers: [PeerInfo [id=follower92, address=akka://test/user/follower92, votingState=VOTING], PeerInfo [id=follower91, address=akka://test/user/follower91, votingState=VOTING], PeerInfo [id=follower93, address=akka://test/user/follower93, votingState=NON_VOTING]] 01:49:55,613 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader90 in 47.00 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:49:55,621 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Recovery completed in 7.741 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.82:25520, Removed) 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Follower): Received ElectionTimeout - switching to Candidate 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): Election: Candidate has following voting peers: [follower92, follower91] 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Set currentTerm=2, votedFor=leader90 01:49:55,980 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): Starting new election term 2 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): Sending RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] to peer follower92 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): Sending RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] to peer follower91 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): Cluster state: [] 01:49:55,981 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Set currentTerm=2, votedFor=null 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): In requestVote: RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Set currentTerm=2, votedFor=leader90 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): Cluster state: [] 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Set currentTerm=2, votedFor=null 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): In requestVote: RequestVote [term=2, candidateId=leader90, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91: Set currentTerm=2, votedFor=leader90 01:49:55,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower91 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:49:55,984 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Election: Leader has following peers: [follower92, follower91, follower93] 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower92: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower91: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower93: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:55,985 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower92: Last sync leader does not match current leader leader90, need to catch up to -1 01:49:55,985 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:49:55,986 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower93 (Follower): Term 2 in "AppendEntries [leaderId=leader90, 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 01:49:55,986 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower93: Set currentTerm=2, votedFor=null [WARN] [10/24/2024 13:49:55.986] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower92] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@13b6bed3 01:49:55,986 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower93: Last sync leader does not match current leader leader90, need to catch up to -1 01:49:55,986 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower92 updated: matchIndex: -1, nextIndex: 0 01:49:55,986 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower92: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:55,986 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower93 updated: matchIndex: -1, nextIndex: 0 01:49:55,986 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower93: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:55,987 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower91: Last sync leader does not match current leader leader90, need to catch up to -1 01:49:55,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower91 updated: matchIndex: -1, nextIndex: 0 01:49:55,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower91: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:55.987] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower91] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@752b45f7 [WARN] [10/24/2024 13:49:55.988] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower93] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1a00065d 01:49:56,25 PM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:49:56,25 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:49:56,28 PM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:49:56,28 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower91] 01:49:56,40 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower93] 01:49:56,52 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:49:56,52 PM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:49:56,52 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: onRequestLeadership RequestLeadership [requestedFollowerId=follower92, replyTo=Actor[akka://test/user/$d#1641205448]] 01:49:56,52 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Initiating leader transfer 01:49:56,53 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: onLeaderTransitioning: LeaderTransitioning [leaderId=leader90] 01:49:56,53 PM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader90: pauseLeader successfully completed - doing transfer 01:49:56,53 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Attempting to transfer leadership 01:49:56,53 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower92: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:56.053] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower91] received dead letter from TestActor[akka://test/user/leader90]: LeaderTransitioning [leaderId=leader90] 01:49:56,53 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower91: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,53 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower92: Lagging 0 entries behind leader leader90 and reached -1 (of expected -1) [WARN] [10/24/2024 13:49:56.053] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower93] received dead letter from TestActor[akka://test/user/leader90]: LeaderTransitioning [leaderId=leader90] 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower93: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:56.054] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower91] received dead letter from TestActor[akka://test/user/leader90]: AppendEntries [leaderId=leader90, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/24/2024 13:49:56.054] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower92] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@657c0386 [WARN] [10/24/2024 13:49:56.054] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower93] received dead letter from TestActor[akka://test/user/leader90]: AppendEntries [leaderId=leader90, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): tryToCompleteLeadershipTransfer: followerId: follower92, matchIndex: -1, lastIndex: -1, isVoting: true 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Follower's log matches - sending ElectionTimeout 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower92: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower91: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,54 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower92: Lagging 0 entries behind leader leader90 and reached -1 (of expected -1) 01:49:56,54 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Checking sendAppendEntries for follower follower93: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:56.055] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower91] received dead letter from TestActor[akka://test/user/leader90]: AppendEntries [leaderId=leader90, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:56,55 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Leader transfer complete 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:56,55 PM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader90: leader transfer complete - waiting for new leader 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower): Received TimeoutNow - switching to Candidate [WARN] [10/24/2024 13:49:56.055] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower93] received dead letter from TestActor[akka://test/user/leader90]: AppendEntries [leaderId=leader90, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): Election: Candidate has following voting peers: [follower91, leader90] 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92: Set currentTerm=3, votedFor=follower92 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): Starting new election term 3 01:49:56,55 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): Sending RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1] to peer follower91 01:49:56,56 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): Sending RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1] to peer leader90 01:49:56,56 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 [WARN] [10/24/2024 13:49:56.056] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower91] received dead letter from TestActor[akka://test/user/follower92]: RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1] 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Cluster state: [] 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Set currentTerm=3, votedFor=null 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): Leadership transfer in progress - processing RequestVote 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): In requestVote: RequestVote [term=3, candidateId=follower92, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Set currentTerm=3, votedFor=follower92 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:49:56,56 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader90 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:49:56,58 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:49:56,58 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:49:56,59 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): Election: Leader has following peers: [follower91, leader90, follower93] 01:49:56,59 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): Checking sendAppendEntries for follower follower91: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,59 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): Checking sendAppendEntries for follower leader90: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,59 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): Checking sendAppendEntries for follower follower93: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:49:56,59 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:49:56,60 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader90: Last sync leader does not match current leader follower92, need to catch up to -1 01:49:56,60 PM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader90: leader changed to follower92 01:49:56,60 PM [test-akka.actor.default-dispatcher-18] [INFO] RaftActorLeadershipTransferCohort - leader90: Successfully transferred leadership to follower92 in 7.245 ms 01:49:56,60 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader90: Leadership transferred successfully to follower92 [WARN] [10/24/2024 13:49:56.060] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower91] received dead letter from TestActor[akka://test/user/follower92]: AppendEntries [leaderId=follower92, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/24/2024 13:49:56.060] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower93] received dead letter from TestActor[akka://test/user/follower92]: AppendEntries [leaderId=follower92, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:49:56,61 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader90 updated: matchIndex: -1, nextIndex: 0 01:49:56,61 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower92 (Leader): Checking sendAppendEntries for follower leader90: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/24/2024 13:49:56.061] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader90] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5309acad 01:49:56,104 PM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 01:49:56,104 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower91-notifier94#-1429304965] 01:49:56,116 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower91-collector95#-1787876810] 01:49:56,116 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower92-notifier96#-636237192] 01:49:56,117 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower92-collector97#492252794] 01:49:56,117 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower92] 01:49:56,118 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower93-notifier98#827635747] 01:49:56,118 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower93-collector99#-160907101] 01:49:56,119 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader90-notifier100#-214820084] 01:49:56,119 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader90-collector101#-231636336] 01:49:56,120 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader90] 01:49:56,120 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#1641205448] 01:49:56,122 PM [test-akka.actor.default-dispatcher-18] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [10/24/2024 13:49:56.122] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/24/2024 13:49:56.124] [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.82:25520) [INFO] [10/24/2024 13:49:56.125] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Exiting completed [INFO] [10/24/2024 13:49:56.125] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Shutting down... [INFO] [10/24/2024 13:49:56.126] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.82:25520] - Successfully shut down 01:49:56,127 PM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Exiting completed 01:49:56,127 PM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Shutting down... 01:49:56,127 PM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.170.82:25520] - Successfully shut down [INFO] [10/24/2024 13:49:56.133] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.82:25520/system/remoting-terminator] Shutting down remote daemon. 01:49:56,133 PM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/24/2024 13:49:56.133] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.82:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:49:56,133 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/24/2024 13:49:56.137] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.82:25520/system/remoting-terminator] Remoting shut down. 01:49:56,138 PM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/24/2024 13:49:56.138] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger