[DEBUG] [10/17/2024 11:38:32.846] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:38:32,847 AM [test-akka.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/17/2024 11:38:32.847] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [10/17/2024 11:38:32.847] [main] [EventStream(akka://test)] Default Loggers started [INFO] [10/17/2024 11:38:32.864] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.50:25520] with UID [2095755492728297538] 11:38:32,864 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.50:25520] with UID [2095755492728297538] [INFO] [10/17/2024 11:38:32.865] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Starting up, Akka version [2.6.21] ... 11:38:32,865 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Starting up, Akka version [2.6.21] ... [INFO] [10/17/2024 11:38:32.868] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:38:32,868 AM [test-akka.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [10/17/2024 11:38:32.869] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Started up successfully 11:38:32,869 AM [test-akka.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Started up successfully [INFO] [10/17/2024 11:38:32.869] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [10/17/2024 11:38:32.869] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:38:32,869 AM [test-akka.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:38:32,869 AM [test-akka.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:38:32,879 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 11:38:32,879 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/17/2024 11:38:32.882] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower552]: org.opendaylight.controller.cluster.common.actor.Monitor@2d4cd85f [INFO] [akkaDeadLetter][10/17/2024 11:38:32.882] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower552] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,882 AM [test-akka.actor.default-dispatcher-4] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower552] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,885 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower552 with journal batch size 1000 11:38:32,885 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: SnapshotOffer called. 11:38:32,886 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Moving last applied index from -1 to -1 11:38:32,886 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Set currentTerm=1, votedFor=null 11:38:32,886 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Updated server config: isVoting: true, peers: [PeerInfo [id=leader551, address=akka://test/user/leader551, votingState=VOTING], PeerInfo [id=follower553, address=akka://test/user/follower553, votingState=VOTING], PeerInfo [id=follower554, address=akka://test/user/follower554, votingState=NON_VOTING]] 11:38:32,886 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower552 in 103.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/17/2024 11:38:32.886] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower553]: org.opendaylight.controller.cluster.common.actor.Monitor@7a3117d3 [INFO] [akkaDeadLetter][10/17/2024 11:38:32.886] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower553] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,886 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower553] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,887 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower553 with journal batch size 1000 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Recovery completed in 1.293 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: SnapshotOffer called. 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Moving last applied index from -1 to -1 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Set currentTerm=1, votedFor=null 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Updated server config: isVoting: true, peers: [PeerInfo [id=leader551, address=akka://test/user/leader551, votingState=VOTING], PeerInfo [id=follower552, address=akka://test/user/follower552, votingState=VOTING], PeerInfo [id=follower554, address=akka://test/user/follower554, votingState=NON_VOTING]] 11:38:32,887 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower553 in 49.66 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:32,888 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Recovery completed in 403.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:32.988] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower554]: org.opendaylight.controller.cluster.common.actor.Monitor@357d228 11:38:32,988 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower554] 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'. [INFO] [akkaDeadLetter][10/17/2024 11:38:32.988] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower554] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower554 with journal batch size 1000 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: SnapshotOffer called. 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Moving last applied index from -1 to -1 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Set currentTerm=1, votedFor=null 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Updated server config: isVoting: false, peers: [PeerInfo [id=leader551, address=akka://test/user/leader551, votingState=VOTING], PeerInfo [id=follower553, address=akka://test/user/follower553, votingState=VOTING], PeerInfo [id=follower552, address=akka://test/user/follower552, votingState=VOTING]] 11:38:32,989 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower554 in 103.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:32,990 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Recovery completed in 980.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:32.991] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader551]: org.opendaylight.controller.cluster.common.actor.Monitor@3de22bca [INFO] [akkaDeadLetter][10/17/2024 11:38:32.991] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader551] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,992 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader551] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:32,992 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader551 with journal batch size 1000 11:38:32,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: SnapshotOffer called. 11:38:32,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Moving last applied index from -1 to -1 11:38:32,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Set currentTerm=1, votedFor=null 11:38:32,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Updated server config: isVoting: true, peers: [PeerInfo [id=follower553, address=akka://test/user/follower553, votingState=VOTING], PeerInfo [id=follower552, address=akka://test/user/follower552, votingState=VOTING], PeerInfo [id=follower554, address=akka://test/user/follower554, votingState=NON_VOTING]] 11:38:32,992 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader551 in 47.88 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:32,993 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Recovery completed in 588.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:33,346 AM [test-akka.actor.default-dispatcher-4] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:33,346 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Follower): Received ElectionTimeout - switching to Candidate 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): Election: Candidate has following voting peers: [follower553, follower552] 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Set currentTerm=2, votedFor=leader551 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): Starting new election term 2 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): Sending RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] to peer follower553 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): Sending RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] to peer follower552 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): Cluster state: [] 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Set currentTerm=2, votedFor=null 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): In requestVote: RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): Cluster state: [] 11:38:33,347 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: Set currentTerm=2, votedFor=leader551 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:33,347 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:33,348 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Set currentTerm=2, votedFor=null 11:38:33,348 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:33,348 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): In requestVote: RequestVote [term=2, candidateId=leader551, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:33,348 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: Set currentTerm=2, votedFor=leader551 11:38:33,348 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Election: Leader has following peers: [follower553, follower552, follower554] 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower553: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower552: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower554: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:38:33,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower552: Last sync leader does not match current leader leader551, need to catch up to -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower553: Last sync leader does not match current leader leader551, need to catch up to -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower552 updated: matchIndex: -1, nextIndex: 0 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower552: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower553 updated: matchIndex: -1, nextIndex: 0 11:38:33,349 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower553: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:33.349] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower553] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37f46bee [INFO] [akkaDeadLetter][10/17/2024 11:38:33.350] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower553] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower553] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:33,350 AM [test-akka.actor.default-dispatcher-4] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower553] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [10/17/2024 11:38:33.350] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower552] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e551d7e [INFO] [akkaDeadLetter][10/17/2024 11:38:33.350] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower552] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower552] 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'. 11:38:33,350 AM [test-akka.actor.default-dispatcher-4] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower552] 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'. 11:38:33,350 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Term 2 in "AppendEntries [leaderId=leader551, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:33,350 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Set currentTerm=2, votedFor=null 11:38:33,350 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower554: Last sync leader does not match current leader leader551, need to catch up to -1 [WARN] [10/17/2024 11:38:33.351] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower554] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1cd4bb9f [INFO] [akkaDeadLetter][10/17/2024 11:38:33.351] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower554] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower554] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:33,351 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower554] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:33,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower554 updated: matchIndex: -1, nextIndex: 0 11:38:33,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,396 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:33,396 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader551 starting 11:38:33,398 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: onShutDown 11:38:33,399 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: Initiating leader transfer 11:38:33,399 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower553: onLeaderTransitioning: LeaderTransitioning [leaderId=leader551] 11:38:33,399 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower552: onLeaderTransitioning: LeaderTransitioning [leaderId=leader551] 11:38:33,399 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: onLeaderTransitioning: LeaderTransitioning [leaderId=leader551] 11:38:33,399 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader551: pauseLeader successfully completed - doing transfer 11:38:33,399 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Attempting to transfer leadership 11:38:33,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower553: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,400 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower553: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:33.400] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower553] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6e178e25 [INFO] [akkaDeadLetter][10/17/2024 11:38:33.400] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower553] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower553] 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'. 11:38:33,400 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower553] 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'. 11:38:33,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower552: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:33,400 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:33.401] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower554] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17886976 11:38:33,401 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower554] 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][10/17/2024 11:38:33.401] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower554] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower554] 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'. 11:38:33,401 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower552: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:33.401] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower552] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72cbf738 11:38:33,401 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower552] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][10/17/2024 11:38:33.401] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower552] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower552] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:38:33,466 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower552: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,466 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,467 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower553: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,587 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower552: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower553: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,587 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,707 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader551: leader transfer aborted 11:38:33,707 AM [test-akka.actor.default-dispatcher-17] [WARN] RaftActorLeadershipTransferCohort - leader551: Failed to transfer leadership in 307.8 ms 11:38:33,707 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551: leader transfer failed - sending PoisonPill 11:38:33,707 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader551 (Leader): Leadership transfer expired 11:38:33,707 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower552: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) 11:38:33,707 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower553: Lagging 0 entries behind leader leader551 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:33.708] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader551] received dead letter from TestActor[akka://test/user/follower553]: AppendEntriesReply [term=2, success=true, followerId=follower553, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:33,709 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader551 ending 11:38:33,710 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 11:38:33,710 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower552-notifier555#93894527] 11:38:33,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower552-collector556#1006704185] 11:38:33,722 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower552] 11:38:33,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower553-notifier557#-1412378673] 11:38:33,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower553-collector558#-1944972766] 11:38:33,722 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower553] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower554-notifier559#274610123] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower554-collector560#-234440153] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower554] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader551-notifier561#-458758608] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader551-collector562#-1048579417] 11:38:33,723 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader551] 11:38:33,724 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 11:38:33,724 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:33,729 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower564 with journal batch size 1000 [WARN] [10/17/2024 11:38:33.730] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower564]: org.opendaylight.controller.cluster.common.actor.Monitor@8f1ca5d 11:38:33,730 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: SnapshotOffer called. 11:38:33,730 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Moving last applied index from -1 to -1 11:38:33,730 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Set currentTerm=1, votedFor=null 11:38:33,730 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Updated server config: isVoting: true, peers: [PeerInfo [id=leader563, address=akka://test/user/leader563, votingState=VOTING], PeerInfo [id=follower566, address=akka://test/user/follower566, votingState=NON_VOTING], PeerInfo [id=follower565, address=akka://test/user/follower565, votingState=VOTING]] 11:38:33,730 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower564 in 102.7 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/17/2024 11:38:33.731] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower565]: org.opendaylight.controller.cluster.common.actor.Monitor@569ee68e 11:38:33,731 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Recovery completed in 1.067 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:33,732 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower565 with journal batch size 1000 11:38:33,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: SnapshotOffer called. 11:38:33,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Moving last applied index from -1 to -1 11:38:33,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Set currentTerm=1, votedFor=null 11:38:33,733 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Updated server config: isVoting: true, peers: [PeerInfo [id=leader563, address=akka://test/user/leader563, votingState=VOTING], PeerInfo [id=follower564, address=akka://test/user/follower564, votingState=VOTING], PeerInfo [id=follower566, address=akka://test/user/follower566, votingState=NON_VOTING]] 11:38:33,733 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower565 in 89.01 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:33,733 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Recovery completed in 594.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:33.734] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower566]: org.opendaylight.controller.cluster.common.actor.Monitor@4adda6cd 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower566 with journal batch size 1000 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: SnapshotOffer called. 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Moving last applied index from -1 to -1 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Set currentTerm=1, votedFor=null 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Updated server config: isVoting: false, peers: [PeerInfo [id=leader563, address=akka://test/user/leader563, votingState=VOTING], PeerInfo [id=follower564, address=akka://test/user/follower564, votingState=VOTING], PeerInfo [id=follower565, address=akka://test/user/follower565, votingState=VOTING]] 11:38:33,735 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower566 in 73.94 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:33,736 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Recovery completed in 584.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:33.741] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader563]: org.opendaylight.controller.cluster.common.actor.Monitor@1630f8ac 11:38:33,742 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader563 with journal batch size 1000 11:38:33,743 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: SnapshotOffer called. 11:38:33,743 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Moving last applied index from -1 to -1 11:38:33,743 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Set currentTerm=1, votedFor=null 11:38:33,743 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Updated server config: isVoting: true, peers: [PeerInfo [id=follower564, address=akka://test/user/follower564, votingState=VOTING], PeerInfo [id=follower566, address=akka://test/user/follower566, votingState=NON_VOTING], PeerInfo [id=follower565, address=akka://test/user/follower565, votingState=VOTING]] 11:38:33,743 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader563 in 68.50 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:33,743 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Recovery completed in 763.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:34,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Follower): Received ElectionTimeout - switching to Candidate 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): Election: Candidate has following voting peers: [follower564, follower565] 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Set currentTerm=2, votedFor=leader563 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): Starting new election term 2 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): Sending RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] to peer follower564 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): Sending RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] to peer follower565 11:38:34,117 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): Cluster state: [] 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Set currentTerm=2, votedFor=null 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): In requestVote: RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Set currentTerm=2, votedFor=leader563 11:38:34,118 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Election: Leader has following peers: [follower564, follower566, follower565] 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower564: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Cluster state: [] 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower566: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,119 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:34,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Set currentTerm=2, votedFor=null 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower565: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,119 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:38:34,119 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower566 (Follower): Term 2 in "AppendEntries [leaderId=leader563, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:34,119 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Set currentTerm=2, votedFor=null 11:38:34,119 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower565: Last sync leader does not match current leader leader563, need to catch up to -1 11:38:34,119 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower566: Last sync leader does not match current leader leader563, need to catch up to -1 [WARN] [10/17/2024 11:38:34.119] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower565] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7f53b434 11:38:34,120 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower565 updated: matchIndex: -1, nextIndex: 0 11:38:34,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): In requestVote: RequestVote [term=2, candidateId=leader563, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Set currentTerm=2, votedFor=leader563 11:38:34,120 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower565: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,120 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower566 updated: matchIndex: -1, nextIndex: 0 11:38:34,120 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower566: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,120 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] [WARN] [10/17/2024 11:38:34.120] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower566] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d0d6987 11:38:34,121 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower564: Last sync leader does not match current leader leader563, need to catch up to -1 11:38:34,121 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower564 updated: matchIndex: -1, nextIndex: 0 11:38:34,121 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower564: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:34.121] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower564] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4cc9711 11:38:34,146 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:34,146 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:38:34,147 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:38:34,147 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:38:34,147 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:38:34,147 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: onRequestLeadership RequestLeadership [requestedFollowerId=follower565, replyTo=Actor[akka://test/user/$a#-525613114]] 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Initiating leader transfer 11:38:34,149 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: onLeaderTransitioning: LeaderTransitioning [leaderId=leader563] 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader563: pauseLeader successfully completed - doing transfer 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Attempting to transfer leadership 11:38:34,149 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: onLeaderTransitioning: LeaderTransitioning [leaderId=leader563] 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower564: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: onLeaderTransitioning: LeaderTransitioning [leaderId=leader563] 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower566: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower565: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,149 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower564: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) 11:38:34,149 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower566: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) 11:38:34,149 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower565: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:34.149] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower564] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4010e127 [WARN] [10/17/2024 11:38:34.150] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower566] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1b81b97b [WARN] [10/17/2024 11:38:34.150] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower565] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@112fc247 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): tryToCompleteLeadershipTransfer: followerId: follower565, matchIndex: -1, lastIndex: -1, isVoting: true 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Follower's log matches - sending ElectionTimeout 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower564: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower566: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Checking sendAppendEntries for follower follower565: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower564: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Leader transfer complete 11:38:34,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader563: leader transfer complete - waiting for new leader 11:38:34,150 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower566: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower565: Lagging 0 entries behind leader leader563 and reached -1 (of expected -1) 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower): Received TimeoutNow - switching to Candidate 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): Election: Candidate has following voting peers: [leader563, follower564] 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565: Set currentTerm=3, votedFor=follower565 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): Starting new election term 3 11:38:34,150 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): Sending RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] to peer leader563 11:38:34,151 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): Sending RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] to peer follower564 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,151 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Cluster state: [] 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Cluster state: [] 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Set currentTerm=3, votedFor=null 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Set currentTerm=3, votedFor=null 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): In requestVote: RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): Leadership transfer in progress - processing RequestVote 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564: Set currentTerm=3, votedFor=follower565 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): In requestVote: RequestVote [term=3, candidateId=follower565, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Set currentTerm=3, votedFor=follower565 11:38:34,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower564 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:38:34,151 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader563 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Election: Leader has following peers: [leader563, follower564, follower566] 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower leader563: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower follower564: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower follower566: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 11:38:34,152 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower564: Last sync leader does not match current leader follower565, need to catch up to -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower566 (Follower): Term 3 in "AppendEntries [leaderId=follower565, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 11:38:34,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower566: Set currentTerm=3, votedFor=null 11:38:34,152 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader563: Last sync leader does not match current leader follower565, need to catch up to -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader563: leader changed to follower565 11:38:34,152 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower566: Last sync leader does not match current leader follower565, need to catch up to -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower564 updated: matchIndex: -1, nextIndex: 0 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower follower564: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,152 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader563: Successfully transferred leadership to follower565 in 3.410 ms 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader563 updated: matchIndex: -1, nextIndex: 0 11:38:34,152 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader563: Leadership transferred successfully to follower565 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower leader563: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:34.152] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower564] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7dbace73 11:38:34,152 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower566 updated: matchIndex: -1, nextIndex: 0 11:38:34,153 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower565 (Leader): Checking sendAppendEntries for follower follower566: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:34.153] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader563] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5de9b1a4 [WARN] [10/17/2024 11:38:34.153] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower566] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ba4af13 11:38:34,198 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 11:38:34,198 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower564-notifier567#-1542636396] 11:38:34,209 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower564-collector568#1230140229] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower564] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower565-notifier569#850623996] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower565-collector570#1527086577] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower565] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower566-notifier571#-893379488] 11:38:34,210 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower566-collector572#1327374413] 11:38:34,211 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower566] 11:38:34,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader563-notifier573#-1113147525] 11:38:34,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader563-collector574#1441116890] 11:38:34,211 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader563] 11:38:34,211 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#-525613114] 11:38:34,212 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 11:38:34,212 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/17/2024 11:38:34.214] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower576]: org.opendaylight.controller.cluster.common.actor.Monitor@1a8ab61c 11:38:34,215 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower576 with journal batch size 1000 11:38:34,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: SnapshotOffer called. 11:38:34,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Moving last applied index from -1 to -1 11:38:34,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Set currentTerm=1, votedFor=null 11:38:34,216 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Updated server config: isVoting: true, peers: [PeerInfo [id=leader575, address=akka://test/user/leader575, votingState=VOTING], PeerInfo [id=follower578, address=akka://test/user/follower578, votingState=NON_VOTING], PeerInfo [id=follower577, address=akka://test/user/follower577, votingState=VOTING]] 11:38:34,216 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower576 in 129.1 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/17/2024 11:38:34.217] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower577]: org.opendaylight.controller.cluster.common.actor.Monitor@459a167c 11:38:34,217 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Recovery completed in 1.154 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:34,217 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower577 with journal batch size 1000 11:38:34,218 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: SnapshotOffer called. 11:38:34,218 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Moving last applied index from -1 to -1 11:38:34,218 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Set currentTerm=1, votedFor=null 11:38:34,218 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Updated server config: isVoting: true, peers: [PeerInfo [id=leader575, address=akka://test/user/leader575, votingState=VOTING], PeerInfo [id=follower578, address=akka://test/user/follower578, votingState=NON_VOTING], PeerInfo [id=follower576, address=akka://test/user/follower576, votingState=VOTING]] 11:38:34,218 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower577 in 206.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:34,219 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Recovery completed in 860.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower578 with journal batch size 1000 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: SnapshotOffer called. 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: Moving last applied index from -1 to -1 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: Set currentTerm=1, votedFor=null [WARN] [10/17/2024 11:38:34.219] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower578]: org.opendaylight.controller.cluster.common.actor.Monitor@5b7516f8 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: Updated server config: isVoting: false, peers: [PeerInfo [id=leader575, address=akka://test/user/leader575, votingState=VOTING], PeerInfo [id=follower577, address=akka://test/user/follower577, votingState=VOTING], PeerInfo [id=follower576, address=akka://test/user/follower576, votingState=VOTING]] 11:38:34,219 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower578 in 40.18 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:34,220 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: Recovery completed in 707.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:34.220] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader575]: org.opendaylight.controller.cluster.common.actor.Monitor@2f03ccfa 11:38:34,220 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader575 with journal batch size 1000 11:38:34,221 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: SnapshotOffer called. 11:38:34,221 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Moving last applied index from -1 to -1 11:38:34,221 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Set currentTerm=1, votedFor=null 11:38:34,221 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Updated server config: isVoting: true, peers: [PeerInfo [id=follower578, address=akka://test/user/follower578, votingState=NON_VOTING], PeerInfo [id=follower577, address=akka://test/user/follower577, votingState=VOTING], PeerInfo [id=follower576, address=akka://test/user/follower576, votingState=VOTING]] 11:38:34,221 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader575 in 38.70 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:34,221 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Recovery completed in 457.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:34,596 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:34,596 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:34,596 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Follower): Received ElectionTimeout - switching to Candidate 11:38:34,596 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): Election: Candidate has following voting peers: [follower577, follower576] 11:38:34,596 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Set currentTerm=2, votedFor=leader575 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): Starting new election term 2 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): Sending RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] to peer follower577 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): Sending RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] to peer follower576 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): Cluster state: [] 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Set currentTerm=2, votedFor=null 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): In requestVote: RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: Set currentTerm=2, votedFor=leader575 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): Cluster state: [] 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Set currentTerm=2, votedFor=null 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): In requestVote: RequestVote [term=2, candidateId=leader575, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:34,597 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: Set currentTerm=2, votedFor=leader575 11:38:34,598 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:34,598 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Election: Leader has following peers: [follower578, follower577, follower576] 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower578: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower577: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,599 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower578 (Follower): Term 2 in "AppendEntries [leaderId=leader575, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:34,599 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: Set currentTerm=2, votedFor=null 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,599 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:38:34,599 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower577: Last sync leader does not match current leader leader575, need to catch up to -1 11:38:34,599 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower576: Last sync leader does not match current leader leader575, need to catch up to -1 [WARN] [10/17/2024 11:38:34.600] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower577] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7bb66dfe 11:38:34,600 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower578: Last sync leader does not match current leader leader575, need to catch up to -1 [WARN] [10/17/2024 11:38:34.600] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower576] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@14f86d 11:38:34,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower577 updated: matchIndex: -1, nextIndex: 0 11:38:34,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower577: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,600 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower576 updated: matchIndex: -1, nextIndex: 0 11:38:34,600 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower576: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,600 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower578 updated: matchIndex: -1, nextIndex: 0 11:38:34,600 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower578: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:34.600] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower578] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66caa83e 11:38:34,624 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:34,624 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:38:34,625 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:38:34,625 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower577 starting 11:38:34,625 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower577: onShutDown 11:38:34,625 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower577 ending 11:38:34,625 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:38:34,625 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:38:34,625 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: onRequestLeadership RequestLeadership [requestedFollowerId=follower577, replyTo=Actor[akka://test/user/$b#-537342500]] 11:38:34,625 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: Initiating leader transfer 11:38:34,625 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower578: onLeaderTransitioning: LeaderTransitioning [leaderId=leader575] 11:38:34,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader575: pauseLeader successfully completed - doing transfer 11:38:34,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Attempting to transfer leadership [WARN] [10/17/2024 11:38:34.626] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower577] received dead letter from TestActor[akka://test/user/leader575]: LeaderTransitioning [leaderId=leader575] 11:38:34,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower576: onLeaderTransitioning: LeaderTransitioning [leaderId=leader575] 11:38:34,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower578: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower577: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower578: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) 11:38:34,626 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Checking sendAppendEntries for follower follower576: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:34,626 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower576: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:34.626] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower577] received dead letter from TestActor[akka://test/user/leader575]: AppendEntries [leaderId=leader575, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/17/2024 11:38:34.626] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower576] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1145865c [WARN] [10/17/2024 11:38:34.626] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower578] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@227d4712 [WARN] [10/17/2024 11:38:34.717] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower577] received dead letter from TestActor[akka://test/user/leader575]: AppendEntries [leaderId=leader575, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:34,836 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower578: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) 11:38:34,836 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower576: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) [WARN] [10/17/2024 11:38:34.837] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower577] received dead letter from TestActor[akka://test/user/leader575]: AppendEntries [leaderId=leader575, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:34,956 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader575: leader transfer aborted 11:38:34,956 AM [test-akka.actor.default-dispatcher-17] [WARN] RaftActorLeadershipTransferCohort - leader575: Failed to transfer leadership in 331.1 ms 11:38:34,957 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575: LeadershipTransfer request from follower577 failed 11:38:34,957 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader575 (Leader): Leadership transfer expired [WARN] [10/17/2024 11:38:34.958] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower577] received dead letter from TestActor[akka://test/user/leader575]: AppendEntries [leaderId=leader575, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:34,958 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower578: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) 11:38:34,958 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower576: Lagging 0 entries behind leader leader575 and reached -1 (of expected -1) 11:38:34,978 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 11:38:34,978 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower576-notifier579#-1306463562] 11:38:34,989 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower576-collector580#-614161850] 11:38:34,989 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower576] 11:38:34,989 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower577-notifier581#163535960] 11:38:34,990 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower577-collector582#1871154821] 11:38:34,990 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower577] 11:38:34,990 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower578-notifier583#-90897895] 11:38:34,990 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower578-collector584#1049367444] 11:38:34,990 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower578] 11:38:34,991 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader575-notifier585#21463682] 11:38:34,991 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader575-collector586#1702676108] 11:38:34,991 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader575] 11:38:34,991 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#-537342500] 11:38:34,992 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 11:38:34,992 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:34,994 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower588 with journal batch size 1000 [WARN] [10/17/2024 11:38:34.995] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower588]: org.opendaylight.controller.cluster.common.actor.Monitor@61ddd0b6 11:38:34,995 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: SnapshotOffer called. 11:38:34,995 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Moving last applied index from -1 to -1 11:38:34,995 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Set currentTerm=1, votedFor=null 11:38:34,996 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Updated server config: isVoting: true, peers: [PeerInfo [id=leader587, address=akka://test/user/leader587, votingState=VOTING], PeerInfo [id=follower590, address=akka://test/user/follower590, votingState=NON_VOTING], PeerInfo [id=follower589, address=akka://test/user/follower589, votingState=VOTING]] 11:38:34,996 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower589 with journal batch size 1000 [WARN] [10/17/2024 11:38:34.996] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower589]: org.opendaylight.controller.cluster.common.actor.Monitor@2adb7875 11:38:34,996 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower588 in 139.3 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:34,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: SnapshotOffer called. 11:38:34,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Moving last applied index from -1 to -1 11:38:34,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Set currentTerm=1, votedFor=null 11:38:34,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Updated server config: isVoting: true, peers: [PeerInfo [id=leader587, address=akka://test/user/leader587, votingState=VOTING], PeerInfo [id=follower590, address=akka://test/user/follower590, votingState=NON_VOTING], PeerInfo [id=follower588, address=akka://test/user/follower588, votingState=VOTING]] 11:38:34,996 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower589 in 60.83 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:34,997 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Recovery completed in 1.158 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:34,997 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Recovery completed in 1.025 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:34.999] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower590]: org.opendaylight.controller.cluster.common.actor.Monitor@6c6b071b 11:38:34,999 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower590 with journal batch size 1000 11:38:34,999 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: SnapshotOffer called. 11:38:34,999 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Moving last applied index from -1 to -1 11:38:35,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Set currentTerm=1, votedFor=null 11:38:35,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Updated server config: isVoting: false, peers: [PeerInfo [id=leader587, address=akka://test/user/leader587, votingState=VOTING], PeerInfo [id=follower589, address=akka://test/user/follower589, votingState=VOTING], PeerInfo [id=follower588, address=akka://test/user/follower588, votingState=VOTING]] 11:38:35,0 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower590 in 73.44 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:35,0 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Recovery completed in 618.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:35.001] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader587]: org.opendaylight.controller.cluster.common.actor.Monitor@6d0b9e82 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader587 with journal batch size 1000 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: SnapshotOffer called. 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Moving last applied index from -1 to -1 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Set currentTerm=1, votedFor=null 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Updated server config: isVoting: true, peers: [PeerInfo [id=follower590, address=akka://test/user/follower590, votingState=NON_VOTING], PeerInfo [id=follower589, address=akka://test/user/follower589, votingState=VOTING], PeerInfo [id=follower588, address=akka://test/user/follower588, votingState=VOTING]] 11:38:35,2 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader587 in 70.47 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:35,3 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Recovery completed in 510.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Follower): Received ElectionTimeout - switching to Candidate 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): Election: Candidate has following voting peers: [follower589, follower588] 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Set currentTerm=2, votedFor=leader587 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): Starting new election term 2 11:38:35,327 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): Sending RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] to peer follower589 11:38:35,328 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): Sending RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] to peer follower588 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:35,328 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Cluster state: [] 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Set currentTerm=2, votedFor=null 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Cluster state: [] 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Set currentTerm=2, votedFor=null 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): In requestVote: RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Set currentTerm=2, votedFor=leader587 11:38:35,328 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): In requestVote: RequestVote [term=2, candidateId=leader587, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Set currentTerm=2, votedFor=leader587 11:38:35,328 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:35,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:35,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:35,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Election: Leader has following peers: [follower590, follower589, follower588] 11:38:35,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower589: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Term 2 in "AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:35,330 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Set currentTerm=2, votedFor=null 11:38:35,330 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower589: Last sync leader does not match current leader leader587, need to catch up to -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower588: Last sync leader does not match current leader leader587, need to catch up to -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower590: Last sync leader does not match current leader leader587, need to catch up to -1 11:38:35,330 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 [WARN] [10/17/2024 11:38:35.330] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower589] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@475c2912 [WARN] [10/17/2024 11:38:35.330] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower588] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4c338719 [WARN] [10/17/2024 11:38:35.331] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower590] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c469f3f 11:38:35,331 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower589 updated: matchIndex: -1, nextIndex: 0 11:38:35,331 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower589: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,331 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower588 updated: matchIndex: -1, nextIndex: 0 11:38:35,331 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,331 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower590 updated: matchIndex: -1, nextIndex: 0 11:38:35,331 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:35,355 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:35,356 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower590 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Sending AppendEntries to follower follower590: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower589: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:35,356 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Sending AppendEntries to follower follower589: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,356 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): handleAppendEntries: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower588 11:38:35,357 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Number of entries to be appended = 1 11:38:35,357 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:38:35,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Sending AppendEntries to follower follower588: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,357 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Append entry to log zero 11:38:35,357 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): handleAppendEntries: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Number of entries to be appended = 1 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Append entry to log zero 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Log size is now 1 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower588, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:35,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower588: Lagging 0 entries behind leader leader587 and reached -1 (of expected -1) 11:38:35,357 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower588 updated: matchIndex: 0, nextIndex: 1 11:38:35,357 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Log size is now 1 11:38:35,357 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,358 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower590, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:35,358 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader leader587 and reached -1 (of expected -1) 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower590 updated: matchIndex: 0, nextIndex: 1 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Setting last applied to 0 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Moving last applied index from -1 to 0 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Applying state for log index 0 data zero 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: applyState called: zero 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Persisting ApplyJournalEntries with index=0 11:38:35,358 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [10/17/2024 11:38:35.358] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower588] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4cd90ff7 11:38:35,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [10/17/2024 11:38:35.360] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower590] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4d26aa7 11:38:35,446 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:35,446 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Sending AppendEntries to follower follower589: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:35,567 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Sending AppendEntries to follower follower589: AppendEntries [leaderId=leader587, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Commit index set to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Setting last applied to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Moving last applied index from -1 to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Applying state for log index 0 data zero 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: applyState called: zero 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Commit index set to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Persisting ApplyJournalEntries with index=0 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower588: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Setting last applied to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Moving last applied index from -1 to 0 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Applying state for log index 0 data zero 11:38:35,567 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: applyState called: zero 11:38:35,568 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Persisting ApplyJournalEntries with index=0 11:38:35,607 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 11:38:35,608 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: onShutDown 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Initiating leader transfer 11:38:35,608 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: onLeaderTransitioning: LeaderTransitioning [leaderId=leader587] 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader587: pauseLeader successfully completed - doing transfer 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Attempting to transfer leadership 11:38:35,608 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: onLeaderTransitioning: LeaderTransitioning [leaderId=leader587] 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower589: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,608 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,608 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): tryToCompleteLeadershipTransfer: followerId: follower590, matchIndex: 0, lastIndex: 0, isVoting: false 11:38:35,608 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower588: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): tryToCompleteLeadershipTransfer: followerId: follower588, matchIndex: 0, lastIndex: 0, isVoting: true 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Follower's log matches - sending ElectionTimeout 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower589: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Checking sendAppendEntries for follower follower588: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Leader transfer complete 11:38:35,609 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader587: leader transfer complete - waiting for new leader 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower588: Lagging 0 entries behind leader leader587 and reached 0 (of expected -1) 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower): Received TimeoutNow - switching to Candidate 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): Election: Candidate has following voting peers: [leader587, follower589] 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588: Set currentTerm=3, votedFor=follower588 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): Starting new election term 3 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): Sending RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] to peer leader587 11:38:35,609 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): Sending RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] to peer follower589 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:35,610 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Cluster state: [] 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Set currentTerm=3, votedFor=null 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Cluster state: [] 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): Leadership transfer in progress - processing RequestVote 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): In requestVote: RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Set currentTerm=3, votedFor=null 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: Set currentTerm=3, votedFor=follower588 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): In requestVote: RequestVote [term=3, candidateId=follower588, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Set currentTerm=3, votedFor=follower588 11:38:35,610 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:38:35,610 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader587 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:38:35,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:38:35,610 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:38:35,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Election: Leader has following peers: [leader587, follower590, follower589] 11:38:35,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower leader587: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower follower590: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,611 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower follower589: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:35,611 AM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower590 (Follower): Term 3 in "AppendEntries [leaderId=follower588, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 11:38:35,611 AM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower590: Set currentTerm=3, votedFor=null 11:38:35,611 AM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower590: Last sync leader does not match current leader follower588, need to catch up to -1 11:38:35,611 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader587: Last sync leader does not match current leader follower588, need to catch up to -1 11:38:35,611 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 11:38:35,611 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader587: leader changed to follower588 11:38:35,611 AM [test-akka.actor.default-dispatcher-11] [INFO] RaftActorLeadershipTransferCohort - leader587: Successfully transferred leadership to follower588 in 3.429 ms 11:38:35,612 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader587: leader transfer succeeded - sending PoisonPill 11:38:35,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower590 updated: matchIndex: 0, nextIndex: 1 11:38:35,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower follower590: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:35.612] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader587] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1564223a [WARN] [10/17/2024 11:38:35.612] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower590] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@29d53f3c 11:38:35,612 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader587 updated: matchIndex: 0, nextIndex: 1 11:38:35,612 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower leader587: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:35.612] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader587] received dead letter from TestActor[akka://test/user/follower588]: AppendEntries [leaderId=follower588, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:35,613 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader follower588 and reached 0 (of expected -1) [WARN] [10/17/2024 11:38:35.613] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower590] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@54292490 [WARN] [10/17/2024 11:38:36.126] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader587] received dead letter from TestActor[akka://test/user/follower588]: AppendEntries [leaderId=follower588, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower590: Lagging 0 entries behind leader follower588 and reached 0 (of expected -1) 11:38:36,127 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower589: Last sync leader does not match current leader follower588, need to catch up to -1 11:38:36,127 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): sendAppendEntries: 0 is present for follower follower589 11:38:36,127 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Sending AppendEntries to follower follower589: AppendEntries [leaderId=follower588, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] [WARN] [10/17/2024 11:38:36.127] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower589] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c622b65 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): handleAppendEntries: AppendEntries [leaderId=follower588, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Number of entries to be appended = 1 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Append entry to log zero 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Log size is now 1 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Commit index set to 0 11:38:36,127 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower589, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower589: Lagging 0 entries behind leader follower588 and reached 0 (of expected -1) 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589 (Follower): Setting last applied to 0 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Moving last applied index from -1 to 0 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Applying state for log index 0 data zero 11:38:36,128 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower589 updated: matchIndex: 0, nextIndex: 1 11:38:36,128 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: applyState called: zero 11:38:36,128 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower588 (Leader): Checking sendAppendEntries for follower follower589: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,129 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,129 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: Persisting ApplyJournalEntries with index=0 [WARN] [10/17/2024 11:38:36.129] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower589] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7afa9a03 11:38:36,162 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: onLeaderTransitioning: LeaderTransitioning [leaderId=leader587] 11:38:36,162 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 11:38:36,162 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower589 starting 11:38:36,162 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower589: onShutDown 11:38:36,163 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower589 ending 11:38:36,163 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 11:38:36,163 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower588-notifier591#381164907] 11:38:36,174 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower588-collector592#116232810] 11:38:36,174 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower588] 11:38:36,174 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower589-notifier593#1655509721] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower589-collector594#-498038401] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower589] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower590-notifier595#1600246482] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower590-collector596#1409425618] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower590] 11:38:36,175 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader587-notifier597#254167560] 11:38:36,176 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader587-collector598#-1074023300] 11:38:36,176 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader587] 11:38:36,177 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [10/17/2024 11:38:36.179] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader599]: org.opendaylight.controller.cluster.common.actor.Monitor@320e7924 11:38:36,180 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader599 with journal batch size 1000 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader599: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Follower): Received TimeoutNow - switching to Candidate 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Candidate): Election: Candidate has following voting peers: [] 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599: Set currentTerm=1, votedFor=leader599 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Candidate): Starting new election term 1 11:38:36,181 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:38:36,182 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Candidate): Received ElectionTimeout 11:38:36,182 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Leader): Election: Leader has following peers: [] 11:38:36,182 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader599 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:38:36,279 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader599 starting 11:38:36,279 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader599: onShutDown 11:38:36,280 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader599 ending 11:38:36,280 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 11:38:36,280 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader599-collector603#-1972090258] 11:38:36,290 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader599] 11:38:36,292 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 11:38:36,292 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/17/2024 11:38:36.294] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower605]: org.opendaylight.controller.cluster.common.actor.Monitor@6536300a 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower605 with journal batch size 1000 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: SnapshotOffer called. 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Moving last applied index from -1 to -1 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Set currentTerm=1, votedFor=null 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Updated server config: isVoting: true, peers: [PeerInfo [id=follower607, address=akka://test/user/follower607, votingState=NON_VOTING], PeerInfo [id=follower606, address=akka://test/user/follower606, votingState=VOTING], PeerInfo [id=leader604, address=akka://test/user/leader604, votingState=VOTING]] 11:38:36,295 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower605 in 105.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/17/2024 11:38:36.296] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower606]: org.opendaylight.controller.cluster.common.actor.Monitor@50200466 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower606 with journal batch size 1000 11:38:36,297 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Recovery completed in 1.260 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: SnapshotOffer called. 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Moving last applied index from -1 to -1 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Set currentTerm=1, votedFor=null 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Updated server config: isVoting: true, peers: [PeerInfo [id=follower605, address=akka://test/user/follower605, votingState=VOTING], PeerInfo [id=follower607, address=akka://test/user/follower607, votingState=NON_VOTING], PeerInfo [id=leader604, address=akka://test/user/leader604, votingState=VOTING]] 11:38:36,297 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower606 in 73.13 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:36,298 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: 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] [10/17/2024 11:38:36.299] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower607]: org.opendaylight.controller.cluster.common.actor.Monitor@134aad61 11:38:36,299 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower607 with journal batch size 1000 11:38:36,300 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: SnapshotOffer called. 11:38:36,300 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Moving last applied index from -1 to -1 11:38:36,300 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Set currentTerm=1, votedFor=null 11:38:36,300 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Updated server config: isVoting: false, peers: [PeerInfo [id=follower605, address=akka://test/user/follower605, votingState=VOTING], PeerInfo [id=follower606, address=akka://test/user/follower606, votingState=VOTING], PeerInfo [id=leader604, address=akka://test/user/leader604, votingState=VOTING]] 11:38:36,300 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower607 in 38.08 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:36,300 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Recovery completed in 621.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:36.300] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader604]: org.opendaylight.controller.cluster.common.actor.Monitor@59f9f3fe 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader604 with journal batch size 1000 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: SnapshotOffer called. 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Moving last applied index from -1 to -1 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Set currentTerm=1, votedFor=null 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Updated server config: isVoting: true, peers: [PeerInfo [id=follower605, address=akka://test/user/follower605, votingState=VOTING], PeerInfo [id=follower607, address=akka://test/user/follower607, votingState=NON_VOTING], PeerInfo [id=follower606, address=akka://test/user/follower606, votingState=VOTING]] 11:38:36,301 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader604 in 65.10 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:36,302 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Recovery completed in 645.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:36,626 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Follower): Received ElectionTimeout - switching to Candidate 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): Election: Candidate has following voting peers: [follower605, follower606] 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Set currentTerm=2, votedFor=leader604 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): Starting new election term 2 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): Sending RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] to peer follower605 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): Sending RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] to peer follower606 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:36,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:36,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Cluster state: [] 11:38:36,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:36,627 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:36,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Set currentTerm=2, votedFor=null 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Cluster state: [] 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:36,627 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Set currentTerm=2, votedFor=null 11:38:36,628 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): In requestVote: RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:36,628 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: Set currentTerm=2, votedFor=leader604 11:38:36,628 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): In requestVote: RequestVote [term=2, candidateId=leader604, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:36,628 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Set currentTerm=2, votedFor=leader604 11:38:36,628 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:36,628 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Election: Leader has following peers: [follower605, follower607, follower606] 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower605: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower607: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower606: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:36,629 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:38:36,629 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Term 2 in "AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:36,629 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Set currentTerm=2, votedFor=null 11:38:36,630 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower606: Last sync leader does not match current leader leader604, need to catch up to -1 11:38:36,630 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower607: Last sync leader does not match current leader leader604, need to catch up to -1 11:38:36,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower606 updated: matchIndex: -1, nextIndex: 0 11:38:36,630 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:36,630 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower607 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/17/2024 11:38:36.630] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower606] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3eced01 11:38:36,630 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:36,630 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower605: Last sync leader does not match current leader leader604, need to catch up to -1 11:38:36,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower605 updated: matchIndex: -1, nextIndex: 0 11:38:36,630 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower605: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:36.630] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower605] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@32ece494 [WARN] [10/17/2024 11:38:36.631] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower607] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c89d7e2 11:38:36,654 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:36,654 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:38:36,655 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:38:36,655 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower605: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower605 11:38:36,655 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Sending AppendEntries to follower follower605: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower607 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Sending AppendEntries to follower follower607: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower606 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Number of entries to be appended = 1 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Append entry to log zero 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Log size is now 1 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower607, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:36,656 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader604 and reached -1 (of expected -1) 11:38:36,656 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower607 updated: matchIndex: 0, nextIndex: 1 11:38:36,656 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): handleAppendEntries: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Number of entries to be appended = 1 11:38:36,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:38:36,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Append entry to log zero 11:38:36,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,657 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,657 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Log size is now 1 11:38:36,657 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower605, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower605 updated: matchIndex: 0, nextIndex: 1 [WARN] [10/17/2024 11:38:36.657] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower607] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@f445812 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Setting last applied to 0 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Moving last applied index from -1 to 0 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Applying state for log index 0 data zero 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: applyState called: zero 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower605: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,657 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Persisting ApplyJournalEntries with index=0 11:38:36,657 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached -1 (of expected -1) 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Commit index set to 0 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605 (Follower): Setting last applied to 0 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Moving last applied index from -1 to 0 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Applying state for log index 0 data zero 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: applyState called: zero 11:38:36,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: Persisting ApplyJournalEntries with index=0 [WARN] [10/17/2024 11:38:36.658] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower605] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1d25f40c 11:38:36,746 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower606 11:38:36,746 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower606 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Sending AppendEntries to follower follower606: AppendEntries [leaderId=leader604, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 11:38:36,867 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Commit index set to 0 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607 (Follower): Setting last applied to 0 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Moving last applied index from -1 to 0 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Applying state for log index 0 data zero 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: applyState called: zero 11:38:36,867 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: Persisting ApplyJournalEntries with index=0 11:38:36,908 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 11:38:36,908 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:38:36,908 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: onRequestLeadership RequestLeadership [requestedFollowerId=follower606, replyTo=Actor[akka://test/user/$c#1906518706]] 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: Initiating leader transfer 11:38:36,908 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower607: onLeaderTransitioning: LeaderTransitioning [leaderId=leader604] 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader604: pauseLeader successfully completed - doing transfer 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Attempting to transfer leadership 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower605: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,908 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower606: onLeaderTransitioning: LeaderTransitioning [leaderId=leader604] 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower607: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,908 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Checking sendAppendEntries for follower follower606: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:38:36,909 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): sendAppendEntries: 0 is present for follower follower606 11:38:36,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:36,909 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:36,909 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower605: onLeaderTransitioning: LeaderTransitioning [leaderId=leader604] 11:38:37,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:37,107 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:37,226 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader604: leader transfer aborted 11:38:37,226 AM [test-akka.actor.default-dispatcher-5] [WARN] RaftActorLeadershipTransferCohort - leader604: Failed to transfer leadership in 317.8 ms 11:38:37,226 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604: LeadershipTransfer request from follower606 failed 11:38:37,226 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader604 (Leader): Leadership transfer expired 11:38:37,226 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower605: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:37,227 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower607: Lagging 0 entries behind leader leader604 and reached 0 (of expected -1) 11:38:37,261 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 11:38:37,261 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower605-notifier608#1465247527] 11:38:37,272 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower605-collector609#-40865654] 11:38:37,273 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower605] 11:38:37,273 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower606-notifier610#-1043257488] 11:38:37,273 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower606-collector611#643361715] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower606] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower607-notifier612#1868968676] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower607-collector613#-738513719] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower607] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader604-notifier614#908347651] 11:38:37,274 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader604-collector615#-856933412] 11:38:37,275 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader604] 11:38:37,275 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#1906518706] 11:38:37,276 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 11:38:37,276 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [10/17/2024 11:38:37.278] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower617]: org.opendaylight.controller.cluster.common.actor.Monitor@a876f09 11:38:37,278 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower617 with journal batch size 1000 11:38:37,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: SnapshotOffer called. 11:38:37,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Moving last applied index from -1 to -1 11:38:37,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Set currentTerm=1, votedFor=null 11:38:37,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Updated server config: isVoting: true, peers: [PeerInfo [id=follower618, address=akka://test/user/follower618, votingState=VOTING], PeerInfo [id=leader616, address=akka://test/user/leader616, votingState=VOTING], PeerInfo [id=follower619, address=akka://test/user/follower619, votingState=NON_VOTING]] 11:38:37,279 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower617 in 91.21 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [10/17/2024 11:38:37.280] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower618]: org.opendaylight.controller.cluster.common.actor.Monitor@48f6c5e3 11:38:37,281 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower618 with journal batch size 1000 11:38:37,282 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Recovery completed in 2.425 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:37,282 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: SnapshotOffer called. 11:38:37,282 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Moving last applied index from -1 to -1 11:38:37,282 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Set currentTerm=1, votedFor=null 11:38:37,282 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Updated server config: isVoting: true, peers: [PeerInfo [id=follower617, address=akka://test/user/follower617, votingState=VOTING], PeerInfo [id=leader616, address=akka://test/user/leader616, votingState=VOTING], PeerInfo [id=follower619, address=akka://test/user/follower619, votingState=NON_VOTING]] 11:38:37,282 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower618 in 110.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:37,283 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Recovery completed in 909.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:37.283] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower619]: org.opendaylight.controller.cluster.common.actor.Monitor@43a4e71b 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower619 with journal batch size 1000 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: SnapshotOffer called. 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from -1 to -1 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Set currentTerm=1, votedFor=null 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Updated server config: isVoting: false, peers: [PeerInfo [id=follower618, address=akka://test/user/follower618, votingState=VOTING], PeerInfo [id=follower617, address=akka://test/user/follower617, votingState=VOTING], PeerInfo [id=leader616, address=akka://test/user/leader616, votingState=VOTING]] 11:38:37,284 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower619 in 47.34 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:37,285 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Recovery completed in 654.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 11:38:37.286] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader616]: org.opendaylight.controller.cluster.common.actor.Monitor@521e81a 11:38:37,286 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader616 with journal batch size 1000 11:38:37,287 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: SnapshotOffer called. 11:38:37,287 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Moving last applied index from -1 to -1 11:38:37,287 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Set currentTerm=1, votedFor=null 11:38:37,287 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Updated server config: isVoting: true, peers: [PeerInfo [id=follower618, address=akka://test/user/follower618, votingState=VOTING], PeerInfo [id=follower617, address=akka://test/user/follower617, votingState=VOTING], PeerInfo [id=follower619, address=akka://test/user/follower619, votingState=NON_VOTING]] 11:38:37,287 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader616 in 42.39 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 11:38:37,287 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Recovery completed in 381.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:38:37,646 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:37,646 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.50:25520, Removed) 11:38:37,646 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Follower): Received ElectionTimeout - switching to Candidate 11:38:37,646 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): Election: Candidate has following voting peers: [follower618, follower617] 11:38:37,646 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Set currentTerm=2, votedFor=leader616 11:38:37,647 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): Starting new election term 2 11:38:37,647 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): Sending RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] to peer follower618 11:38:37,647 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): Sending RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] to peer follower617 11:38:37,647 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): Cluster state: [] 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Set currentTerm=2, votedFor=null 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): In requestVote: RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617: Set currentTerm=2, votedFor=leader616 11:38:37,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower617 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:37,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:37,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): Cluster state: [] 11:38:37,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:37,647 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 11:38:37,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Set currentTerm=2, votedFor=null 11:38:37,648 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): In requestVote: RequestVote [term=2, candidateId=leader616, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:37,648 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Set currentTerm=2, votedFor=leader616 11:38:37,648 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Election: Leader has following peers: [follower618, follower617, follower619] 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower618: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower617: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower619: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower618: Last sync leader does not match current leader leader616, need to catch up to -1 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:38:37,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower617: Last sync leader does not match current leader leader616, need to catch up to -1 11:38:37,649 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Term 2 in "AppendEntries [leaderId=leader616, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 11:38:37,649 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Set currentTerm=2, votedFor=null 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower618 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/17/2024 11:38:37.649] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower618] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6c32c047 [WARN] [10/17/2024 11:38:37.649] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower617] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e05cc59 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower618: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,649 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower619: Last sync leader does not match current leader leader616, need to catch up to -1 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower617 updated: matchIndex: -1, nextIndex: 0 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower617: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower619 updated: matchIndex: -1, nextIndex: 0 11:38:37,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:37.650] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower619] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@34a92472 11:38:37,690 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 11:38:37,690 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 11:38:37,690 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 11:38:37,690 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower617] 11:38:37,701 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower619] 11:38:37,712 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 11:38:37,712 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 11:38:37,712 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: onRequestLeadership RequestLeadership [requestedFollowerId=follower618, replyTo=Actor[akka://test/user/$d#1987640206]] 11:38:37,712 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Initiating leader transfer 11:38:37,713 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: onLeaderTransitioning: LeaderTransitioning [leaderId=leader616] 11:38:37,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader616: pauseLeader successfully completed - doing transfer 11:38:37,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Attempting to transfer leadership [WARN] [10/17/2024 11:38:37.713] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower617] received dead letter from TestActor[akka://test/user/leader616]: LeaderTransitioning [leaderId=leader616] 11:38:37,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower618: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:37.713] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower619] received dead letter from TestActor[akka://test/user/leader616]: LeaderTransitioning [leaderId=leader616] 11:38:37,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower617: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:37.713] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower617] received dead letter from TestActor[akka://test/user/leader616]: AppendEntries [leaderId=leader616, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/17/2024 11:38:37.713] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower619] received dead letter from TestActor[akka://test/user/leader616]: AppendEntries [leaderId=leader616, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:37,713 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): tryToCompleteLeadershipTransfer: followerId: follower618, matchIndex: -1, lastIndex: -1, isVoting: true 11:38:37,713 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Follower's log matches - sending ElectionTimeout 11:38:37,713 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower618: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,713 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower617: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,713 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,714 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Leader transfer complete 11:38:37,714 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader616: leader transfer complete - waiting for new leader [WARN] [10/17/2024 11:38:37.714] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower617] received dead letter from TestActor[akka://test/user/leader616]: AppendEntries [leaderId=leader616, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [10/17/2024 11:38:37.714] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower619] received dead letter from TestActor[akka://test/user/leader616]: AppendEntries [leaderId=leader616, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower618: Lagging 0 entries behind leader leader616 and reached -1 (of expected -1) 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower618: Lagging 0 entries behind leader leader616 and reached -1 (of expected -1) 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower): Received TimeoutNow - switching to Candidate 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): Election: Candidate has following voting peers: [follower617, leader616] 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618: Set currentTerm=3, votedFor=follower618 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): Starting new election term 3 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): Sending RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1] to peer follower617 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): Sending RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1] to peer leader616 [WARN] [10/17/2024 11:38:37.714] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower617] received dead letter from TestActor[akka://test/user/follower618]: RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1] 11:38:37,714 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Cluster state: [] 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Set currentTerm=3, votedFor=null 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): Leadership transfer in progress - processing RequestVote 11:38:37,714 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): In requestVote: RequestVote [term=3, candidateId=follower618, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 11:38:37,715 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Set currentTerm=3, votedFor=follower618 11:38:37,715 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 11:38:37,715 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader616 (Leader) :- Switching from behavior Leader to Follower, election term: 3 11:38:37,715 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 11:38:37,715 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): Election: Leader has following peers: [follower617, leader616, follower619] 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): Checking sendAppendEntries for follower follower617: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): Checking sendAppendEntries for follower leader616: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): Checking sendAppendEntries for follower follower619: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 11:38:37.716] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower617] received dead letter from TestActor[akka://test/user/follower618]: AppendEntries [leaderId=follower618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 [WARN] [10/17/2024 11:38:37.716] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower619] received dead letter from TestActor[akka://test/user/follower618]: AppendEntries [leaderId=follower618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:38:37,716 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader616: Last sync leader does not match current leader follower618, need to catch up to -1 11:38:37,716 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader616: leader changed to follower618 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader616 updated: matchIndex: -1, nextIndex: 0 11:38:37,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower618 (Leader): Checking sendAppendEntries for follower leader616: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:38:37,716 AM [test-akka.actor.default-dispatcher-18] [INFO] RaftActorLeadershipTransferCohort - leader616: Successfully transferred leadership to follower618 in 3.806 ms 11:38:37,716 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader616: Leadership transferred successfully to follower618 [WARN] [10/17/2024 11:38:37.717] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower618] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@32b90285 [WARN] [10/17/2024 11:38:37.717] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader616] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24c9612f 11:38:37,763 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 11:38:37,763 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower617-notifier620#1974729199] 11:38:37,774 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower617-collector621#1619412647] 11:38:37,774 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower618-notifier622#2108295355] 11:38:37,774 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower618-collector623#934692559] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower618] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower619-notifier624#1960422401] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower619-collector625#1788331376] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader616-notifier626#1052320377] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader616-collector627#-160206495] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader616] 11:38:37,775 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#1987640206] [INFO] [10/17/2024 11:38:37.777] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:38:37,777 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/17/2024 11:38:37.778] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.50:25520) [INFO] [10/17/2024 11:38:37.779] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Exiting completed 11:38:37,779 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Exiting completed [INFO] [10/17/2024 11:38:37.779] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Shutting down... 11:38:37,779 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Shutting down... [INFO] [10/17/2024 11:38:37.779] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.50:25520] - Successfully shut down 11:38:37,779 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.50:25520] - Successfully shut down [INFO] [10/17/2024 11:38:37.781] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.170.50:25520/system/remoting-terminator] Shutting down remote daemon. 11:38:37,781 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:38:37,781 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/17/2024 11:38:37.781] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.170.50:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:38:37,783 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [10/17/2024 11:38:37.783] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.170.50:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [10/17/2024 11:38:37.783] [test-akka.actor.internal-dispatcher-7] [EventStream] shutting down: StandardOutLogger