[DEBUG] [03/09/2024 01:13:09.337] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:13:09,338 AM [test-akka.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/09/2024 01:13:09.338] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/09/2024 01:13:09.338] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/09/2024 01:13:09.350] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.255:25520] with UID [6304763509761569961] [INFO] [03/09/2024 01:13:09.351] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Starting up, Akka version [2.6.21] ... 01:13:09,352 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.255:25520] with UID [6304763509761569961] 01:13:09,352 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/09/2024 01:13:09.354] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/09/2024 01:13:09.354] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Started up successfully 01:13:09,354 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:13:09,354 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Started up successfully [INFO] [03/09/2024 01:13:09.355] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/09/2024 01:13:09.355] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:13:09,355 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:13:09,355 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:13:09,364 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 01:13:09,364 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/09/2024 01:13:09.367] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower646]: org.opendaylight.controller.cluster.common.actor.Monitor@226043c7 [INFO] [akkaDeadLetter][03/09/2024 01:13:09.368] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower646] 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:13:09,368 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower646] 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:13:09,369 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower646 with journal batch size 1000 01:13:09,369 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: SnapshotOffer called. 01:13:09,369 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Moving last applied index from -1 to -1 01:13:09,369 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=1, votedFor=null 01:13:09,370 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING]] 01:13:09,370 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower646 in 96.07 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:09,371 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Recovery completed in 1.198 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:09.468] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower647]: org.opendaylight.controller.cluster.common.actor.Monitor@3d534eb9 [INFO] [akkaDeadLetter][03/09/2024 01:13:09.468] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower647] 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:13:09,468 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower647] 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:13:09,469 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower647 with journal batch size 1000 01:13:09,469 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: SnapshotOffer called. 01:13:09,469 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Moving last applied index from -1 to -1 01:13:09,469 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=1, votedFor=null 01:13:09,469 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 01:13:09,469 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower647 in 59.51 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:09,470 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Recovery completed in 795.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:09.570] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower648]: org.opendaylight.controller.cluster.common.actor.Monitor@23247168 [INFO] [akkaDeadLetter][03/09/2024 01:13:09.570] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower648] 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:13:09,570 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower648] 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:13:09,570 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower648 with journal batch size 1000 01:13:09,570 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: SnapshotOffer called. 01:13:09,570 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Moving last applied index from -1 to -1 01:13:09,570 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Set currentTerm=1, votedFor=null 01:13:09,570 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Updated server config: isVoting: false, peers: [PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 01:13:09,571 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower648 in 55.14 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:09,571 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Recovery completed in 774.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:09.672] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader645]: org.opendaylight.controller.cluster.common.actor.Monitor@114aaf5e [INFO] [akkaDeadLetter][03/09/2024 01:13:09.672] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader645] 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:13:09,672 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader645] 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:13:09,673 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader645 with journal batch size 1000 01:13:09,673 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: SnapshotOffer called. 01:13:09,673 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Moving last applied index from -1 to -1 01:13:09,673 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Set currentTerm=1, votedFor=null 01:13:09,673 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 01:13:09,674 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader645 in 163.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:09,674 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Recovery completed in 1.159 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower): Received ElectionTimeout - switching to Candidate 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Election: Candidate has following voting peers: [follower647, follower646] 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Set currentTerm=2, votedFor=leader645 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Starting new election term 2 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Sending RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] to peer follower647 01:13:10,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Sending RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] to peer follower646 01:13:10,42 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Cluster state: [] 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Cluster state: [] 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=2, votedFor=null 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): In requestVote: RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=2, votedFor=leader645 01:13:10,42 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=2, votedFor=null 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): In requestVote: RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=2, votedFor=leader645 01:13:10,42 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Election: Leader has following peers: [follower648, follower647, follower646] 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:10,43 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower648 (Follower): Term 2 in "AppendEntries [leaderId=leader645, 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:13:10,43 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Set currentTerm=2, votedFor=null 01:13:10,43 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower648: Last sync leader does not match current leader leader645, need to catch up to -1 01:13:10,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower646: Last sync leader does not match current leader leader645, need to catch up to -1 01:13:10,44 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower648 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:10.044] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower646] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d17bc97 01:13:10,44 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][03/09/2024 01:13:10.044] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower646] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. 01:13:10,44 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower646 updated: matchIndex: -1, nextIndex: 0 01:13:10,44 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. 01:13:10,44 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,44 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower647: Last sync leader does not match current leader leader645, need to catch up to -1 01:13:10,44 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower647 updated: matchIndex: -1, nextIndex: 0 01:13:10,44 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:10.044] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower647] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65c66ce [WARN] [03/09/2024 01:13:10.045] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower648] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@263e2dd [INFO] [akkaDeadLetter][03/09/2024 01:13:10.045] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower647] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 01:13:10,45 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 01:13:10,45 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/09/2024 01:13:10.045] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower648] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] 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:13:10,74 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:10,74 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader645 starting 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: onShutDown 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Initiating leader transfer 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader645: pauseLeader successfully completed - doing transfer 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Attempting to transfer leadership 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:10,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,76 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] [WARN] [03/09/2024 01:13:10.076] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower647] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@78527ec [WARN] [03/09/2024 01:13:10.076] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower646] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@38a82be1 [WARN] [03/09/2024 01:13:10.076] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower648] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@20b50146 [INFO] [akkaDeadLetter][03/09/2024 01:13:10.076] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower647] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 01:13:10,76 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 01:13:10,77 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/09/2024 01:13:10.076] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower646] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/09/2024 01:13:10.077] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower648] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] 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:13:10,77 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] 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:13:10,161 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,161 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,162 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,281 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,281 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,281 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,402 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader645: leader transfer aborted 01:13:10,402 AM [test-akka.actor.default-dispatcher-6] [WARN] RaftActorLeadershipTransferCohort - leader645: Failed to transfer leadership in 325.9 ms 01:13:10,402 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: leader transfer failed - sending PoisonPill 01:13:10,402 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Leadership transfer expired 01:13:10,402 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,402 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 01:13:10,402 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) [WARN] [03/09/2024 01:13:10.403] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower648]: AppendEntriesReply [term=2, success=true, followerId=follower648, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/09/2024 01:13:10.403] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower646]: AppendEntriesReply [term=2, success=true, followerId=follower646, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/09/2024 01:13:10.403] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower647]: AppendEntriesReply [term=2, success=true, followerId=follower647, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:10,404 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader645 ending 01:13:10,405 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 01:13:10,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower646-notifier649#-1524427022] 01:13:10,417 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower646-collector650#-1552985900] 01:13:10,417 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower646] 01:13:10,417 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower647-notifier651#-370494839] 01:13:10,417 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower647-collector652#1132103747] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower647] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower648-notifier653#-772262223] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower648-collector654#1703549018] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower648] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader645-notifier655#826501939] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader645-collector656#-494338957] 01:13:10,418 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader645] 01:13:10,419 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 01:13:10,419 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/09/2024 01:13:10.421] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@1093fc42 01:13:10,421 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 01:13:10,425 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 01:13:10,425 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 01:13:10,425 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 01:13:10,425 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Updated server config: isVoting: true, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 01:13:10,425 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 99.26 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:10,425 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower659 with journal batch size 1000 [WARN] [03/09/2024 01:13:10.425] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower659]: org.opendaylight.controller.cluster.common.actor.Monitor@23e7019 01:13:10,426 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.151 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:10,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: SnapshotOffer called. 01:13:10,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Moving last applied index from -1 to -1 01:13:10,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=1, votedFor=null 01:13:10,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Updated server config: isVoting: true, peers: [PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 01:13:10,427 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower659 in 27.06 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:10,428 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Recovery completed in 629.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:10.527] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower660]: org.opendaylight.controller.cluster.common.actor.Monitor@6d433c4c 01:13:10,527 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower660 with journal batch size 1000 01:13:10,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: SnapshotOffer called. 01:13:10,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Moving last applied index from -1 to -1 01:13:10,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=1, votedFor=null 01:13:10,528 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Updated server config: isVoting: false, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING]] 01:13:10,528 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower660 in 58.40 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:10,529 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Recovery completed in 850.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:10.627] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader657]: org.opendaylight.controller.cluster.common.actor.Monitor@3cfabd9e 01:13:10,628 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader657 with journal batch size 1000 01:13:10,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: SnapshotOffer called. 01:13:10,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Moving last applied index from -1 to -1 01:13:10,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=1, votedFor=null 01:13:10,628 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Updated server config: isVoting: true, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 01:13:10,629 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader657 in 67.95 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:10,629 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Recovery completed in 836.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:11,11 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:11,11 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:11,11 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower): Received ElectionTimeout - switching to Candidate 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Election: Candidate has following voting peers: [follower659, follower658] 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=2, votedFor=leader657 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Starting new election term 2 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Sending RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] to peer follower659 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Sending RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] to peer follower658 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,12 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Cluster state: [] 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=2, votedFor=null 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Cluster state: [] 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): In requestVote: RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=2, votedFor=leader657 01:13:11,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): In requestVote: RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=leader657 01:13:11,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Election: Leader has following peers: [follower659, follower658, follower660] 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,13 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower659: Last sync leader does not match current leader leader657, need to catch up to -1 01:13:11,13 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:11,14 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader657, need to catch up to -1 01:13:11,14 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660 (Follower): Term 2 in "AppendEntries [leaderId=leader657, 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:13:11,14 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=2, votedFor=null [WARN] [03/09/2024 01:13:11.014] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower659] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a88c440 01:13:11,14 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower660: Last sync leader does not match current leader leader657, need to catch up to -1 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower659 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:11.014] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1169744e 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower660 updated: matchIndex: -1, nextIndex: 0 01:13:11,14 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:11.014] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1be22006 01:13:11,30 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:11,30 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:13:11,30 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:13:11,30 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:13:11,31 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:13:11,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: onRequestLeadership RequestLeadership [requestedFollowerId=follower659, replyTo=Actor[akka://test/user/$a#-42369319]] 01:13:11,32 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Initiating leader transfer 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader657: pauseLeader successfully completed - doing transfer 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Attempting to transfer leadership 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower659: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower660: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] [WARN] [03/09/2024 01:13:11.033] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower659] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bb1d0c6 01:13:11,33 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): tryToCompleteLeadershipTransfer: followerId: follower659, matchIndex: -1, lastIndex: -1, isVoting: true 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Follower's log matches - sending ElectionTimeout [WARN] [03/09/2024 01:13:11.033] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@70434ff0 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:11.033] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f83db86 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower659: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Leader transfer complete 01:13:11,33 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader657: leader transfer complete - waiting for new leader 01:13:11,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower660: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 01:13:11,33 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Received TimeoutNow - switching to Candidate 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Election: Candidate has following voting peers: [leader657, follower658] 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=3, votedFor=follower659 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Starting new election term 3 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Sending RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] to peer leader657 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Sending RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] to peer follower658 01:13:11,34 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Cluster state: [] 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=3, votedFor=null 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Cluster state: [] 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=3, votedFor=null 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Leadership transfer in progress - processing RequestVote 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): In requestVote: RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=3, votedFor=follower659 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): In requestVote: RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=3, votedFor=follower659 01:13:11,34 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:13:11,34 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:13:11,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:13:11,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:13:11,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Election: Leader has following peers: [leader657, follower658, follower660] 01:13:11,35 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower leader657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower660: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:11,36 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader657: Last sync leader does not match current leader follower659, need to catch up to -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader follower659, need to catch up to -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader657: leader changed to follower659 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader657 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:11.036] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@683a1537 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower leader657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660 (Follower): Term 3 in "AppendEntries [leaderId=follower659, 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:13:11,36 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=3, votedFor=null 01:13:11,36 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower660: Last sync leader does not match current leader follower659, need to catch up to -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-18] [INFO] RaftActorLeadershipTransferCohort - leader657: Successfully transferred leadership to follower659 in 3.283 ms 01:13:11,36 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower660 updated: matchIndex: -1, nextIndex: 0 01:13:11,36 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,36 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Leadership transferred successfully to follower659 [WARN] [03/09/2024 01:13:11.037] [test-akka.actor.default-dispatcher-4] [akka://test/user/leader657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@526e19b5 [WARN] [03/09/2024 01:13:11.037] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5aa35e69 01:13:11,85 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 01:13:11,86 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier661#725592231] 01:13:11,96 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector662#847431590] 01:13:11,97 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 01:13:11,97 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower659-notifier663#-220566027] 01:13:11,97 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower659-collector664#2104198562] 01:13:11,97 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower659] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower660-notifier665#-1208898266] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower660-collector666#-2142309858] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower660] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader657-notifier667#-966254077] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader657-collector668#903038641] 01:13:11,98 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader657] 01:13:11,99 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#-42369319] 01:13:11,100 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 01:13:11,100 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:11,102 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 [WARN] [03/09/2024 01:13:11.102] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@16a6f3c4 01:13:11,103 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 01:13:11,103 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 01:13:11,103 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 01:13:11,103 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Updated server config: isVoting: true, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 01:13:11,103 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 72.07 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:11,104 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 994.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:11.204] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower671]: org.opendaylight.controller.cluster.common.actor.Monitor@1e1b9d68 01:13:11,205 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower671 with journal batch size 1000 01:13:11,205 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: SnapshotOffer called. 01:13:11,205 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Moving last applied index from -1 to -1 01:13:11,205 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=1, votedFor=null 01:13:11,205 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Updated server config: isVoting: true, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING]] 01:13:11,206 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower671 in 76.37 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:11,206 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Recovery completed in 855.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:11.306] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower672]: org.opendaylight.controller.cluster.common.actor.Monitor@2b139fce 01:13:11,306 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower672 with journal batch size 1000 01:13:11,307 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: SnapshotOffer called. 01:13:11,307 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Moving last applied index from -1 to -1 01:13:11,307 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Set currentTerm=1, votedFor=null 01:13:11,307 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Updated server config: isVoting: false, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 01:13:11,307 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower672 in 78.36 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:11,308 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Recovery completed in 1.023 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:11.407] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader669]: org.opendaylight.controller.cluster.common.actor.Monitor@a8a61bb 01:13:11,408 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader669 with journal batch size 1000 01:13:11,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: SnapshotOffer called. 01:13:11,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Moving last applied index from -1 to -1 01:13:11,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Set currentTerm=1, votedFor=null 01:13:11,408 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Updated server config: isVoting: true, peers: [PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 01:13:11,409 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader669 in 67.24 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:11,410 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Recovery completed in 1.774 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:11,741 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:11,741 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:11,741 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower): Received ElectionTimeout - switching to Candidate 01:13:11,741 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Election: Candidate has following voting peers: [follower670, follower671] 01:13:11,741 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Set currentTerm=2, votedFor=leader669 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Starting new election term 2 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Sending RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] to peer follower670 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Sending RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] to peer follower671 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Cluster state: [] 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): In requestVote: RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=leader669 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Cluster state: [] 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=2, votedFor=null 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): In requestVote: RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=2, votedFor=leader669 01:13:11,742 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Election: Leader has following peers: [follower670, follower672, follower671] 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:11,743 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader669, need to catch up to -1 01:13:11,743 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower672 (Follower): Term 2 in "AppendEntries [leaderId=leader669, 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:13:11,743 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Set currentTerm=2, votedFor=null 01:13:11,743 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 01:13:11,744 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,744 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower671: Last sync leader does not match current leader leader669, need to catch up to -1 [WARN] [03/09/2024 01:13:11.744] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@169a0d5c 01:13:11,744 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower672: Last sync leader does not match current leader leader669, need to catch up to -1 01:13:11,744 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower671 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:11.744] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower671] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@506b0556 01:13:11,744 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,744 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower672 updated: matchIndex: -1, nextIndex: 0 01:13:11,744 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:11.744] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower672] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@368a5ea 01:13:11,759 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:11,759 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:13:11,759 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:13:11,759 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower671 starting 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: onShutDown 01:13:11,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower671 ending 01:13:11,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:13:11,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: onRequestLeadership RequestLeadership [requestedFollowerId=follower671, replyTo=Actor[akka://test/user/$b#21827115]] 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Initiating leader transfer 01:13:11,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader669] 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] RaftActorLeadershipTransferCohort - leader669: pauseLeader successfully completed - doing transfer 01:13:11,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: onLeaderTransitioning: LeaderTransitioning [leaderId=leader669] 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Attempting to transfer leadership 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:11.760] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: LeaderTransitioning [leaderId=leader669] 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,760 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:11,760 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 01:13:11,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/09/2024 01:13:11.761] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/09/2024 01:13:11.761] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower672] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65664ca2 [WARN] [03/09/2024 01:13:11.761] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b3670ea 01:13:11,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 01:13:11,861 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/09/2024 01:13:11.861] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:11,982 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 01:13:11,982 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/09/2024 01:13:11.982] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:12,101 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader669: leader transfer aborted 01:13:12,101 AM [test-akka.actor.default-dispatcher-17] [WARN] RaftActorLeadershipTransferCohort - leader669: Failed to transfer leadership in 341.2 ms 01:13:12,101 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: LeadershipTransfer request from follower671 failed 01:13:12,102 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Leadership transfer expired 01:13:12,102 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 01:13:12,102 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/09/2024 01:13:12.102] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:12,113 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 01:13:12,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier673#1598661446] 01:13:12,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector674#-906638065] 01:13:12,124 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 01:13:12,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower671-notifier675#314866254] 01:13:12,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower671-collector676#19884523] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower671] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower672-notifier677#-1731942502] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower672-collector678#-1124792422] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower672] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader669-notifier679#1268137847] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader669-collector680#-1899112811] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader669] 01:13:12,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#21827115] 01:13:12,127 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 01:13:12,127 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/09/2024 01:13:12.133] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@107366e1 01:13:12,133 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 01:13:12,133 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 01:13:12,134 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 01:13:12,134 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 01:13:12,134 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING]] 01:13:12,134 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 43.76 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/09/2024 01:13:12.134] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower683]: org.opendaylight.controller.cluster.common.actor.Monitor@263fa1fd 01:13:12,134 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower683 with journal batch size 1000 01:13:12,134 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 796.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:12,135 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: SnapshotOffer called. 01:13:12,135 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Moving last applied index from -1 to -1 01:13:12,135 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=1, votedFor=null 01:13:12,135 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 01:13:12,135 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower683 in 39.49 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:12,136 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Recovery completed in 626.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:12.236] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower684]: org.opendaylight.controller.cluster.common.actor.Monitor@64ab6eec 01:13:12,236 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower684 with journal batch size 1000 01:13:12,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: SnapshotOffer called. 01:13:12,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Moving last applied index from -1 to -1 01:13:12,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=1, votedFor=null 01:13:12,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Updated server config: isVoting: false, peers: [PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 01:13:12,237 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower684 in 57.79 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:12,237 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Recovery completed in 605.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:12.239] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader681]: org.opendaylight.controller.cluster.common.actor.Monitor@5d00654a 01:13:12,239 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader681 with journal batch size 1000 01:13:12,240 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: SnapshotOffer called. 01:13:12,240 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Moving last applied index from -1 to -1 01:13:12,240 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=1, votedFor=null 01:13:12,240 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 01:13:12,240 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader681 in 79.13 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:12,240 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Recovery completed in 720.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower): Received ElectionTimeout - switching to Candidate 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Election: Candidate has following voting peers: [follower683, follower682] 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=2, votedFor=leader681 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Starting new election term 2 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Sending RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] to peer follower683 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Sending RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] to peer follower682 01:13:12,582 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Cluster state: [] 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Cluster state: [] 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=2, votedFor=null 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): In requestVote: RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=leader681 01:13:12,582 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): In requestVote: RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:12,582 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=2, votedFor=leader681 01:13:12,583 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:12,583 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:12,583 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Election: Leader has following peers: [follower684, follower683, follower682] 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Term 2 in "AppendEntries [leaderId=leader681, 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:13:12,584 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:12,584 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=2, votedFor=null 01:13:12,584 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower683: Last sync leader does not match current leader leader681, need to catch up to -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower684: Last sync leader does not match current leader leader681, need to catch up to -1 [WARN] [03/09/2024 01:13:12.584] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1c23cb6a 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower683 updated: matchIndex: -1, nextIndex: 0 01:13:12,584 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower682: Last sync leader does not match current leader leader681, need to catch up to -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:12.584] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1aad02a8 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 01:13:12,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:12.584] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6e327bd0 01:13:12,593 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:12,593 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 01:13:12,593 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,593 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,593 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower684 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower684: AppendEntries [leaderId=leader681, 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:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=leader681, 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:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower682 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): handleAppendEntries: AppendEntries [leaderId=leader681, 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:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower682: AppendEntries [leaderId=leader681, 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:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Number of entries to be appended = 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Append entry to log zero 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): handleAppendEntries: AppendEntries [leaderId=leader681, 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:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Log size is now 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Number of entries to be appended = 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Append entry to log zero 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower684, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached -1 (of expected -1) 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Log size is now 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: 0, nextIndex: 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower682, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,594 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached -1 (of expected -1) 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: 0, nextIndex: 1 01:13:12,594 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Setting last applied to 0 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Moving last applied index from -1 to 0 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Applying state for log index 0 data zero 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: applyState called: zero 01:13:12,595 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:12,595 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Persisting ApplyJournalEntries with index=0 01:13:12,595 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/09/2024 01:13:12.595] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@360c0605 [WARN] [03/09/2024 01:13:12.595] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b68712 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=leader681, 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:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Commit index set to 0 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Setting last applied to 0 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Moving last applied index from -1 to 0 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Applying state for log index 0 data zero 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: applyState called: zero 01:13:12,701 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Commit index set to 0 01:13:12,701 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,701 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Persisting ApplyJournalEntries with index=0 01:13:12,701 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:12,702 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Setting last applied to 0 01:13:12,702 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to 0 01:13:12,702 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Applying state for log index 0 data zero 01:13:12,702 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: applyState called: zero 01:13:12,702 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Persisting ApplyJournalEntries with index=0 01:13:12,745 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 01:13:12,745 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 01:13:12,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: onShutDown 01:13:12,745 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Initiating leader transfer 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader681: pauseLeader successfully completed - doing transfer 01:13:12,746 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Attempting to transfer leadership 01:13:12,746 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 01:13:12,746 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): tryToCompleteLeadershipTransfer: followerId: follower684, matchIndex: 0, lastIndex: 0, isVoting: false 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): tryToCompleteLeadershipTransfer: followerId: follower682, matchIndex: 0, lastIndex: 0, isVoting: true 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Follower's log matches - sending ElectionTimeout 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Leader transfer complete 01:13:12,746 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader681: leader transfer complete - waiting for new leader 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Received TimeoutNow - switching to Candidate 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Election: Candidate has following voting peers: [leader681, follower683] 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=3, votedFor=follower682 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Starting new election term 3 01:13:12,746 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Sending RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] to peer leader681 01:13:12,747 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Sending RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] to peer follower683 01:13:12,747 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Cluster state: [] 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Cluster state: [] 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=3, votedFor=null 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): In requestVote: RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=3, votedFor=follower682 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=3, votedFor=null 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Leadership transfer in progress - processing RequestVote 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): In requestVote: RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=3, votedFor=follower682 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Election: Leader has following peers: [follower684, leader681, follower683] 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower684: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower leader681: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower683: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,747 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Term 3 in "AppendEntries [leaderId=follower682, 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:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=3, votedFor=null 01:13:12,747 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower684: Last sync leader does not match current leader follower682, need to catch up to -1 01:13:12,748 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: 0, nextIndex: 1 01:13:12,748 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader681: Last sync leader does not match current leader follower682, need to catch up to -1 01:13:12,748 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,748 AM [test-akka.actor.default-dispatcher-4] [DEBUG] RaftActorLeadershipTransferCohort - leader681: leader changed to follower682 01:13:12,748 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader681 updated: matchIndex: 0, nextIndex: 1 01:13:12,748 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower leader681: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:12,748 AM [test-akka.actor.default-dispatcher-4] [INFO] RaftActorLeadershipTransferCohort - leader681: Successfully transferred leadership to follower682 in 2.073 ms 01:13:12,748 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: leader transfer succeeded - sending PoisonPill 01:13:12,748 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader681: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) [WARN] [03/09/2024 01:13:12.748] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c5bf8a1 [WARN] [03/09/2024 01:13:12.748] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader681] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@75b0c4d9 01:13:12,749 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) [WARN] [03/09/2024 01:13:12.749] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@35d00bc0 [WARN] [03/09/2024 01:13:12.749] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50eb84a4 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) [WARN] [03/09/2024 01:13:13.262] [test-akka.actor.default-dispatcher-7] [akka://test/user/leader681] received dead letter from TestActor[akka://test/user/follower682]: AppendEntries [leaderId=follower682, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower683: Last sync leader does not match current leader follower682, need to catch up to -1 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): sendAppendEntries: 0 is present for follower follower683 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=follower682, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] [WARN] [03/09/2024 01:13:13.262] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12971321 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): handleAppendEntries: AppendEntries [leaderId=follower682, 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:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Number of entries to be appended = 1 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Append entry to log zero 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:13,262 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Log size is now 1 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Commit index set to 0 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower683, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower683: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Setting last applied to 0 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Moving last applied index from -1 to 0 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Applying state for log index 0 data zero 01:13:13,263 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower683 updated: matchIndex: 0, nextIndex: 1 01:13:13,263 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: applyState called: zero 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:13,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Persisting ApplyJournalEntries with index=0 [WARN] [03/09/2024 01:13:13.264] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65f10fd9 01:13:13,301 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 01:13:13,301 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 01:13:13,301 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower683 starting 01:13:13,302 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: onShutDown 01:13:13,302 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower683 ending 01:13:13,302 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 01:13:13,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier685#1889140922] 01:13:13,313 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector686#-1658016778] 01:13:13,313 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 01:13:13,314 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower683-notifier687#439684119] 01:13:13,314 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower683-collector688#-1407473208] 01:13:13,314 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower683] 01:13:13,314 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower684-notifier689#-1600762083] 01:13:13,314 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower684-collector690#-1523815755] 01:13:13,315 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower684] 01:13:13,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader681-notifier691#566080471] 01:13:13,315 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader681-collector692#530674005] 01:13:13,315 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader681] 01:13:13,316 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [03/09/2024 01:13:13.317] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader693]: org.opendaylight.controller.cluster.common.actor.Monitor@7b02eabc 01:13:13,318 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader693 with journal batch size 1000 01:13:13,319 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:13,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:13,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Follower): Received TimeoutNow - switching to Candidate 01:13:13,319 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Election: Candidate has following voting peers: [] 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: Set currentTerm=1, votedFor=leader693 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Starting new election term 1 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Received ElectionTimeout 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Leader): Election: Leader has following peers: [] 01:13:13,320 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:13:13,418 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader693 starting 01:13:13,418 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: onShutDown 01:13:13,418 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader693 ending 01:13:13,419 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 01:13:13,419 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader693-collector697#282286294] 01:13:13,429 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader693] 01:13:13,430 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 01:13:13,430 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/09/2024 01:13:13.432] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower699]: org.opendaylight.controller.cluster.common.actor.Monitor@8a2813c 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower699 with journal batch size 1000 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: SnapshotOffer called. 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Moving last applied index from -1 to -1 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=1, votedFor=null 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Updated server config: isVoting: true, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 01:13:13,433 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower699 in 82.18 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:13,434 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Recovery completed in 973.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:13.534] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower700]: org.opendaylight.controller.cluster.common.actor.Monitor@6c9382a4 01:13:13,534 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower700 with journal batch size 1000 01:13:13,535 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: SnapshotOffer called. 01:13:13,535 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Moving last applied index from -1 to -1 01:13:13,535 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=1, votedFor=null 01:13:13,535 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Updated server config: isVoting: true, peers: [PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 01:13:13,535 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower700 in 93.90 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:13,536 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Recovery completed in 1.053 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:13.635] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower701]: org.opendaylight.controller.cluster.common.actor.Monitor@605dd1a1 01:13:13,636 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower701 with journal batch size 1000 01:13:13,637 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: SnapshotOffer called. 01:13:13,637 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Moving last applied index from -1 to -1 01:13:13,637 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Set currentTerm=1, votedFor=null 01:13:13,637 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Updated server config: isVoting: false, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING]] 01:13:13,637 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower701 in 61.96 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:13,637 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Recovery completed in 762.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:13.737] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader698]: org.opendaylight.controller.cluster.common.actor.Monitor@5a4eea01 01:13:13,737 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader698 with journal batch size 1000 01:13:13,738 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: SnapshotOffer called. 01:13:13,738 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Moving last applied index from -1 to -1 01:13:13,738 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Set currentTerm=1, votedFor=null 01:13:13,738 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Updated server config: isVoting: true, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 01:13:13,738 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader698 in 63.76 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:13,739 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Recovery completed in 811.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:14,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:14,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:14,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower): Received ElectionTimeout - switching to Candidate 01:13:14,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Election: Candidate has following voting peers: [follower700, follower699] 01:13:14,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Set currentTerm=2, votedFor=leader698 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Starting new election term 2 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Sending RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] to peer follower700 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Sending RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] to peer follower699 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Cluster state: [] 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=2, votedFor=null 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): In requestVote: RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Cluster state: [] 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=2, votedFor=leader698 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=2, votedFor=null 01:13:14,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): In requestVote: RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=2, votedFor=leader698 01:13:14,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:14,63 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:14,63 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:14,63 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Election: Leader has following peers: [follower700, follower699, follower701] 01:13:14,63 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower700: Last sync leader does not match current leader leader698, need to catch up to -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower700 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:14.064] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower700] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7265a2b 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower699: Last sync leader does not match current leader leader698, need to catch up to -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Term 2 in "AppendEntries [leaderId=leader698, 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:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Set currentTerm=2, votedFor=null [WARN] [03/09/2024 01:13:14.064] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower699] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1187859c 01:13:14,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower701: Last sync leader does not match current leader leader698, need to catch up to -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower699 updated: matchIndex: -1, nextIndex: 0 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower701 updated: matchIndex: -1, nextIndex: 0 01:13:14,64 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:14.065] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower701] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@11099296 01:13:14,89 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:14,89 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:13:14,89 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:13:14,89 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 01:13:14,89 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,89 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,89 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, 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:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower699 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower699: AppendEntries [leaderId=leader698, 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:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower701 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower701: AppendEntries [leaderId=leader698, 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:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): handleAppendEntries: AppendEntries [leaderId=leader698, 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:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Number of entries to be appended = 1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Append entry to log zero 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Log size is now 1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower699, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached -1 (of expected -1) 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): handleAppendEntries: AppendEntries [leaderId=leader698, 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:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Number of entries to be appended = 1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Append entry to log zero 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Log size is now 1 01:13:14,90 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower699 updated: matchIndex: 0, nextIndex: 1 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower701, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:14,90 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached -1 (of expected -1) 01:13:14,90 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,91 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower701 updated: matchIndex: 0, nextIndex: 1 01:13:14,91 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:13:14,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Setting last applied to 0 01:13:14,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Moving last applied index from -1 to 0 01:13:14,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Applying state for log index 0 data zero 01:13:14,92 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:14,92 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: applyState called: zero 01:13:14,92 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Persisting ApplyJournalEntries with index=0 01:13:14,92 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/09/2024 01:13:14.092] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower701] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5b19f6ac [WARN] [03/09/2024 01:13:14.092] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower699] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@351fede3 01:13:14,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 01:13:14,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, 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:13:14,302 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 01:13:14,302 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, 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:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Commit index set to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Commit index set to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Setting last applied to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Moving last applied index from -1 to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Applying state for log index 0 data zero 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Setting last applied to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Moving last applied index from -1 to 0 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Applying state for log index 0 data zero 01:13:14,302 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: applyState called: zero 01:13:14,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Persisting ApplyJournalEntries with index=0 01:13:14,303 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: applyState called: zero 01:13:14,303 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Persisting ApplyJournalEntries with index=0 01:13:14,342 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 01:13:14,342 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:13:14,342 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:13:14,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: onRequestLeadership RequestLeadership [requestedFollowerId=follower700, replyTo=Actor[akka://test/user/$c#-815361550]] 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Initiating leader transfer 01:13:14,343 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 01:13:14,343 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader698: pauseLeader successfully completed - doing transfer 01:13:14,343 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Attempting to transfer leadership 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:14,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,343 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,541 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,541 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,661 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader698: leader transfer aborted 01:13:14,661 AM [test-akka.actor.default-dispatcher-15] [WARN] RaftActorLeadershipTransferCohort - leader698: Failed to transfer leadership in 318.6 ms 01:13:14,661 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: LeadershipTransfer request from follower700 failed 01:13:14,662 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Leadership transfer expired 01:13:14,662 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,662 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 01:13:14,696 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 01:13:14,696 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower699-notifier702#-588984748] 01:13:14,707 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower699-collector703#-655173213] 01:13:14,707 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower699] 01:13:14,707 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower700-notifier704#1031403557] 01:13:14,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower700-collector705#1361968842] 01:13:14,708 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower700] 01:13:14,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower701-notifier706#1425289558] 01:13:14,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower701-collector707#1394888574] 01:13:14,709 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower701] 01:13:14,709 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader698-notifier708#-1582491314] 01:13:14,709 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader698-collector709#-609895971] 01:13:14,709 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader698] 01:13:14,710 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-815361550] 01:13:14,710 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 01:13:14,710 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/09/2024 01:13:14.713] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower711]: org.opendaylight.controller.cluster.common.actor.Monitor@67b76c42 01:13:14,713 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 01:13:14,714 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 01:13:14,714 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 01:13:14,714 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 01:13:14,714 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Updated server config: isVoting: true, peers: [PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 01:13:14,714 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 96.58 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:14,715 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 1.089 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:14.715] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower712]: org.opendaylight.controller.cluster.common.actor.Monitor@7bd8b9d9 01:13:14,716 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower712 with journal batch size 1000 01:13:14,716 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: SnapshotOffer called. 01:13:14,716 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Moving last applied index from -1 to -1 01:13:14,717 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=1, votedFor=null 01:13:14,717 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING]] 01:13:14,717 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower712 in 69.49 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:14,717 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Recovery completed in 886.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:14.718] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower713]: org.opendaylight.controller.cluster.common.actor.Monitor@381caf76 01:13:14,718 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower713 with journal batch size 1000 01:13:14,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: SnapshotOffer called. 01:13:14,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Moving last applied index from -1 to -1 01:13:14,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Set currentTerm=1, votedFor=null 01:13:14,719 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Updated server config: isVoting: false, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 01:13:14,719 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower713 in 63.11 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:14,719 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Recovery completed in 739.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/09/2024 01:13:14.721] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader710]: org.opendaylight.controller.cluster.common.actor.Monitor@3600f0f8 01:13:14,722 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader710 with journal batch size 1000 01:13:14,722 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: SnapshotOffer called. 01:13:14,722 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Moving last applied index from -1 to -1 01:13:14,722 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=1, votedFor=null 01:13:14,722 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 01:13:14,722 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader710 in 83.78 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 01:13:14,723 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Recovery completed in 600.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.255:25520, Removed) 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower): Received ElectionTimeout - switching to Candidate 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Election: Candidate has following voting peers: [follower711, follower712] 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=2, votedFor=leader710 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Starting new election term 2 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Sending RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] to peer follower711 01:13:15,91 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Sending RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] to peer follower712 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:15,92 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Cluster state: [] 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): In requestVote: RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=leader710 01:13:15,92 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Cluster state: [] 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=2, votedFor=null 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): In requestVote: RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=2, votedFor=leader710 01:13:15,92 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Election: Leader has following peers: [follower711, follower713, follower712] 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader710, need to catch up to -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:15,93 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower713 (Follower): Term 2 in "AppendEntries [leaderId=leader710, 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:13:15,93 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Set currentTerm=2, votedFor=null 01:13:15,93 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower713: Last sync leader does not match current leader leader710, need to catch up to -1 [WARN] [03/09/2024 01:13:15.093] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@416c2d88 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 01:13:15,93 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower712: Last sync leader does not match current leader leader710, need to catch up to -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower713 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/09/2024 01:13:15.093] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower712] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c5998a4 01:13:15,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,93 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower712 updated: matchIndex: -1, nextIndex: 0 01:13:15,94 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:15.094] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower713] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@471408b0 01:13:15,125 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 01:13:15,125 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 01:13:15,126 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 01:13:15,126 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 01:13:15,137 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower713] 01:13:15,148 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 01:13:15,148 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 01:13:15,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: onRequestLeadership RequestLeadership [requestedFollowerId=follower712, replyTo=Actor[akka://test/user/$d#-1445135946]] 01:13:15,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Initiating leader transfer [WARN] [03/09/2024 01:13:15.148] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: LeaderTransitioning [leaderId=leader710] 01:13:15,148 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: onLeaderTransitioning: LeaderTransitioning [leaderId=leader710] 01:13:15,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader710: pauseLeader successfully completed - doing transfer [WARN] [03/09/2024 01:13:15.148] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: LeaderTransitioning [leaderId=leader710] 01:13:15,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Attempting to transfer leadership 01:13:15,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,149 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:15.149] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/09/2024 01:13:15.149] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:15,149 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower712: Lagging 0 entries behind leader leader710 and reached -1 (of expected -1) 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): tryToCompleteLeadershipTransfer: followerId: follower712, matchIndex: -1, lastIndex: -1, isVoting: true 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Follower's log matches - sending ElectionTimeout 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:15.149] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower712] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@ac89377 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Leader transfer complete 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] RaftActorLeadershipTransferCohort - leader710: leader transfer complete - waiting for new leader [WARN] [03/09/2024 01:13:15.149] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/09/2024 01:13:15.149] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower712: Lagging 0 entries behind leader leader710 and reached -1 (of expected -1) 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:15,149 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Received TimeoutNow - switching to Candidate 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Election: Candidate has following voting peers: [follower711, leader710] 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=3, votedFor=follower712 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Starting new election term 3 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Sending RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] to peer follower711 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Sending RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] to peer leader710 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Cluster state: [] 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=3, votedFor=null 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Leadership transfer in progress - processing RequestVote 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): In requestVote: RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=3, votedFor=follower712 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] [WARN] [03/09/2024 01:13:15.150] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/follower712]: RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] 01:13:15,150 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader) :- Switching from behavior Leader to Follower, election term: 3 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Election: Leader has following peers: [follower711, follower713, leader710] 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower follower713: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:15.151] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/follower712]: AppendEntries [leaderId=follower712, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower leader710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/09/2024 01:13:15.151] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/follower712]: AppendEntries [leaderId=follower712, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:13:15,151 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:15,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader710: Last sync leader does not match current leader follower712, need to catch up to -1 01:13:15,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader710: leader changed to follower712 01:13:15,152 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader710 updated: matchIndex: -1, nextIndex: 0 01:13:15,152 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower leader710: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:15,152 AM [test-akka.actor.default-dispatcher-6] [INFO] RaftActorLeadershipTransferCohort - leader710: Successfully transferred leadership to follower712 in 3.582 ms 01:13:15,152 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Leadership transferred successfully to follower712 [WARN] [03/09/2024 01:13:15.152] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader710] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5819bd11 01:13:15,200 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 01:13:15,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier714#578707235] 01:13:15,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector715#-73661152] 01:13:15,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower712-notifier716#-1049191883] 01:13:15,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower712-collector717#-1947538705] 01:13:15,211 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower712] 01:13:15,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower713-notifier718#261816362] 01:13:15,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower713-collector719#-311216649] 01:13:15,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader710-notifier720#1243166735] 01:13:15,212 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader710-collector721#1359072051] 01:13:15,212 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader710] 01:13:15,213 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#-1445135946] [INFO] [03/09/2024 01:13:15.213] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:13:15,214 AM [test-akka.actor.default-dispatcher-4] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:13:15,218 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Exiting completed 01:13:15,218 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Shutting down... 01:13:15,218 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.255:25520] - Successfully shut down [WARN] [03/09/2024 01:13:15.218] [test-akka.actor.default-dispatcher-4] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.255:25520) [INFO] [03/09/2024 01:13:15.215] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Exiting completed [INFO] [03/09/2024 01:13:15.215] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Shutting down... [INFO] [03/09/2024 01:13:15.216] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.255:25520] - Successfully shut down 01:13:15,218 AM [test-akka.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [WARN] [03/09/2024 01:13:15.218] [test-akka.actor.default-dispatcher-4] [akka://test/system/deadLetterListener] received dead letter: UnhandledMessage(Leave(akka://test@10.30.170.255:25520),Actor[akka://test/deadLetters],Actor[akka://test/system/cluster/core/daemon#-1731563556]) [INFO] [03/09/2024 01:13:15.218] [test-akka.remote.default-remote-dispatcher-5] [akka://test@10.30.170.255:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/09/2024 01:13:15.218] [test-akka.remote.default-remote-dispatcher-5] [akka://test@10.30.170.255:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:13:15,218 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/09/2024 01:13:15.220] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.255:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/09/2024 01:13:15.220] [test-akka.actor.internal-dispatcher-11] [EventStream] shutting down: StandardOutLogger 01:13:15,220 AM [test-akka.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.