[DEBUG] [09/03/2025 00:43:50.000] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:43:50,0 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [09/03/2025 00:43:50.001] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [09/03/2025 00:43:50.001] [main] [EventStream(akka://test)] Default Loggers started [INFO] [09/03/2025 00:43:50.014] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.202:25520] with UID [843222561538748108] 12:43:50,14 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.202:25520] with UID [843222561538748108] [INFO] [09/03/2025 00:43:50.015] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Starting up, Akka version [2.6.21] ... 12:43:50,15 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Starting up, Akka version [2.6.21] ... [INFO] [09/03/2025 00:43:50.017] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [09/03/2025 00:43:50.017] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Started up successfully 12:43:50,17 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:43:50,17 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Started up successfully 12:43:50,18 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:43:50,18 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [09/03/2025 00:43:50.018] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [09/03/2025 00:43:50.018] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:50,29 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 12:43:50,29 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:50.032] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower287]: org.opendaylight.controller.cluster.common.actor.Monitor@7b5e465c [INFO] [akkaDeadLetter][09/03/2025 00:43:50.032] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower287] 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'. 12:43:50,32 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower287] 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'. 12:43:50,34 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower287 with journal batch size 1000 12:43:50,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: SnapshotOffer called. 12:43:50,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Moving last applied index from -1 to -1 12:43:50,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Set currentTerm=1, votedFor=null 12:43:50,35 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Updated server config: isVoting: true, peers: [PeerInfo [id=follower289, address=akka://test/user/follower289, votingState=NON_VOTING], PeerInfo [id=follower288, address=akka://test/user/follower288, votingState=VOTING], PeerInfo [id=leader286, address=akka://test/user/leader286, votingState=VOTING]] 12:43:50,35 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower287 in 85.58 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [09/03/2025 00:43:50.035] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower288]: org.opendaylight.controller.cluster.common.actor.Monitor@28173b24 [INFO] [akkaDeadLetter][09/03/2025 00:43:50.035] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower288] 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'. 12:43:50,36 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower288 with journal batch size 1000 12:43:50,36 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower288] 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'. 12:43:50,37 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Recovery completed in 1.754 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:50,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: SnapshotOffer called. 12:43:50,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Moving last applied index from -1 to -1 12:43:50,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Set currentTerm=1, votedFor=null 12:43:50,37 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Updated server config: isVoting: true, peers: [PeerInfo [id=follower289, address=akka://test/user/follower289, votingState=NON_VOTING], PeerInfo [id=leader286, address=akka://test/user/leader286, votingState=VOTING], PeerInfo [id=follower287, address=akka://test/user/follower287, votingState=VOTING]] 12:43:50,37 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower288 in 116.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [09/03/2025 00:43:50.038] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower289]: org.opendaylight.controller.cluster.common.actor.Monitor@247e8d50 [INFO] [akkaDeadLetter][09/03/2025 00:43:50.038] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower289] 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'. 12:43:50,38 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Recovery completed in 1.266 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:50,39 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower289] 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'. 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower289 with journal batch size 1000 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: SnapshotOffer called. 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: Moving last applied index from -1 to -1 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: Set currentTerm=1, votedFor=null 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: Updated server config: isVoting: false, peers: [PeerInfo [id=follower288, address=akka://test/user/follower288, votingState=VOTING], PeerInfo [id=leader286, address=akka://test/user/leader286, votingState=VOTING], PeerInfo [id=follower287, address=akka://test/user/follower287, votingState=VOTING]] 12:43:50,39 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower289 in 63.69 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:50,40 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: Recovery completed in 538.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:50,140 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader286] 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'. [WARN] [09/03/2025 00:43:50.140] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader286]: org.opendaylight.controller.cluster.common.actor.Monitor@1c58cb95 [INFO] [akkaDeadLetter][09/03/2025 00:43:50.140] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader286] 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'. 12:43:50,140 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader286 with journal batch size 1000 12:43:50,141 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: SnapshotOffer called. 12:43:50,141 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Moving last applied index from -1 to -1 12:43:50,141 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Set currentTerm=1, votedFor=null 12:43:50,141 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Updated server config: isVoting: true, peers: [PeerInfo [id=follower289, address=akka://test/user/follower289, votingState=NON_VOTING], PeerInfo [id=follower288, address=akka://test/user/follower288, votingState=VOTING], PeerInfo [id=follower287, address=akka://test/user/follower287, votingState=VOTING]] 12:43:50,141 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader286 in 106.5 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:50,142 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Recovery completed in 788.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:50,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Follower): Received ElectionTimeout - switching to Candidate 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): Election: Candidate has following voting peers: [follower288, follower287] 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Set currentTerm=2, votedFor=leader286 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): Starting new election term 2 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): Sending RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] to peer follower288 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): Sending RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] to peer follower287 12:43:50,487 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:50,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:50,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): Cluster state: [] 12:43:50,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:50,487 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:50,487 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Set currentTerm=2, votedFor=null 12:43:50,488 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): In requestVote: RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:50,488 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: Set currentTerm=2, votedFor=leader286 12:43:50,488 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): Cluster state: [] 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Set currentTerm=2, votedFor=null 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): In requestVote: RequestVote [term=2, candidateId=leader286, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: Set currentTerm=2, votedFor=leader286 12:43:50,488 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:50,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:50,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Election: Leader has following peers: [follower289, follower288, follower287] 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower289: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower288: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower287: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,489 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower289 (Follower): Term 2 in "AppendEntries [leaderId=leader286, 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 12:43:50,489 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: Set currentTerm=2, votedFor=null 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:50,489 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower289: Last sync leader does not match current leader leader286, need to catch up to -1 12:43:50,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower289 updated: matchIndex: -1, nextIndex: 0 12:43:50,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower289: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,490 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower287: Last sync leader does not match current leader leader286, need to catch up to -1 [WARN] [09/03/2025 00:43:50.490] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower287] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@801958e [INFO] [akkaDeadLetter][09/03/2025 00:43:50.490] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower287] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower287] 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] [09/03/2025 00:43:50.490] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower289] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@219d6b7e 12:43:50,490 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower287] 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'. 12:43:50,491 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower289] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][09/03/2025 00:43:50.491] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower289] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower289] 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'. 12:43:50,491 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower288: Last sync leader does not match current leader leader286, need to catch up to -1 [WARN] [09/03/2025 00:43:50.491] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower288] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e06af0d [INFO] [akkaDeadLetter][09/03/2025 00:43:50.491] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower288] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower288] 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'. 12:43:50,491 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower288] 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'. 12:43:50,492 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower287 updated: matchIndex: -1, nextIndex: 0 12:43:50,492 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower287: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,492 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower288 updated: matchIndex: -1, nextIndex: 0 12:43:50,492 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower288: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,494 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:50,494 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader286 starting 12:43:50,497 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: onShutDown 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: Initiating leader transfer 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader286: pauseLeader successfully completed - doing transfer 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Attempting to transfer leadership 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower289: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower287: onLeaderTransitioning: LeaderTransitioning [leaderId=leader286] 12:43:50,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower288: onLeaderTransitioning: LeaderTransitioning [leaderId=leader286] 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower288: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Checking sendAppendEntries for follower follower287: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:50,498 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower287: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,498 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower288: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:50.498] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower288] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7a392415 12:43:50,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower289: onLeaderTransitioning: LeaderTransitioning [leaderId=leader286] [WARN] [09/03/2025 00:43:50.498] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower287] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f3ba536 [INFO] [akkaDeadLetter][09/03/2025 00:43:50.498] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower288] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower288] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][09/03/2025 00:43:50.498] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower287] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower287] 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'. 12:43:50,498 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower288] 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'. 12:43:50,498 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower287] 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'. 12:43:50,498 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower289: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:50.498] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower289] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@797a03bb [INFO] [akkaDeadLetter][09/03/2025 00:43:50.499] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower289] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower289] 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'. 12:43:50,499 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower289] 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'. 12:43:50,607 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower289: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,607 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower288: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,608 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower287: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,727 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower289: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,727 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower288: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,727 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower287: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,846 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader286: leader transfer aborted 12:43:50,846 AM [test-akka.actor.default-dispatcher-12] [WARN] RaftActorLeadershipTransferCohort - leader286: Failed to transfer leadership in 348.8 ms 12:43:50,847 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286: leader transfer failed - sending PoisonPill 12:43:50,847 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader286 (Leader): Leadership transfer expired 12:43:50,847 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower289: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,847 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower288: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) 12:43:50,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower287: Lagging 0 entries behind leader leader286 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:50.847] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader286] received dead letter from TestActor[akka://test/user/follower289]: AppendEntriesReply [term=2, success=true, followerId=follower289, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [09/03/2025 00:43:50.847] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader286] received dead letter from TestActor[akka://test/user/follower287]: AppendEntriesReply [term=2, success=true, followerId=follower287, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [09/03/2025 00:43:50.847] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader286] received dead letter from TestActor[akka://test/user/follower288]: AppendEntriesReply [term=2, success=true, followerId=follower288, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:50,849 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader286 ending 12:43:50,850 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 12:43:50,850 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower287-notifier290#76393377] 12:43:50,862 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower287-collector291#2041789787] 12:43:50,862 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower287] 12:43:50,863 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower288-notifier292#-825468876] 12:43:50,863 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower288-collector293#-383452020] 12:43:50,863 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower288] 12:43:50,863 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower289-notifier294#-1231275156] 12:43:50,863 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower289-collector295#-1669781054] 12:43:50,864 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower289] 12:43:50,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader286-notifier296#1949669881] 12:43:50,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader286-collector297#-1420005073] 12:43:50,864 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader286] 12:43:50,866 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 12:43:50,866 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:50.869] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower299]: org.opendaylight.controller.cluster.common.actor.Monitor@1dc9eabb 12:43:50,870 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower299 with journal batch size 1000 12:43:50,870 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: SnapshotOffer called. 12:43:50,870 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Moving last applied index from -1 to -1 12:43:50,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Set currentTerm=1, votedFor=null 12:43:50,871 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Updated server config: isVoting: true, peers: [PeerInfo [id=leader298, address=akka://test/user/leader298, votingState=VOTING], PeerInfo [id=follower300, address=akka://test/user/follower300, votingState=VOTING], PeerInfo [id=follower301, address=akka://test/user/follower301, votingState=NON_VOTING]] 12:43:50,871 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower299 in 97.07 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [09/03/2025 00:43:50.871] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower300]: org.opendaylight.controller.cluster.common.actor.Monitor@202afe39 12:43:50,872 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower300 with journal batch size 1000 12:43:50,872 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Recovery completed in 1.187 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:50.873] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower301]: org.opendaylight.controller.cluster.common.actor.Monitor@4b33a004 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower301 with journal batch size 1000 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: SnapshotOffer called. 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Moving last applied index from -1 to -1 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Set currentTerm=1, votedFor=null 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Updated server config: isVoting: true, peers: [PeerInfo [id=leader298, address=akka://test/user/leader298, votingState=VOTING], PeerInfo [id=follower299, address=akka://test/user/follower299, votingState=VOTING], PeerInfo [id=follower301, address=akka://test/user/follower301, votingState=NON_VOTING]] 12:43:50,873 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: SnapshotOffer called. 12:43:50,873 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Moving last applied index from -1 to -1 12:43:50,873 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Set currentTerm=1, votedFor=null 12:43:50,873 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Updated server config: isVoting: false, peers: [PeerInfo [id=leader298, address=akka://test/user/leader298, votingState=VOTING], PeerInfo [id=follower300, address=akka://test/user/follower300, votingState=VOTING], PeerInfo [id=follower299, address=akka://test/user/follower299, votingState=VOTING]] 12:43:50,873 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower300 in 65.91 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:50,873 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower301 in 63.28 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:50,874 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Recovery completed in 850.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:50,874 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Recovery completed in 1.222 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:50.876] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader298]: org.opendaylight.controller.cluster.common.actor.Monitor@2a7e454f 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader298 with journal batch size 1000 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: SnapshotOffer called. 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Moving last applied index from -1 to -1 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Set currentTerm=1, votedFor=null 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Updated server config: isVoting: true, peers: [PeerInfo [id=follower300, address=akka://test/user/follower300, votingState=VOTING], PeerInfo [id=follower299, address=akka://test/user/follower299, votingState=VOTING], PeerInfo [id=follower301, address=akka://test/user/follower301, votingState=NON_VOTING]] 12:43:50,876 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader298 in 44.52 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:50,877 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Recovery completed in 481.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:51,276 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:51,276 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:51,276 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Follower): Received ElectionTimeout - switching to Candidate 12:43:51,276 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): Election: Candidate has following voting peers: [follower300, follower299] 12:43:51,276 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Set currentTerm=2, votedFor=leader298 12:43:51,277 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): Starting new election term 2 12:43:51,277 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): Sending RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] to peer follower300 12:43:51,277 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): Sending RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] to peer follower299 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,277 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): Cluster state: [] 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Cluster state: [] 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Set currentTerm=2, votedFor=null 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Set currentTerm=2, votedFor=null 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): In requestVote: RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Set currentTerm=2, votedFor=leader298 12:43:51,277 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): In requestVote: RequestVote [term=2, candidateId=leader298, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Set currentTerm=2, votedFor=leader298 12:43:51,277 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:51,278 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:51,278 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Election: Leader has following peers: [follower300, follower299, follower301] 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower300: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower299: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower301: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower300: Last sync leader does not match current leader leader298, need to catch up to -1 12:43:51,279 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower299: Last sync leader does not match current leader leader298, need to catch up to -1 12:43:51,279 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower301 (Follower): Term 2 in "AppendEntries [leaderId=leader298, 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 12:43:51,279 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Set currentTerm=2, votedFor=null 12:43:51,279 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower300 updated: matchIndex: -1, nextIndex: 0 12:43:51,279 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower300: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,280 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower301: Last sync leader does not match current leader leader298, need to catch up to -1 12:43:51,280 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower299 updated: matchIndex: -1, nextIndex: 0 12:43:51,280 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower299: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:51.280] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower300] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@58466f91 12:43:51,280 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower301 updated: matchIndex: -1, nextIndex: 0 12:43:51,280 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower301: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,280 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:51,280 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting [WARN] [09/03/2025 00:43:51.280] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower299] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39010955 [WARN] [09/03/2025 00:43:51.280] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower301] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@569fe148 12:43:51,281 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:51,281 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:51,281 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:51,281 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: onRequestLeadership RequestLeadership [requestedFollowerId=follower300, replyTo=Actor[akka://test/user/$a#-846000075]] 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Initiating leader transfer 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: onLeaderTransitioning: LeaderTransitioning [leaderId=leader298] 12:43:51,283 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: onLeaderTransitioning: LeaderTransitioning [leaderId=leader298] 12:43:51,283 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: onLeaderTransitioning: LeaderTransitioning [leaderId=leader298] 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader298: pauseLeader successfully completed - doing transfer 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Attempting to transfer leadership 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower300: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower299: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,283 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower301: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,283 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower299: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) 12:43:51,283 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower300: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:51.283] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower299] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3ddc21 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): tryToCompleteLeadershipTransfer: followerId: follower300, matchIndex: -1, lastIndex: -1, isVoting: true 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Follower's log matches - sending ElectionTimeout 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower300: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:51.283] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower300] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@457b7fd3 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower299: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,283 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower300: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Checking sendAppendEntries for follower follower301: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,283 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower299: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Leader transfer complete 12:43:51,283 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader298: leader transfer complete - waiting for new leader 12:43:51,283 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:51,283 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower): Received TimeoutNow - switching to Candidate 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): Election: Candidate has following voting peers: [leader298, follower299] 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300: Set currentTerm=3, votedFor=follower300 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): Starting new election term 3 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): Sending RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] to peer leader298 12:43:51,284 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower301: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): Sending RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] to peer follower299 12:43:51,284 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Cluster state: [] 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Set currentTerm=3, votedFor=null 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Cluster state: [] 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): Leadership transfer in progress - processing RequestVote 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): In requestVote: RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Set currentTerm=3, votedFor=follower300 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Set currentTerm=3, votedFor=null 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:51,284 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader298 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): In requestVote: RequestVote [term=3, candidateId=follower300, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299: Set currentTerm=3, votedFor=follower300 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower299 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:51,284 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower301: Lagging 0 entries behind leader leader298 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:51.284] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower301] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@469b7d42 12:43:51,284 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Election: Leader has following peers: [leader298, follower299, follower301] 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower leader298: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower follower299: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower follower301: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,285 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower299: Last sync leader does not match current leader follower300, need to catch up to -1 12:43:51,285 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:43:51,285 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower301 (Follower): Term 3 in "AppendEntries [leaderId=follower300, 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 12:43:51,285 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower301: Set currentTerm=3, votedFor=null [WARN] [09/03/2025 00:43:51.285] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower299] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@589130d4 12:43:51,285 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader298: Last sync leader does not match current leader follower300, need to catch up to -1 12:43:51,285 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader298: leader changed to follower300 12:43:51,285 AM [test-akka.actor.default-dispatcher-15] [INFO] RaftActorLeadershipTransferCohort - leader298: Successfully transferred leadership to follower300 in 2.456 ms 12:43:51,285 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader298: Leadership transferred successfully to follower300 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower299 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:51.286] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader298] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5efb59fe 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower follower299: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower301: Last sync leader does not match current leader follower300, need to catch up to -1 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader298 updated: matchIndex: -1, nextIndex: 0 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower leader298: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower301 updated: matchIndex: -1, nextIndex: 0 12:43:51,286 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower300 (Leader): Checking sendAppendEntries for follower follower301: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:51.286] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower301] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@307aa2c 12:43:51,332 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 12:43:51,332 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower299-notifier302#-1668567251] 12:43:51,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower299-collector303#384669830] 12:43:51,343 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower299] 12:43:51,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower300-notifier304#-878580542] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower300-collector305#566338412] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower300] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower301-notifier306#1248292451] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower301-collector307#-196228713] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower301] 12:43:51,344 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader298-notifier308#-471434117] 12:43:51,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader298-collector309#-1668404942] 12:43:51,345 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader298] 12:43:51,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#-846000075] 12:43:51,346 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 12:43:51,346 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:51.347] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower311]: org.opendaylight.controller.cluster.common.actor.Monitor@4a47bc3c 12:43:51,348 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower311 with journal batch size 1000 12:43:51,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: SnapshotOffer called. 12:43:51,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Moving last applied index from -1 to -1 12:43:51,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Set currentTerm=1, votedFor=null 12:43:51,349 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Updated server config: isVoting: true, peers: [PeerInfo [id=leader310, address=akka://test/user/leader310, votingState=VOTING], PeerInfo [id=follower313, address=akka://test/user/follower313, votingState=NON_VOTING], PeerInfo [id=follower312, address=akka://test/user/follower312, votingState=VOTING]] [WARN] [09/03/2025 00:43:51.350] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower312]: org.opendaylight.controller.cluster.common.actor.Monitor@5d6069cf 12:43:51,350 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower312 with journal batch size 1000 12:43:51,349 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower311 in 87.14 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:51,351 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: SnapshotOffer called. 12:43:51,351 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Moving last applied index from -1 to -1 12:43:51,351 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Set currentTerm=1, votedFor=null 12:43:51,351 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Updated server config: isVoting: true, peers: [PeerInfo [id=leader310, address=akka://test/user/leader310, votingState=VOTING], PeerInfo [id=follower311, address=akka://test/user/follower311, votingState=VOTING], PeerInfo [id=follower313, address=akka://test/user/follower313, votingState=NON_VOTING]] 12:43:51,351 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower312 in 100.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:51,352 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Recovery completed in 783.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:51,352 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Recovery completed in 2.476 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:51.352] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower313]: org.opendaylight.controller.cluster.common.actor.Monitor@4b6ecbec 12:43:51,352 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower313 with journal batch size 1000 12:43:51,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: SnapshotOffer called. 12:43:51,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: Moving last applied index from -1 to -1 12:43:51,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: Set currentTerm=1, votedFor=null 12:43:51,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: Updated server config: isVoting: false, peers: [PeerInfo [id=leader310, address=akka://test/user/leader310, votingState=VOTING], PeerInfo [id=follower311, address=akka://test/user/follower311, votingState=VOTING], PeerInfo [id=follower312, address=akka://test/user/follower312, votingState=VOTING]] 12:43:51,353 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower313 in 42.99 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:51,353 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: Recovery completed in 484.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:51.354] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader310]: org.opendaylight.controller.cluster.common.actor.Monitor@1bccd386 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader310 with journal batch size 1000 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: SnapshotOffer called. 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Moving last applied index from -1 to -1 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Set currentTerm=1, votedFor=null 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Updated server config: isVoting: true, peers: [PeerInfo [id=follower311, address=akka://test/user/follower311, votingState=VOTING], PeerInfo [id=follower313, address=akka://test/user/follower313, votingState=NON_VOTING], PeerInfo [id=follower312, address=akka://test/user/follower312, votingState=VOTING]] 12:43:51,355 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader310 in 38.86 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:51,355 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Recovery completed in 376.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Follower): Received ElectionTimeout - switching to Candidate 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): Election: Candidate has following voting peers: [follower311, follower312] 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Set currentTerm=2, votedFor=leader310 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): Starting new election term 2 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): Sending RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] to peer follower311 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): Sending RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] to peer follower312 12:43:51,717 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:51,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,717 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:51,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): Cluster state: [] 12:43:51,717 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): Cluster state: [] 12:43:51,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,717 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:51,718 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:51,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Set currentTerm=2, votedFor=null 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Set currentTerm=2, votedFor=null 12:43:51,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): In requestVote: RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): In requestVote: RequestVote [term=2, candidateId=leader310, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:51,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: Set currentTerm=2, votedFor=leader310 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: Set currentTerm=2, votedFor=leader310 12:43:51,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:51,718 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Election: Leader has following peers: [follower311, follower313, follower312] 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower311: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower313: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower311: Last sync leader does not match current leader leader310, need to catch up to -1 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower312: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:51,719 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower313 (Follower): Term 2 in "AppendEntries [leaderId=leader310, 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 12:43:51,719 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: Set currentTerm=2, votedFor=null 12:43:51,719 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower312: Last sync leader does not match current leader leader310, need to catch up to -1 [WARN] [09/03/2025 00:43:51.719] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower311] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@181c1f6e 12:43:51,719 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower313: Last sync leader does not match current leader leader310, need to catch up to -1 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower311 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:51.719] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower312] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e4edeb6 12:43:51,719 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower311: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,720 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower312 updated: matchIndex: -1, nextIndex: 0 12:43:51,720 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower312: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,720 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower313 updated: matchIndex: -1, nextIndex: 0 12:43:51,720 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower313: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:51.720] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower313] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3de45ae6 12:43:51,758 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:51,758 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:51,759 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:51,759 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower312 starting 12:43:51,759 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower312: onShutDown 12:43:51,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower312 ending 12:43:51,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:51,760 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: onRequestLeadership RequestLeadership [requestedFollowerId=follower312, replyTo=Actor[akka://test/user/$b#959512128]] 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: Initiating leader transfer 12:43:51,760 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower313: onLeaderTransitioning: LeaderTransitioning [leaderId=leader310] 12:43:51,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower311: onLeaderTransitioning: LeaderTransitioning [leaderId=leader310] 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader310: pauseLeader successfully completed - doing transfer 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Attempting to transfer leadership 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower311: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:51.760] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower312] received dead letter from TestActor[akka://test/user/leader310]: LeaderTransitioning [leaderId=leader310] 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower313: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Checking sendAppendEntries for follower follower312: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:51,760 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower313: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:51.760] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower312] received dead letter from TestActor[akka://test/user/leader310]: AppendEntries [leaderId=leader310, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [09/03/2025 00:43:51.760] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower313] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@418f23af 12:43:51,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower311: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:51.761] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower311] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50c67f30 [WARN] [09/03/2025 00:43:51.837] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower312] received dead letter from TestActor[akka://test/user/leader310]: AppendEntries [leaderId=leader310, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:51,957 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower313: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) 12:43:51,957 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower311: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:51.957] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower312] received dead letter from TestActor[akka://test/user/leader310]: AppendEntries [leaderId=leader310, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:52,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader310: leader transfer aborted 12:43:52,77 AM [test-akka.actor.default-dispatcher-15] [WARN] RaftActorLeadershipTransferCohort - leader310: Failed to transfer leadership in 317.2 ms 12:43:52,77 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310: LeadershipTransfer request from follower312 failed 12:43:52,78 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader310 (Leader): Leadership transfer expired 12:43:52,78 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower311: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) 12:43:52,78 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower313: Lagging 0 entries behind leader leader310 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:52.078] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower312] received dead letter from TestActor[akka://test/user/leader310]: AppendEntries [leaderId=leader310, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:52,112 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 12:43:52,112 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower311-notifier314#-1405373193] 12:43:52,123 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower311-collector315#-86984120] 12:43:52,123 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower311] 12:43:52,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower312-notifier316#-1452356737] 12:43:52,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower312-collector317#1434130034] 12:43:52,124 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower312] 12:43:52,124 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower313-notifier318#1268779279] 12:43:52,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower313-collector319#1249928540] 12:43:52,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower313] 12:43:52,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader310-notifier320#300053021] 12:43:52,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader310-collector321#-111988324] 12:43:52,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader310] 12:43:52,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#959512128] 12:43:52,126 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 12:43:52,126 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:52.128] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower323]: org.opendaylight.controller.cluster.common.actor.Monitor@6fd33849 12:43:52,129 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower323 with journal batch size 1000 12:43:52,130 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: SnapshotOffer called. 12:43:52,130 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Moving last applied index from -1 to -1 12:43:52,130 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Set currentTerm=1, votedFor=null 12:43:52,130 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Updated server config: isVoting: true, peers: [PeerInfo [id=leader322, address=akka://test/user/leader322, votingState=VOTING], PeerInfo [id=follower325, address=akka://test/user/follower325, votingState=NON_VOTING], PeerInfo [id=follower324, address=akka://test/user/follower324, votingState=VOTING]] 12:43:52,130 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower323 in 89.49 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:52,131 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Recovery completed in 887.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:52,131 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower324 with journal batch size 1000 [WARN] [09/03/2025 00:43:52.130] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower324]: org.opendaylight.controller.cluster.common.actor.Monitor@13a377ad 12:43:52,132 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: SnapshotOffer called. 12:43:52,132 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Moving last applied index from -1 to -1 12:43:52,132 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Set currentTerm=1, votedFor=null 12:43:52,132 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Updated server config: isVoting: true, peers: [PeerInfo [id=leader322, address=akka://test/user/leader322, votingState=VOTING], PeerInfo [id=follower325, address=akka://test/user/follower325, votingState=NON_VOTING], PeerInfo [id=follower323, address=akka://test/user/follower323, votingState=VOTING]] 12:43:52,132 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower324 in 87.63 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:52,132 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Recovery completed in 684.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:52.133] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower325]: org.opendaylight.controller.cluster.common.actor.Monitor@39ccee46 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower325 with journal batch size 1000 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: SnapshotOffer called. 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Moving last applied index from -1 to -1 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Set currentTerm=1, votedFor=null 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Updated server config: isVoting: false, peers: [PeerInfo [id=leader322, address=akka://test/user/leader322, votingState=VOTING], PeerInfo [id=follower324, address=akka://test/user/follower324, votingState=VOTING], PeerInfo [id=follower323, address=akka://test/user/follower323, votingState=VOTING]] 12:43:52,133 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower325 in 37.12 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:52,134 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Recovery completed in 472.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:52.235] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader322]: org.opendaylight.controller.cluster.common.actor.Monitor@5d3be6e8 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader322 with journal batch size 1000 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: SnapshotOffer called. 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Moving last applied index from -1 to -1 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Set currentTerm=1, votedFor=null 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Updated server config: isVoting: true, peers: [PeerInfo [id=follower325, address=akka://test/user/follower325, votingState=NON_VOTING], PeerInfo [id=follower324, address=akka://test/user/follower324, votingState=VOTING], PeerInfo [id=follower323, address=akka://test/user/follower323, votingState=VOTING]] 12:43:52,236 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader322 in 95.34 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:52,237 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Recovery completed in 870.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Follower): Received ElectionTimeout - switching to Candidate 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): Election: Candidate has following voting peers: [follower324, follower323] 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Set currentTerm=2, votedFor=leader322 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): Starting new election term 2 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): Sending RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] to peer follower324 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): Sending RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] to peer follower323 12:43:52,647 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:52,647 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:52,647 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Cluster state: [] 12:43:52,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:52,647 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:52,647 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:52,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Cluster state: [] 12:43:52,647 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Set currentTerm=2, votedFor=null 12:43:52,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:52,647 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:52,647 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Set currentTerm=2, votedFor=null 12:43:52,648 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): In requestVote: RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:52,648 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Set currentTerm=2, votedFor=leader322 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): In requestVote: RequestVote [term=2, candidateId=leader322, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Set currentTerm=2, votedFor=leader322 12:43:52,648 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:52,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Election: Leader has following peers: [follower325, follower324, follower323] 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower324: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:52,649 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower324: Last sync leader does not match current leader leader322, need to catch up to -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower323: Last sync leader does not match current leader leader322, need to catch up to -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Term 2 in "AppendEntries [leaderId=leader322, 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 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower324 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:52.649] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower324] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43c87ef3 [WARN] [09/03/2025 00:43:52.649] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower323] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@18d66dcd 12:43:52,649 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower324: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Set currentTerm=2, votedFor=null 12:43:52,649 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower323 updated: matchIndex: -1, nextIndex: 0 12:43:52,649 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower325: Last sync leader does not match current leader leader322, need to catch up to -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:52,649 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower325 updated: matchIndex: -1, nextIndex: 0 12:43:52,649 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:52.650] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower325] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26a7c2c3 12:43:52,690 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:52,690 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower325 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Sending AppendEntries to follower follower325: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower324: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Sending AppendEntries to follower follower324: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): handleAppendEntries: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Number of entries to be appended = 1 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Append entry to log zero 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower323 12:43:52,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Sending AppendEntries to follower follower323: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Log size is now 1 12:43:52,691 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): handleAppendEntries: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,691 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Number of entries to be appended = 1 12:43:52,691 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower325, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:52,691 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Append entry to log zero 12:43:52,691 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,691 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader leader322 and reached -1 (of expected -1) 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Log size is now 1 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower323, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower323: Lagging 0 entries behind leader leader322 and reached -1 (of expected -1) 12:43:52,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower325 updated: matchIndex: 0, nextIndex: 1 12:43:52,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower323 updated: matchIndex: 0, nextIndex: 1 12:43:52,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Setting last applied to 0 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Moving last applied index from -1 to 0 12:43:52,692 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Applying state for log index 0 data zero 12:43:52,692 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:52,693 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: applyState called: zero 12:43:52,693 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Persisting ApplyJournalEntries with index=0 12:43:52,693 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [09/03/2025 00:43:52.693] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower325] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@754cd12c [WARN] [09/03/2025 00:43:52.693] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower323] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3dd40e9 12:43:52,766 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:52,766 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Sending AppendEntries to follower follower324: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Sending AppendEntries to follower follower324: AppendEntries [leaderId=leader322, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:52,887 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Commit index set to 0 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Commit index set to 0 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower323: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Setting last applied to 0 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Moving last applied index from -1 to 0 12:43:52,887 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Applying state for log index 0 data zero 12:43:52,887 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:52,888 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: applyState called: zero 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Setting last applied to 0 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Moving last applied index from -1 to 0 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Applying state for log index 0 data zero 12:43:52,888 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Persisting ApplyJournalEntries with index=0 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: applyState called: zero 12:43:52,888 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Persisting ApplyJournalEntries with index=0 12:43:52,892 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 12:43:52,892 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: onShutDown 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Initiating leader transfer 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader322: pauseLeader successfully completed - doing transfer 12:43:52,892 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: onLeaderTransitioning: LeaderTransitioning [leaderId=leader322] 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Attempting to transfer leadership 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: onLeaderTransitioning: LeaderTransitioning [leaderId=leader322] 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower324: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,892 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,892 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower323: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): tryToCompleteLeadershipTransfer: followerId: follower325, matchIndex: 0, lastIndex: 0, isVoting: false 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): tryToCompleteLeadershipTransfer: followerId: follower323, matchIndex: 0, lastIndex: 0, isVoting: true 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Follower's log matches - sending ElectionTimeout 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower324: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Checking sendAppendEntries for follower follower323: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Leader transfer complete 12:43:52,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader322: leader transfer complete - waiting for new leader 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower323: Lagging 0 entries behind leader leader322 and reached 0 (of expected -1) 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower): Received TimeoutNow - switching to Candidate 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): Election: Candidate has following voting peers: [leader322, follower324] 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323: Set currentTerm=3, votedFor=follower323 12:43:52,893 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): Starting new election term 3 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): Sending RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] to peer leader322 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): Sending RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] to peer follower324 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Cluster state: [] 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Cluster state: [] 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Set currentTerm=3, votedFor=null 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Set currentTerm=3, votedFor=null 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): Leadership transfer in progress - processing RequestVote 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): In requestVote: RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): In requestVote: RequestVote [term=3, candidateId=follower323, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: Set currentTerm=3, votedFor=follower323 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Set currentTerm=3, votedFor=follower323 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:52,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:52,894 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader322 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:52,894 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Election: Leader has following peers: [leader322, follower325, follower324] 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower leader322: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower follower325: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower follower324: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:43:52,895 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower325 (Follower): Term 3 in "AppendEntries [leaderId=follower323, 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 12:43:52,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower325: Set currentTerm=3, votedFor=null 12:43:52,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower325: Last sync leader does not match current leader follower323, need to catch up to -1 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower325 updated: matchIndex: 0, nextIndex: 1 12:43:52,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower follower325: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,896 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader322: Last sync leader does not match current leader follower323, need to catch up to -1 12:43:52,896 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader322: leader changed to follower323 12:43:52,896 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader322 updated: matchIndex: 0, nextIndex: 1 12:43:52,896 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower leader322: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:52,896 AM [test-akka.actor.default-dispatcher-17] [INFO] RaftActorLeadershipTransferCohort - leader322: Successfully transferred leadership to follower323 in 3.696 ms 12:43:52,896 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader322: leader transfer succeeded - sending PoisonPill 12:43:52,896 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader322: Lagging 0 entries behind leader follower323 and reached 0 (of expected -1) [WARN] [09/03/2025 00:43:52.896] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader322] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6300c76d 12:43:52,896 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader follower323 and reached 0 (of expected -1) [WARN] [09/03/2025 00:43:52.896] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader322] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1ff93ba [WARN] [09/03/2025 00:43:52.896] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower325] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5289da5 [WARN] [09/03/2025 00:43:52.896] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower325] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e6a8991 [WARN] [09/03/2025 00:43:53.406] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader322] received dead letter from TestActor[akka://test/user/follower323]: AppendEntries [leaderId=follower323, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower325: Lagging 0 entries behind leader follower323 and reached 0 (of expected -1) 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower324: Last sync leader does not match current leader follower323, need to catch up to -1 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): sendAppendEntries: 0 is present for follower follower324 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Sending AppendEntries to follower follower324: AppendEntries [leaderId=follower323, 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] [09/03/2025 00:43:53.407] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower324] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@519c72d9 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): handleAppendEntries: AppendEntries [leaderId=follower323, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Number of entries to be appended = 1 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Append entry to log zero 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Log size is now 1 12:43:53,407 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Commit index set to 0 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower324, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower324: Lagging 0 entries behind leader follower323 and reached 0 (of expected -1) 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324 (Follower): Setting last applied to 0 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Moving last applied index from -1 to 0 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Applying state for log index 0 data zero 12:43:53,408 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower324 updated: matchIndex: 0, nextIndex: 1 12:43:53,408 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower323 (Leader): Checking sendAppendEntries for follower follower324: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,408 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: applyState called: zero 12:43:53,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: Persisting ApplyJournalEntries with index=0 [WARN] [09/03/2025 00:43:53.409] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower324] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36dbb34a 12:43:53,446 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: onLeaderTransitioning: LeaderTransitioning [leaderId=leader322] 12:43:53,447 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 12:43:53,447 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower324 starting 12:43:53,447 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower324: onShutDown 12:43:53,447 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower324 ending 12:43:53,447 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 12:43:53,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower323-notifier326#-869240198] 12:43:53,458 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower323-collector327#-1499593157] 12:43:53,459 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower323] 12:43:53,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower324-notifier328#-668073114] 12:43:53,459 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower324-collector329#-1145419731] 12:43:53,459 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower324] 12:43:53,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower325-notifier330#672285359] 12:43:53,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower325-collector331#1112530562] 12:43:53,460 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower325] 12:43:53,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader322-notifier332#-1995300949] 12:43:53,460 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader322-collector333#-396105658] 12:43:53,461 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader322] 12:43:53,462 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [09/03/2025 00:43:53.465] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader334]: org.opendaylight.controller.cluster.common.actor.Monitor@6cb3f256 12:43:53,466 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader334 with journal batch size 1000 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader334: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Follower): Received TimeoutNow - switching to Candidate 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Candidate): Election: Candidate has following voting peers: [] 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334: Set currentTerm=1, votedFor=leader334 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Candidate): Starting new election term 1 12:43:53,467 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:53,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Candidate): Received ElectionTimeout 12:43:53,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Leader): Election: Leader has following peers: [] 12:43:53,468 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader334 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:43:53,468 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader334 starting 12:43:53,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader334: onShutDown 12:43:53,469 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader334 ending 12:43:53,469 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 12:43:53,469 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader334-collector338#-1977766869] 12:43:53,480 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader334] 12:43:53,482 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 12:43:53,482 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:53.483] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower340]: org.opendaylight.controller.cluster.common.actor.Monitor@758cdd61 12:43:53,484 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower340 with journal batch size 1000 12:43:53,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: SnapshotOffer called. 12:43:53,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Moving last applied index from -1 to -1 12:43:53,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Set currentTerm=1, votedFor=null 12:43:53,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Updated server config: isVoting: true, peers: [PeerInfo [id=leader339, address=akka://test/user/leader339, votingState=VOTING], PeerInfo [id=follower342, address=akka://test/user/follower342, votingState=NON_VOTING], PeerInfo [id=follower341, address=akka://test/user/follower341, votingState=VOTING]] 12:43:53,485 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower340 in 93.56 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:53,486 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Recovery completed in 808.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:53.486] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower341]: org.opendaylight.controller.cluster.common.actor.Monitor@6c63098a 12:43:53,487 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower341 with journal batch size 1000 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: SnapshotOffer called. 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Moving last applied index from -1 to -1 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Set currentTerm=1, votedFor=null 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Updated server config: isVoting: true, peers: [PeerInfo [id=leader339, address=akka://test/user/leader339, votingState=VOTING], PeerInfo [id=follower340, address=akka://test/user/follower340, votingState=VOTING], PeerInfo [id=follower342, address=akka://test/user/follower342, votingState=NON_VOTING]] 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower341 in 79.98 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:53,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Recovery completed in 543.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:53.489] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower342]: org.opendaylight.controller.cluster.common.actor.Monitor@383015e3 12:43:53,489 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower342 with journal batch size 1000 12:43:53,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: SnapshotOffer called. 12:43:53,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Moving last applied index from -1 to -1 12:43:53,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Set currentTerm=1, votedFor=null 12:43:53,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Updated server config: isVoting: false, peers: [PeerInfo [id=leader339, address=akka://test/user/leader339, votingState=VOTING], PeerInfo [id=follower340, address=akka://test/user/follower340, votingState=VOTING], PeerInfo [id=follower341, address=akka://test/user/follower341, votingState=VOTING]] 12:43:53,490 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower342 in 43.63 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:53,490 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Recovery completed in 443.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:53.491] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader339]: org.opendaylight.controller.cluster.common.actor.Monitor@2d82b226 12:43:53,491 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader339 with journal batch size 1000 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: SnapshotOffer called. 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Moving last applied index from -1 to -1 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Set currentTerm=1, votedFor=null 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Updated server config: isVoting: true, peers: [PeerInfo [id=follower340, address=akka://test/user/follower340, votingState=VOTING], PeerInfo [id=follower342, address=akka://test/user/follower342, votingState=NON_VOTING], PeerInfo [id=follower341, address=akka://test/user/follower341, votingState=VOTING]] 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader339 in 57.44 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:53,492 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Recovery completed in 467.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Follower): Received ElectionTimeout - switching to Candidate 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): Election: Candidate has following voting peers: [follower340, follower341] 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Set currentTerm=2, votedFor=leader339 12:43:53,846 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): Starting new election term 2 12:43:53,847 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): Sending RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] to peer follower340 12:43:53,847 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): Sending RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] to peer follower341 12:43:53,847 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:53,847 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:53,847 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Cluster state: [] 12:43:53,847 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:53,847 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:53,847 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Set currentTerm=2, votedFor=null 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): Cluster state: [] 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Set currentTerm=2, votedFor=null 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): In requestVote: RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: Set currentTerm=2, votedFor=leader339 12:43:53,847 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:53,848 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): In requestVote: RequestVote [term=2, candidateId=leader339, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:53,848 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Set currentTerm=2, votedFor=leader339 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:53,848 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Election: Leader has following peers: [follower340, follower342, follower341] 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower340: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower342: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower341: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,848 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:53,848 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Term 2 in "AppendEntries [leaderId=leader339, 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 12:43:53,848 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Set currentTerm=2, votedFor=null 12:43:53,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower342: Last sync leader does not match current leader leader339, need to catch up to -1 12:43:53,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower342 updated: matchIndex: -1, nextIndex: 0 12:43:53,849 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower342: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower340: Last sync leader does not match current leader leader339, need to catch up to -1 12:43:53,849 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower341: Last sync leader does not match current leader leader339, need to catch up to -1 [WARN] [09/03/2025 00:43:53.849] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower341] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51fd267a 12:43:53,849 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower341 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:53.849] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower340] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@19de7fa7 12:43:53,849 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower341: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,849 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower340 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:53.849] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower342] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e833b58 12:43:53,849 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower340: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:53,898 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:53,898 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:53,899 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:53,899 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower340: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower340 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Sending AppendEntries to follower follower340: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower342: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower342 12:43:53,899 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Sending AppendEntries to follower follower342: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,899 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): handleAppendEntries: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower341: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower341 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Number of entries to be appended = 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Append entry to log zero 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Sending AppendEntries to follower follower341: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Log size is now 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): handleAppendEntries: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Number of entries to be appended = 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Append entry to log zero 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower340, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:53,900 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached -1 (of expected -1) 12:43:53,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower340 updated: matchIndex: 0, nextIndex: 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower340: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Log size is now 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower342, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower342 updated: matchIndex: 0, nextIndex: 1 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower342: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Setting last applied to 0 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Moving last applied index from -1 to 0 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Applying state for log index 0 data zero 12:43:53,900 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:53,900 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: applyState called: zero 12:43:53,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Persisting ApplyJournalEntries with index=0 12:43:53,901 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:53.900] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower340] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5b716a6b 12:43:53,901 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [09/03/2025 00:43:53.901] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower342] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@44a3a797 12:43:53,966 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower341 12:43:53,967 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Sending AppendEntries to follower follower341: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:54,87 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower341 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Commit index set to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Commit index set to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Sending AppendEntries to follower follower341: AppendEntries [leaderId=leader339, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340 (Follower): Setting last applied to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342 (Follower): Setting last applied to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Moving last applied index from -1 to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Moving last applied index from -1 to 0 12:43:54,87 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Applying state for log index 0 data zero 12:43:54,87 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Applying state for log index 0 data zero 12:43:54,88 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: applyState called: zero 12:43:54,88 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: applyState called: zero 12:43:54,88 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: Persisting ApplyJournalEntries with index=0 12:43:54,88 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: Persisting ApplyJournalEntries with index=0 12:43:54,100 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 12:43:54,100 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: onRequestLeadership RequestLeadership [requestedFollowerId=follower341, replyTo=Actor[akka://test/user/$c#395750307]] 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: Initiating leader transfer 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader339: pauseLeader successfully completed - doing transfer 12:43:54,101 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower340: onLeaderTransitioning: LeaderTransitioning [leaderId=leader339] 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Attempting to transfer leadership 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower340: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:54,101 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower341: onLeaderTransitioning: LeaderTransitioning [leaderId=leader339] 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower342: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Checking sendAppendEntries for follower follower341: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:54,101 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): sendAppendEntries: 0 is present for follower follower341 12:43:54,101 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,101 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:54,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower342: onLeaderTransitioning: LeaderTransitioning [leaderId=leader339] 12:43:54,207 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,207 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,327 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,327 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,446 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader339: leader transfer aborted 12:43:54,446 AM [test-akka.actor.default-dispatcher-15] [WARN] RaftActorLeadershipTransferCohort - leader339: Failed to transfer leadership in 345.7 ms 12:43:54,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339: LeadershipTransfer request from follower341 failed 12:43:54,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader339 (Leader): Leadership transfer expired 12:43:54,447 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower340: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,447 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower342: Lagging 0 entries behind leader leader339 and reached 0 (of expected -1) 12:43:54,453 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 12:43:54,454 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower340-notifier343#44501707] 12:43:54,465 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower340-collector344#1552658249] 12:43:54,465 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower340] 12:43:54,465 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower341-notifier345#1683478016] 12:43:54,466 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower341-collector346#859462912] 12:43:54,466 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower341] 12:43:54,466 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower342-notifier347#-272652688] 12:43:54,466 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower342-collector348#875259268] 12:43:54,467 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower342] 12:43:54,467 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader339-notifier349#2057138705] 12:43:54,467 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader339-collector350#-1515801977] 12:43:54,467 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader339] 12:43:54,468 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#395750307] 12:43:54,469 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 12:43:54,469 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [09/03/2025 00:43:54.471] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower352]: org.opendaylight.controller.cluster.common.actor.Monitor@3083ceac 12:43:54,471 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower352 with journal batch size 1000 12:43:54,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: SnapshotOffer called. 12:43:54,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Moving last applied index from -1 to -1 12:43:54,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Set currentTerm=1, votedFor=null 12:43:54,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Updated server config: isVoting: true, peers: [PeerInfo [id=follower354, address=akka://test/user/follower354, votingState=NON_VOTING], PeerInfo [id=leader351, address=akka://test/user/leader351, votingState=VOTING], PeerInfo [id=follower353, address=akka://test/user/follower353, votingState=VOTING]] 12:43:54,472 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower352 in 178.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [09/03/2025 00:43:54.473] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower353]: org.opendaylight.controller.cluster.common.actor.Monitor@3e5799a6 12:43:54,473 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Recovery completed in 1.290 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower353 with journal batch size 1000 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: SnapshotOffer called. 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Moving last applied index from -1 to -1 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Set currentTerm=1, votedFor=null 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Updated server config: isVoting: true, peers: [PeerInfo [id=follower354, address=akka://test/user/follower354, votingState=NON_VOTING], PeerInfo [id=leader351, address=akka://test/user/leader351, votingState=VOTING], PeerInfo [id=follower352, address=akka://test/user/follower352, votingState=VOTING]] 12:43:54,474 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower353 in 38.12 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:54,475 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Recovery completed in 642.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:54.475] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower354]: org.opendaylight.controller.cluster.common.actor.Monitor@5ba7f544 12:43:54,475 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower354 with journal batch size 1000 12:43:54,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: SnapshotOffer called. 12:43:54,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: Moving last applied index from -1 to -1 12:43:54,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: Set currentTerm=1, votedFor=null 12:43:54,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: Updated server config: isVoting: false, peers: [PeerInfo [id=leader351, address=akka://test/user/leader351, votingState=VOTING], PeerInfo [id=follower353, address=akka://test/user/follower353, votingState=VOTING], PeerInfo [id=follower352, address=akka://test/user/follower352, votingState=VOTING]] 12:43:54,476 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower354 in 60.24 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:54,476 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: Recovery completed in 747.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [09/03/2025 00:43:54.476] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader351]: org.opendaylight.controller.cluster.common.actor.Monitor@63d8c77f 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader351 with journal batch size 1000 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: SnapshotOffer called. 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Moving last applied index from -1 to -1 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Set currentTerm=1, votedFor=null 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Updated server config: isVoting: true, peers: [PeerInfo [id=follower354, address=akka://test/user/follower354, votingState=NON_VOTING], PeerInfo [id=follower353, address=akka://test/user/follower353, votingState=VOTING], PeerInfo [id=follower352, address=akka://test/user/follower352, votingState=VOTING]] 12:43:54,477 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader351 in 44.57 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:54,478 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Recovery completed in 609.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:54,876 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.202:25520, Removed) 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Follower): Received ElectionTimeout - switching to Candidate 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): Election: Candidate has following voting peers: [follower353, follower352] 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Set currentTerm=2, votedFor=leader351 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): Starting new election term 2 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): Sending RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] to peer follower353 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): Sending RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] to peer follower352 12:43:54,877 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:54,877 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:54,877 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): Cluster state: [] 12:43:54,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:54,877 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:54,877 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:54,877 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Set currentTerm=2, votedFor=null 12:43:54,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): Cluster state: [] 12:43:54,877 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:54,877 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Set currentTerm=2, votedFor=null 12:43:54,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): In requestVote: RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:54,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Set currentTerm=2, votedFor=leader351 12:43:54,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): In requestVote: RequestVote [term=2, candidateId=leader351, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352: Set currentTerm=2, votedFor=leader351 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower352 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:54,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Election: Leader has following peers: [follower354, follower353, follower352] 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower354: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower353: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower353: Last sync leader does not match current leader leader351, need to catch up to -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower352: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:54,879 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower352: Last sync leader does not match current leader leader351, need to catch up to -1 [WARN] [09/03/2025 00:43:54.879] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower353] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5695a48b 12:43:54,879 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower354 (Follower): Term 2 in "AppendEntries [leaderId=leader351, 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 12:43:54,879 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower354: Set currentTerm=2, votedFor=null 12:43:54,879 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower354: Last sync leader does not match current leader leader351, need to catch up to -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower353 updated: matchIndex: -1, nextIndex: 0 [WARN] [09/03/2025 00:43:54.879] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower352] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1b2ed597 12:43:54,879 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower353: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,879 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower352 updated: matchIndex: -1, nextIndex: 0 12:43:54,880 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower352: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,880 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower354 updated: matchIndex: -1, nextIndex: 0 12:43:54,880 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower354: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:54.880] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower354] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b29b014 12:43:54,881 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:54,881 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:54,882 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:54,882 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower352] 12:43:54,893 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower354] 12:43:54,904 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:54,904 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: onRequestLeadership RequestLeadership [requestedFollowerId=follower353, replyTo=Actor[akka://test/user/$d#172533643]] 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Initiating leader transfer [WARN] [09/03/2025 00:43:54.904] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower354] received dead letter from TestActor[akka://test/user/leader351]: LeaderTransitioning [leaderId=leader351] 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader351: pauseLeader successfully completed - doing transfer 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Attempting to transfer leadership [WARN] [09/03/2025 00:43:54.904] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower352] received dead letter from TestActor[akka://test/user/leader351]: LeaderTransitioning [leaderId=leader351] 12:43:54,904 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: onLeaderTransitioning: LeaderTransitioning [leaderId=leader351] 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower354: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:54.904] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower354] received dead letter from TestActor[akka://test/user/leader351]: AppendEntries [leaderId=leader351, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower353: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower352: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,904 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower353: Lagging 0 entries behind leader leader351 and reached -1 (of expected -1) 12:43:54,904 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): tryToCompleteLeadershipTransfer: followerId: follower353, matchIndex: -1, lastIndex: -1, isVoting: true [WARN] [09/03/2025 00:43:54.904] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower352] received dead letter from TestActor[akka://test/user/leader351]: AppendEntries [leaderId=leader351, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Follower's log matches - sending ElectionTimeout [WARN] [09/03/2025 00:43:54.905] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower353] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@dbd4bcc 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower354: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower353: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:54.905] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower354] received dead letter from TestActor[akka://test/user/leader351]: AppendEntries [leaderId=leader351, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Checking sendAppendEntries for follower follower352: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower353: Lagging 0 entries behind leader leader351 and reached -1 (of expected -1) [WARN] [09/03/2025 00:43:54.905] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower352] received dead letter from TestActor[akka://test/user/leader351]: AppendEntries [leaderId=leader351, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Leader transfer complete 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader351: leader transfer complete - waiting for new leader 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower): Received TimeoutNow - switching to Candidate 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): Election: Candidate has following voting peers: [leader351, follower352] 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353: Set currentTerm=3, votedFor=follower353 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): Starting new election term 3 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): Sending RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1] to peer leader351 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): Sending RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1] to peer follower352 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Cluster state: [] 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:54,905 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Set currentTerm=3, votedFor=null [WARN] [09/03/2025 00:43:54.905] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower352] received dead letter from TestActor[akka://test/user/follower353]: RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1] 12:43:54,905 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): Leadership transfer in progress - processing RequestVote 12:43:54,906 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): In requestVote: RequestVote [term=3, candidateId=follower353, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:54,906 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Set currentTerm=3, votedFor=follower353 12:43:54,906 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:54,906 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader351 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): Election: Leader has following peers: [follower354, leader351, follower352] 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): Checking sendAppendEntries for follower follower354: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): Checking sendAppendEntries for follower leader351: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): Checking sendAppendEntries for follower follower352: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [09/03/2025 00:43:54.906] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower354] received dead letter from TestActor[akka://test/user/follower353]: AppendEntries [leaderId=follower353, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,906 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 [WARN] [09/03/2025 00:43:54.906] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower352] received dead letter from TestActor[akka://test/user/follower353]: AppendEntries [leaderId=follower353, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:54,907 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader351: Last sync leader does not match current leader follower353, need to catch up to -1 12:43:54,907 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader351 updated: matchIndex: -1, nextIndex: 0 12:43:54,907 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader351: leader changed to follower353 12:43:54,907 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower353 (Leader): Checking sendAppendEntries for follower leader351: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:54,907 AM [test-akka.actor.default-dispatcher-17] [INFO] RaftActorLeadershipTransferCohort - leader351: Successfully transferred leadership to follower353 in 2.815 ms 12:43:54,907 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader351: Leadership transferred successfully to follower353 [WARN] [09/03/2025 00:43:54.907] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader351] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@269ee213 12:43:54,955 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 12:43:54,955 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower352-notifier355#-848162265] 12:43:54,966 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower352-collector356#421171354] 12:43:54,966 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower353-notifier357#1016452403] 12:43:54,966 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower353-collector358#-1665970981] 12:43:54,966 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower353] 12:43:54,966 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower354-notifier359#-1218644172] 12:43:54,967 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower354-collector360#-587295728] 12:43:54,967 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader351-notifier361#-917754082] 12:43:54,967 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader351-collector362#881038823] 12:43:54,967 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader351] 12:43:54,967 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#172533643] [INFO] [09/03/2025 00:43:54.968] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:43:54,968 AM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [09/03/2025 00:43:54.969] [test-akka.actor.default-dispatcher-15] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.202:25520) [INFO] [09/03/2025 00:43:54.971] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Exiting completed 12:43:54,971 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Exiting completed [INFO] [09/03/2025 00:43:54.971] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Shutting down... 12:43:54,971 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Shutting down... [INFO] [09/03/2025 00:43:54.971] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.202:25520] - Successfully shut down 12:43:54,973 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.170.202:25520] - Successfully shut down [INFO] [09/03/2025 00:43:54.973] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.202:25520/system/remoting-terminator] Shutting down remote daemon. 12:43:54,973 AM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [09/03/2025 00:43:54.973] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.202:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 12:43:54,973 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.