[DEBUG] [11/01/2025 00:43:24.365] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:43:24,366 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/01/2025 00:43:24.366] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [11/01/2025 00:43:24.366] [main] [EventStream(akka://test)] Default Loggers started [INFO] [11/01/2025 00:43:24.385] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.14:25520] with UID [-5835628014740205506] 12:43:24,387 AM [test-akka.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.14:25520] with UID [-5835628014740205506] [INFO] [11/01/2025 00:43:24.388] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Starting up, Akka version [2.6.21] ... 12:43:24,388 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Starting up, Akka version [2.6.21] ... [INFO] [11/01/2025 00:43:24.391] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:43:24,392 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [11/01/2025 00:43:24.392] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Started up successfully 12:43:24,392 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Started up successfully [INFO] [11/01/2025 00:43:24.393] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [11/01/2025 00:43:24.393] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:24,393 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:43:24,393 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:24,410 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 12:43:24,410 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:24.415] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@4c3841bf [INFO] [akkaDeadLetter][11/01/2025 00:43:24.415] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower740] 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:24,416 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower740] 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:24,417 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 12:43:24,417 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: SnapshotOffer called. 12:43:24,417 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to -1 12:43:24,417 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 12:43:24,417 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Updated server config: isVoting: true, peers: [PeerInfo [id=follower742, address=akka://test/user/follower742, votingState=NON_VOTING], PeerInfo [id=follower741, address=akka://test/user/follower741, votingState=VOTING], PeerInfo [id=leader739, address=akka://test/user/leader739, votingState=VOTING]] 12:43:24,417 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower740 in 100.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:24,418 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Recovery completed in 1.212 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:24.420] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower741]: org.opendaylight.controller.cluster.common.actor.Monitor@75de12f5 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.420] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower741] 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:24,420 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower741] 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:24,421 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower741 with journal batch size 1000 [WARN] [11/01/2025 00:43:24.422] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower742]: org.opendaylight.controller.cluster.common.actor.Monitor@5c4c43dc 12:43:24,422 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower742 with journal batch size 1000 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.423] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower742] 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:24,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: SnapshotOffer called. 12:43:24,423 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower742] 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:24,423 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: SnapshotOffer called. 12:43:24,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Moving last applied index from -1 to -1 12:43:24,423 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: Moving last applied index from -1 to -1 12:43:24,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=1, votedFor=null 12:43:24,423 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: Set currentTerm=1, votedFor=null 12:43:24,423 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Updated server config: isVoting: true, peers: [PeerInfo [id=follower740, address=akka://test/user/follower740, votingState=VOTING], PeerInfo [id=follower742, address=akka://test/user/follower742, votingState=NON_VOTING], PeerInfo [id=leader739, address=akka://test/user/leader739, votingState=VOTING]] 12:43:24,423 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: Updated server config: isVoting: false, peers: [PeerInfo [id=follower740, address=akka://test/user/follower740, votingState=VOTING], PeerInfo [id=follower741, address=akka://test/user/follower741, votingState=VOTING], PeerInfo [id=leader739, address=akka://test/user/leader739, votingState=VOTING]] 12:43:24,423 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower742 in 81.18 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:24,423 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower741 in 78.03 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:24,424 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: Recovery completed in 673.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:24,424 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Recovery completed in 754.9 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:24.424] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader739]: org.opendaylight.controller.cluster.common.actor.Monitor@1e854f84 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.424] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader739] 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:24,424 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader739] 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:24,425 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader739 with journal batch size 1000 12:43:24,425 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: SnapshotOffer called. 12:43:24,425 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Moving last applied index from -1 to -1 12:43:24,425 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Set currentTerm=1, votedFor=null 12:43:24,425 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Updated server config: isVoting: true, peers: [PeerInfo [id=follower740, address=akka://test/user/follower740, votingState=VOTING], PeerInfo [id=follower742, address=akka://test/user/follower742, votingState=NON_VOTING], PeerInfo [id=follower741, address=akka://test/user/follower741, votingState=VOTING]] 12:43:24,425 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader739 in 53.30 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:24,425 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Recovery completed in 428.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:24,750 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:24,750 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:24,750 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower): Received ElectionTimeout - switching to Candidate 12:43:24,750 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Election: Candidate has following voting peers: [follower740, follower741] 12:43:24,750 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Set currentTerm=2, votedFor=leader739 12:43:24,751 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Starting new election term 2 12:43:24,751 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Sending RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 12:43:24,751 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): Sending RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] to peer follower741 12:43:24,751 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=null 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Cluster state: [] 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=2, votedFor=null 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=leader739 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): In requestVote: RequestVote [term=2, candidateId=leader739, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:24,751 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:24,751 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: Set currentTerm=2, votedFor=leader739 12:43:24,752 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Election: Leader has following peers: [follower740, follower742, follower741] 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower742: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,753 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader leader739, need to catch up to -1 12:43:24,753 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:24,753 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Last sync leader does not match current leader leader739, need to catch up to -1 [WARN] [11/01/2025 00:43:24.754] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6aa665e9 12:43:24,754 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower742 (Follower): Term 2 in "AppendEntries [leaderId=leader739, 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:24,754 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: Set currentTerm=2, votedFor=null [WARN] [11/01/2025 00:43:24.754] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower741] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e593ce3 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.754] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][11/01/2025 00:43:24.754] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower741] 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:24,754 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] 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:24,754 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower741] 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:24,754 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower742: Last sync leader does not match current leader leader739, need to catch up to -1 12:43:24,754 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 12:43:24,754 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,754 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower741 updated: matchIndex: -1, nextIndex: 0 12:43:24,754 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,754 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower742 updated: matchIndex: -1, nextIndex: 0 12:43:24,755 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower742: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:24.755] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower742] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3eac3b22 12:43:24,755 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower742] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][11/01/2025 00:43:24.755] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower742] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower742] 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:24,776 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:24,776 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader739 starting 12:43:24,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: onShutDown 12:43:24,778 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: Initiating leader transfer 12:43:24,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader739: pauseLeader successfully completed - doing transfer 12:43:24,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Attempting to transfer leadership 12:43:24,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower741: onLeaderTransitioning: LeaderTransitioning [leaderId=leader739] 12:43:24,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower742: onLeaderTransitioning: LeaderTransitioning [leaderId=leader739] 12:43:24,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: onLeaderTransitioning: LeaderTransitioning [leaderId=leader739] 12:43:24,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower742: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,779 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Checking sendAppendEntries for follower follower741: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:24,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower742: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) [WARN] [11/01/2025 00:43:24.779] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower741] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e03abdc [INFO] [akkaDeadLetter][11/01/2025 00:43:24.779] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower741] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower741] 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:24,780 AM [test-akka.actor.default-dispatcher-13] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower741] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [11/01/2025 00:43:24.780] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower740] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@20396ad0 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.780] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] 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:24,780 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower740] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [11/01/2025 00:43:24.780] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower742] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6a319d44 [INFO] [akkaDeadLetter][11/01/2025 00:43:24.780] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower742] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower742] 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:24,780 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower742] 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:24,870 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,870 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower742: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,870 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,992 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,992 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower742: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:24,992 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:25,109 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader739: leader transfer aborted 12:43:25,109 AM [test-akka.actor.default-dispatcher-6] [WARN] RaftActorLeadershipTransferCohort - leader739: Failed to transfer leadership in 330.9 ms 12:43:25,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739: leader transfer failed - sending PoisonPill 12:43:25,110 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader739 (Leader): Leadership transfer expired 12:43:25,110 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:25,110 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower741: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) 12:43:25,110 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower742: Lagging 0 entries behind leader leader739 and reached -1 (of expected -1) [WARN] [11/01/2025 00:43:25.110] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader739] received dead letter from TestActor[akka://test/user/follower740]: AppendEntriesReply [term=2, success=true, followerId=follower740, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [11/01/2025 00:43:25.110] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader739] received dead letter from TestActor[akka://test/user/follower741]: AppendEntriesReply [term=2, success=true, followerId=follower741, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [11/01/2025 00:43:25.111] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader739] received dead letter from TestActor[akka://test/user/follower742]: AppendEntriesReply [term=2, success=true, followerId=follower742, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:25,112 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader739 ending 12:43:25,113 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 12:43:25,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower740-notifier743#1347400344] 12:43:25,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower740-collector744#-1838164322] 12:43:25,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower740] 12:43:25,125 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower741-notifier745#1540907905] 12:43:25,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower741-collector746#1727903907] 12:43:25,126 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower741] 12:43:25,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower742-notifier747#1334683878] 12:43:25,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower742-collector748#689909977] 12:43:25,126 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower742] 12:43:25,127 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader739-notifier749#1881735128] 12:43:25,127 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader739-collector750#16154814] 12:43:25,127 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader739] 12:43:25,129 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 12:43:25,129 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:25.130] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower752]: org.opendaylight.controller.cluster.common.actor.Monitor@14b15767 12:43:25,131 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower752 with journal batch size 1000 12:43:25,132 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: SnapshotOffer called. 12:43:25,132 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from -1 to -1 12:43:25,132 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=1, votedFor=null 12:43:25,132 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Updated server config: isVoting: true, peers: [PeerInfo [id=leader751, address=akka://test/user/leader751, votingState=VOTING], PeerInfo [id=follower754, address=akka://test/user/follower754, votingState=NON_VOTING], PeerInfo [id=follower753, address=akka://test/user/follower753, votingState=VOTING]] 12:43:25,132 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower752 in 58.83 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:25.132] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower753]: org.opendaylight.controller.cluster.common.actor.Monitor@2e140765 12:43:25,133 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower753 with journal batch size 1000 12:43:25,133 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Recovery completed in 1.043 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:25,133 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: SnapshotOffer called. 12:43:25,133 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Moving last applied index from -1 to -1 12:43:25,133 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Set currentTerm=1, votedFor=null 12:43:25,133 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Updated server config: isVoting: true, peers: [PeerInfo [id=leader751, address=akka://test/user/leader751, votingState=VOTING], PeerInfo [id=follower754, address=akka://test/user/follower754, votingState=NON_VOTING], PeerInfo [id=follower752, address=akka://test/user/follower752, votingState=VOTING]] 12:43:25,133 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower753 in 66.37 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,134 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Recovery completed in 499.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:25.134] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower754]: org.opendaylight.controller.cluster.common.actor.Monitor@5a98d1d4 12:43:25,135 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower754 with journal batch size 1000 12:43:25,136 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: SnapshotOffer called. 12:43:25,136 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Moving last applied index from -1 to -1 12:43:25,136 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Set currentTerm=1, votedFor=null 12:43:25,136 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Updated server config: isVoting: false, peers: [PeerInfo [id=leader751, address=akka://test/user/leader751, votingState=VOTING], PeerInfo [id=follower753, address=akka://test/user/follower753, votingState=VOTING], PeerInfo [id=follower752, address=akka://test/user/follower752, votingState=VOTING]] 12:43:25,136 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower754 in 95.00 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,137 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Recovery completed in 741.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:25.236] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader751]: org.opendaylight.controller.cluster.common.actor.Monitor@461bfed5 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader751 with journal batch size 1000 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: SnapshotOffer called. 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Moving last applied index from -1 to -1 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Set currentTerm=1, votedFor=null 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Updated server config: isVoting: true, peers: [PeerInfo [id=follower754, address=akka://test/user/follower754, votingState=NON_VOTING], PeerInfo [id=follower753, address=akka://test/user/follower753, votingState=VOTING], PeerInfo [id=follower752, address=akka://test/user/follower752, votingState=VOTING]] 12:43:25,237 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader751 in 96.24 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,238 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Recovery completed in 732.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:25,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:25,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:25,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Follower): Received ElectionTimeout - switching to Candidate 12:43:25,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): Election: Candidate has following voting peers: [follower753, follower752] 12:43:25,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Set currentTerm=2, votedFor=leader751 12:43:25,631 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): Starting new election term 2 12:43:25,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): Sending RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] to peer follower753 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:25,631 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): Sending RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] to peer follower752 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): Cluster state: [] 12:43:25,631 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Cluster state: [] 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=2, votedFor=null 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): In requestVote: RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=2, votedFor=leader751 12:43:25,631 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Set currentTerm=2, votedFor=null 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): In requestVote: RequestVote [term=2, candidateId=leader751, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Set currentTerm=2, votedFor=leader751 12:43:25,631 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:25,632 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:25,632 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:25,633 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Election: Leader has following peers: [follower754, follower753, follower752] 12:43:25,633 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower754: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,633 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower753: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,633 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower754 (Follower): Term 2 in "AppendEntries [leaderId=leader751, 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:25,633 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Set currentTerm=2, votedFor=null 12:43:25,633 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower754: Last sync leader does not match current leader leader751, need to catch up to -1 12:43:25,633 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower753: Last sync leader does not match current leader leader751, need to catch up to -1 [WARN] [11/01/2025 00:43:25.633] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower753] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@759a3295 12:43:25,633 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,633 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:25,633 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower752: Last sync leader does not match current leader leader751, need to catch up to -1 [WARN] [11/01/2025 00:43:25.634] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7657b787 [WARN] [11/01/2025 00:43:25.634] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f24452c 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower753 updated: matchIndex: -1, nextIndex: 0 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower753: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower754 updated: matchIndex: -1, nextIndex: 0 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower754: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower752 updated: matchIndex: -1, nextIndex: 0 12:43:25,634 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,641 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:25,642 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:25,642 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:25,642 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:25,642 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:25,642 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: onRequestLeadership RequestLeadership [requestedFollowerId=follower753, replyTo=Actor[akka://test/user/$a#871365841]] 12:43:25,644 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Initiating leader transfer 12:43:25,644 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: onLeaderTransitioning: LeaderTransitioning [leaderId=leader751] 12:43:25,644 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader751: pauseLeader successfully completed - doing transfer 12:43:25,644 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: onLeaderTransitioning: LeaderTransitioning [leaderId=leader751] 12:43:25,644 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Attempting to transfer leadership 12:43:25,644 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower754: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,645 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower754: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) 12:43:25,645 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: onLeaderTransitioning: LeaderTransitioning [leaderId=leader751] 12:43:25,645 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower753: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,645 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:25.645] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4ee7079d 12:43:25,645 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower752: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) 12:43:25,645 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower753: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) [WARN] [11/01/2025 00:43:25.645] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@46c02acf [WARN] [11/01/2025 00:43:25.646] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower753] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c2bc73 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): tryToCompleteLeadershipTransfer: followerId: follower753, matchIndex: -1, lastIndex: -1, isVoting: true 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Follower's log matches - sending ElectionTimeout 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower754: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower753: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower753: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) 12:43:25,646 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower752: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) 12:43:25,646 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower754: Lagging 0 entries behind leader leader751 and reached -1 (of expected -1) 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Leader transfer complete 12:43:25,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader751: leader transfer complete - waiting for new leader 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower): Received TimeoutNow - switching to Candidate 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): Election: Candidate has following voting peers: [leader751, follower752] 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753: Set currentTerm=3, votedFor=follower753 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): Starting new election term 3 12:43:25,646 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): Sending RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] to peer leader751 12:43:25,647 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): Sending RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] to peer follower752 12:43:25,647 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Cluster state: [] 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=3, votedFor=null 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): In requestVote: RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=3, votedFor=follower753 12:43:25,647 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:25,647 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:25,647 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Cluster state: [] 12:43:25,647 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:25,647 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Set currentTerm=3, votedFor=null 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): Leadership transfer in progress - processing RequestVote 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): In requestVote: RequestVote [term=3, candidateId=follower753, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Set currentTerm=3, votedFor=follower753 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:25,648 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader751 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Election: Leader has following peers: [leader751, follower754, follower752] 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower leader751: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower follower754: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,648 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,648 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower754 (Follower): Term 3 in "AppendEntries [leaderId=follower753, 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:25,648 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:43:25,648 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower754: Set currentTerm=3, votedFor=null 12:43:25,648 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower752: Last sync leader does not match current leader follower753, need to catch up to -1 12:43:25,648 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower754: Last sync leader does not match current leader follower753, need to catch up to -1 [WARN] [11/01/2025 00:43:25.649] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@25fb6d21 [WARN] [11/01/2025 00:43:25.649] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower754] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@28c71801 12:43:25,649 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - leader751: Last sync leader does not match current leader follower753, need to catch up to -1 12:43:25,649 AM [test-akka.actor.default-dispatcher-8] [DEBUG] RaftActorLeadershipTransferCohort - leader751: leader changed to follower753 12:43:25,649 AM [test-akka.actor.default-dispatcher-8] [INFO] RaftActorLeadershipTransferCohort - leader751: Successfully transferred leadership to follower753 in 5.225 ms 12:43:25,649 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader751: Leadership transferred successfully to follower753 [WARN] [11/01/2025 00:43:25.650] [test-akka.actor.default-dispatcher-8] [akka://test/user/leader751] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69fae543 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower752 updated: matchIndex: -1, nextIndex: 0 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower754 updated: matchIndex: -1, nextIndex: 0 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower follower754: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader751 updated: matchIndex: -1, nextIndex: 0 12:43:25,650 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower753 (Leader): Checking sendAppendEntries for follower leader751: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:25,694 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 12:43:25,694 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower752-notifier755#748039949] 12:43:25,705 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower752-collector756#1021064181] 12:43:25,705 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower752] 12:43:25,705 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower753-notifier757#1143057634] 12:43:25,705 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower753-collector758#-613169727] 12:43:25,705 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower753] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower754-notifier759#236447657] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower754-collector760#-1426317356] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower754] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader751-notifier761#-1367483377] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader751-collector762#963501986] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader751] 12:43:25,706 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#871365841] 12:43:25,708 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 12:43:25,708 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:25.711] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower764]: org.opendaylight.controller.cluster.common.actor.Monitor@5779ec42 12:43:25,711 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower764 with journal batch size 1000 12:43:25,711 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: SnapshotOffer called. 12:43:25,711 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Moving last applied index from -1 to -1 12:43:25,711 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Set currentTerm=1, votedFor=null 12:43:25,712 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Updated server config: isVoting: true, peers: [PeerInfo [id=leader763, address=akka://test/user/leader763, votingState=VOTING], PeerInfo [id=follower766, address=akka://test/user/follower766, votingState=NON_VOTING], PeerInfo [id=follower765, address=akka://test/user/follower765, votingState=VOTING]] 12:43:25,712 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower764 in 108.0 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:25.712] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower765]: org.opendaylight.controller.cluster.common.actor.Monitor@209e47d3 12:43:25,712 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower765 with journal batch size 1000 12:43:25,712 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Recovery completed in 939.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:25,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: SnapshotOffer called. 12:43:25,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Moving last applied index from -1 to -1 12:43:25,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Set currentTerm=1, votedFor=null 12:43:25,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Updated server config: isVoting: true, peers: [PeerInfo [id=leader763, address=akka://test/user/leader763, votingState=VOTING], PeerInfo [id=follower766, address=akka://test/user/follower766, votingState=NON_VOTING], PeerInfo [id=follower764, address=akka://test/user/follower764, votingState=VOTING]] 12:43:25,713 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower765 in 104.7 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,714 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Recovery completed in 852.2 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:25.715] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower766]: org.opendaylight.controller.cluster.common.actor.Monitor@1e2017e0 12:43:25,715 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower766 with journal batch size 1000 12:43:25,716 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: SnapshotOffer called. 12:43:25,716 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Moving last applied index from -1 to -1 12:43:25,716 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Set currentTerm=1, votedFor=null 12:43:25,716 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Updated server config: isVoting: false, peers: [PeerInfo [id=leader763, address=akka://test/user/leader763, votingState=VOTING], PeerInfo [id=follower765, address=akka://test/user/follower765, votingState=VOTING], PeerInfo [id=follower764, address=akka://test/user/follower764, votingState=VOTING]] 12:43:25,716 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower766 in 43.36 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,716 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Recovery completed in 478.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:25.717] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader763]: org.opendaylight.controller.cluster.common.actor.Monitor@2f6ff49 12:43:25,717 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader763 with journal batch size 1000 12:43:25,717 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: SnapshotOffer called. 12:43:25,717 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Moving last applied index from -1 to -1 12:43:25,717 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Set currentTerm=1, votedFor=null 12:43:25,717 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Updated server config: isVoting: true, peers: [PeerInfo [id=follower766, address=akka://test/user/follower766, votingState=NON_VOTING], PeerInfo [id=follower765, address=akka://test/user/follower765, votingState=VOTING], PeerInfo [id=follower764, address=akka://test/user/follower764, votingState=VOTING]] 12:43:25,717 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader763 in 38.73 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:25,718 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Recovery completed in 422.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:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Follower): Received ElectionTimeout - switching to Candidate 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): Election: Candidate has following voting peers: [follower765, follower764] 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Set currentTerm=2, votedFor=leader763 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): Starting new election term 2 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): Sending RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] to peer follower765 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): Sending RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] to peer follower764 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): Cluster state: [] 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Set currentTerm=2, votedFor=null 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): Cluster state: [] 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): In requestVote: RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Set currentTerm=2, votedFor=null 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: Set currentTerm=2, votedFor=leader763 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): In requestVote: RequestVote [term=2, candidateId=leader763, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: Set currentTerm=2, votedFor=leader763 12:43:26,90 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:26,90 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:26,91 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:26,91 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:26,91 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Election: Leader has following peers: [follower766, follower765, follower764] 12:43:26,91 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower766: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower765: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower764: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:26,92 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Term 2 in "AppendEntries [leaderId=leader763, 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:26,92 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Set currentTerm=2, votedFor=null 12:43:26,92 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower764: Last sync leader does not match current leader leader763, need to catch up to -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower766 updated: matchIndex: -1, nextIndex: 0 12:43:26,92 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower764 updated: matchIndex: -1, nextIndex: 0 12:43:26,92 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower764: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:26.092] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower764] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66a1ed17 12:43:26,92 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower766: Last sync leader does not match current leader leader763, need to catch up to -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower765: Last sync leader does not match current leader leader763, need to catch up to -1 12:43:26,92 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower765 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/01/2025 00:43:26.092] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower765] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33f4214d 12:43:26,92 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower765: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:26.092] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower766] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@586e14ff 12:43:26,121 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:26,121 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:26,122 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:26,122 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower765 starting 12:43:26,123 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower765: onShutDown 12:43:26,123 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower765 ending 12:43:26,123 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:26,123 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:26,123 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: onRequestLeadership RequestLeadership [requestedFollowerId=follower765, replyTo=Actor[akka://test/user/$b#646349862]] 12:43:26,123 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: Initiating leader transfer 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader763: pauseLeader successfully completed - doing transfer 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Attempting to transfer leadership 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower765: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Checking sendAppendEntries for follower follower764: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: onLeaderTransitioning: LeaderTransitioning [leaderId=leader763] [WARN] [11/01/2025 00:43:26.124] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower765] received dead letter from TestActor[akka://test/user/leader763]: LeaderTransitioning [leaderId=leader763] [WARN] [11/01/2025 00:43:26.124] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower765] received dead letter from TestActor[akka://test/user/leader763]: AppendEntries [leaderId=leader763, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:43:26.124] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower766] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6bb6dbc7 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower764: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) 12:43:26,124 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower764: onLeaderTransitioning: LeaderTransitioning [leaderId=leader763] [WARN] [11/01/2025 00:43:26.125] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower764] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@40d9d404 [WARN] [11/01/2025 00:43:26.210] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower765] received dead letter from TestActor[akka://test/user/leader763]: AppendEntries [leaderId=leader763, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:26,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) 12:43:26,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower764: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) [WARN] [11/01/2025 00:43:26.330] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower765] received dead letter from TestActor[akka://test/user/leader763]: AppendEntries [leaderId=leader763, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:26,449 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader763: leader transfer aborted 12:43:26,449 AM [test-akka.actor.default-dispatcher-17] [WARN] RaftActorLeadershipTransferCohort - leader763: Failed to transfer leadership in 326.0 ms 12:43:26,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763: LeadershipTransfer request from follower765 failed 12:43:26,450 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader763 (Leader): Leadership transfer expired [WARN] [11/01/2025 00:43:26.451] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower765] received dead letter from TestActor[akka://test/user/leader763]: AppendEntries [leaderId=leader763, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:26,450 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) 12:43:26,451 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower764: Lagging 0 entries behind leader leader763 and reached -1 (of expected -1) 12:43:26,478 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 12:43:26,478 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower764-notifier767#561523883] 12:43:26,489 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower764-collector768#1201581084] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower764] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower765-notifier769#1608021869] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower765-collector770#816340624] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower765] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower766-notifier771#729262850] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower766-collector772#1827810898] 12:43:26,490 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower766] 12:43:26,491 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader763-notifier773#-2031181429] 12:43:26,491 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader763-collector774#1252551557] 12:43:26,491 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader763] 12:43:26,491 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#646349862] 12:43:26,492 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 12:43:26,492 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:26.493] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower776]: org.opendaylight.controller.cluster.common.actor.Monitor@243b5fba 12:43:26,494 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower776 with journal batch size 1000 12:43:26,494 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: SnapshotOffer called. 12:43:26,494 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Moving last applied index from -1 to -1 12:43:26,494 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Set currentTerm=1, votedFor=null 12:43:26,494 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Updated server config: isVoting: true, peers: [PeerInfo [id=follower777, address=akka://test/user/follower777, votingState=VOTING], PeerInfo [id=leader775, address=akka://test/user/leader775, votingState=VOTING], PeerInfo [id=follower778, address=akka://test/user/follower778, votingState=NON_VOTING]] 12:43:26,495 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower776 in 83.16 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:26.495] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower777]: org.opendaylight.controller.cluster.common.actor.Monitor@616db05f 12:43:26,495 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower777 with journal batch size 1000 12:43:26,496 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Recovery completed in 1.154 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:26,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: SnapshotOffer called. 12:43:26,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Moving last applied index from -1 to -1 12:43:26,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Set currentTerm=1, votedFor=null 12:43:26,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Updated server config: isVoting: true, peers: [PeerInfo [id=follower776, address=akka://test/user/follower776, votingState=VOTING], PeerInfo [id=leader775, address=akka://test/user/leader775, votingState=VOTING], PeerInfo [id=follower778, address=akka://test/user/follower778, votingState=NON_VOTING]] [WARN] [11/01/2025 00:43:26.497] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower778]: org.opendaylight.controller.cluster.common.actor.Monitor@63ed433c 12:43:26,497 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower778 with journal batch size 1000 12:43:26,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: SnapshotOffer called. 12:43:26,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from -1 to -1 12:43:26,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Set currentTerm=1, votedFor=null 12:43:26,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Updated server config: isVoting: false, peers: [PeerInfo [id=follower777, address=akka://test/user/follower777, votingState=VOTING], PeerInfo [id=follower776, address=akka://test/user/follower776, votingState=VOTING], PeerInfo [id=leader775, address=akka://test/user/leader775, votingState=VOTING]] 12:43:26,498 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower778 in 31.77 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:26.498] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader775]: org.opendaylight.controller.cluster.common.actor.Monitor@4dc3b3a5 12:43:26,496 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower777 in 52.36 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:26,499 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader775 with journal batch size 1000 12:43:26,499 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: SnapshotOffer called. 12:43:26,499 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Moving last applied index from -1 to -1 12:43:26,499 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Set currentTerm=1, votedFor=null 12:43:26,499 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Updated server config: isVoting: true, peers: [PeerInfo [id=follower777, address=akka://test/user/follower777, votingState=VOTING], PeerInfo [id=follower776, address=akka://test/user/follower776, votingState=VOTING], PeerInfo [id=follower778, address=akka://test/user/follower778, votingState=NON_VOTING]] 12:43:26,499 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader775 in 38.54 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:26,499 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Recovery completed in 654.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:26,499 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Recovery completed in 3.179 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:26,499 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Recovery completed in 489.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:26,860 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:26,860 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:26,860 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Follower): Received ElectionTimeout - switching to Candidate 12:43:26,860 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): Election: Candidate has following voting peers: [follower777, follower776] 12:43:26,860 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Set currentTerm=2, votedFor=leader775 12:43:26,860 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): Starting new election term 2 12:43:26,861 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): Sending RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] to peer follower777 12:43:26,861 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): Sending RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] to peer follower776 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:26,861 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Cluster state: [] 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Set currentTerm=2, votedFor=null 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Cluster state: [] 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Set currentTerm=2, votedFor=null 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): In requestVote: RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Set currentTerm=2, votedFor=leader775 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): In requestVote: RequestVote [term=2, candidateId=leader775, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Set currentTerm=2, votedFor=leader775 12:43:26,861 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:26,861 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Election: Leader has following peers: [follower777, follower776, follower778] 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower777: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:26,862 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Term 2 in "AppendEntries [leaderId=leader775, 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:26,862 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Set currentTerm=2, votedFor=null 12:43:26,863 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower778: Last sync leader does not match current leader leader775, need to catch up to -1 12:43:26,863 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: -1, nextIndex: 0 12:43:26,863 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,863 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower777: Last sync leader does not match current leader leader775, need to catch up to -1 12:43:26,863 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower776: Last sync leader does not match current leader leader775, need to catch up to -1 12:43:26,863 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower777 updated: matchIndex: -1, nextIndex: 0 12:43:26,863 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower777: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:26,863 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower776 updated: matchIndex: -1, nextIndex: 0 12:43:26,863 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:26.863] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower777] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1096bf75 [WARN] [11/01/2025 00:43:26.864] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower776] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@506bf527 [WARN] [11/01/2025 00:43:26.864] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6971e867 12:43:26,901 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:26,901 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower777: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Sending AppendEntries to follower follower777: AppendEntries [leaderId=leader775, 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:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower776 12:43:26,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Sending AppendEntries to follower follower776: AppendEntries [leaderId=leader775, 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:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower778 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Sending AppendEntries to follower follower778: AppendEntries [leaderId=leader775, 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:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries: AppendEntries [leaderId=leader775, 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:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries: AppendEntries [leaderId=leader775, 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:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Number of entries to be appended = 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Number of entries to be appended = 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Append entry to log zero 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Append entry to log zero 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Log size is now 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Log size is now 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower778, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower776, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:26,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader775 and reached -1 (of expected -1) 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader775 and reached -1 (of expected -1) 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 0, nextIndex: 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower776 updated: matchIndex: 0, nextIndex: 1 12:43:26,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:26,902 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Setting last applied to 0 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Moving last applied index from -1 to 0 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Applying state for log index 0 data zero 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: applyState called: zero 12:43:26,903 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Persisting ApplyJournalEntries with index=0 12:43:26,903 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:26,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [11/01/2025 00:43:26.903] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower776] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@247994b1 [WARN] [11/01/2025 00:43:26.903] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a880964 12:43:26,979 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:26,979 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Sending AppendEntries to follower follower777: AppendEntries [leaderId=leader775, 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:27,100 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:27,100 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Sending AppendEntries to follower follower777: AppendEntries [leaderId=leader775, 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:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Commit index set to 0 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Setting last applied to 0 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Moving last applied index from -1 to 0 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Applying state for log index 0 data zero 12:43:27,100 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: applyState called: zero 12:43:27,101 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Persisting ApplyJournalEntries with index=0 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Commit index set to 0 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Setting last applied to 0 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Moving last applied index from -1 to 0 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Applying state for log index 0 data zero 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: applyState called: zero 12:43:27,101 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Persisting ApplyJournalEntries with index=0 12:43:27,102 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 12:43:27,102 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 12:43:27,102 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: onShutDown 12:43:27,102 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Initiating leader transfer 12:43:27,103 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: onLeaderTransitioning: LeaderTransitioning [leaderId=leader775] 12:43:27,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: onLeaderTransitioning: LeaderTransitioning [leaderId=leader775] 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader775: pauseLeader successfully completed - doing transfer 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Attempting to transfer leadership 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower777: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): tryToCompleteLeadershipTransfer: followerId: follower778, matchIndex: 0, lastIndex: 0, isVoting: false 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): tryToCompleteLeadershipTransfer: followerId: follower776, matchIndex: 0, lastIndex: 0, isVoting: true 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Follower's log matches - sending ElectionTimeout 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower777: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Leader transfer complete 12:43:27,103 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,103 AM [test-akka.actor.default-dispatcher-7] [DEBUG] RaftActorLeadershipTransferCohort - leader775: leader transfer complete - waiting for new leader 12:43:27,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader775 and reached 0 (of expected -1) 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Received TimeoutNow - switching to Candidate 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): Election: Candidate has following voting peers: [follower777, leader775] 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Set currentTerm=3, votedFor=follower776 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): Starting new election term 3 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): Sending RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] to peer follower777 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Cluster state: [] 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Set currentTerm=3, votedFor=null 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): In requestVote: RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Set currentTerm=3, votedFor=follower776 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:27,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): Sending RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] to peer leader775 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Cluster state: [] 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 12:43:27,104 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Set currentTerm=3, votedFor=null 12:43:27,105 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): Leadership transfer in progress - processing RequestVote 12:43:27,105 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): In requestVote: RequestVote [term=3, candidateId=follower776, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 12:43:27,105 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: Set currentTerm=3, votedFor=follower776 12:43:27,105 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:27,105 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader775 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:27,105 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Election: Leader has following peers: [follower777, leader775, follower778] 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower follower777: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower leader775: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower follower778: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader775: Last sync leader does not match current leader follower776, need to catch up to -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:43:27,106 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower778 (Follower): Term 3 in "AppendEntries [leaderId=follower776, 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:27,106 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower778: Set currentTerm=3, votedFor=null 12:43:27,106 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower778: Last sync leader does not match current leader follower776, need to catch up to -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader775: leader changed to follower776 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader775 updated: matchIndex: 0, nextIndex: 1 12:43:27,106 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower leader775: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,106 AM [test-akka.actor.default-dispatcher-6] [INFO] RaftActorLeadershipTransferCohort - leader775: Successfully transferred leadership to follower776 in 4.042 ms 12:43:27,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader775: leader transfer succeeded - sending PoisonPill 12:43:27,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader775: Lagging 0 entries behind leader follower776 and reached 0 (of expected -1) 12:43:27,107 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower778 updated: matchIndex: 0, nextIndex: 1 12:43:27,107 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower follower778: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:27.107] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader775] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6666cc22 [WARN] [11/01/2025 00:43:27.107] [test-akka.actor.default-dispatcher-8] [akka://test/user/leader775] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@467005c9 [WARN] [11/01/2025 00:43:27.107] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4545b941 12:43:27,107 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader follower776 and reached 0 (of expected -1) [WARN] [11/01/2025 00:43:27.107] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower778] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bc9dd8c 12:43:27,620 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower777: Last sync leader does not match current leader follower776, need to catch up to -1 [WARN] [11/01/2025 00:43:27.620] [test-akka.actor.default-dispatcher-7] [akka://test/user/leader775] received dead letter from TestActor[akka://test/user/follower776]: AppendEntries [leaderId=follower776, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [11/01/2025 00:43:27.620] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower777] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47ba10b1 12:43:27,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower778: Lagging 0 entries behind leader follower776 and reached 0 (of expected -1) 12:43:27,620 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): sendAppendEntries: 0 is present for follower follower777 12:43:27,620 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Sending AppendEntries to follower follower777: AppendEntries [leaderId=follower776, 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:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): handleAppendEntries: AppendEntries [leaderId=follower776, 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:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Number of entries to be appended = 1 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Append entry to log zero 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Log size is now 1 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Commit index set to 0 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower777, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower777: Lagging 0 entries behind leader follower776 and reached 0 (of expected -1) 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777 (Follower): Setting last applied to 0 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Moving last applied index from -1 to 0 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Applying state for log index 0 data zero 12:43:27,621 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: applyState called: zero 12:43:27,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower777 updated: matchIndex: 0, nextIndex: 1 12:43:27,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Leader): Checking sendAppendEntries for follower follower777: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:27,622 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:27,622 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: Persisting ApplyJournalEntries with index=0 [WARN] [11/01/2025 00:43:27.622] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower777] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@512ed261 12:43:27,657 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: onLeaderTransitioning: LeaderTransitioning [leaderId=leader775] 12:43:27,657 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 12:43:27,657 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower777 starting 12:43:27,657 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower777: onShutDown 12:43:27,658 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower777 ending 12:43:27,658 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 12:43:27,658 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower776-notifier779#-1691844368] 12:43:27,668 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower776-collector780#2040668906] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower776] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower777-notifier781#420054572] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower777-collector782#902988293] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower777] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower778-notifier783#1398051996] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower778-collector784#117912182] 12:43:27,669 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower778] 12:43:27,670 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader775-notifier785#238408661] 12:43:27,670 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader775-collector786#-1120907303] 12:43:27,670 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader775] 12:43:27,672 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [11/01/2025 00:43:27.673] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader787]: org.opendaylight.controller.cluster.common.actor.Monitor@7419df98 12:43:27,674 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader787 with journal batch size 1000 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader787: 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:27,675 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Follower): Received TimeoutNow - switching to Candidate 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Candidate): Election: Candidate has following voting peers: [] 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787: Set currentTerm=1, votedFor=leader787 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Candidate): Starting new election term 1 12:43:27,675 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:27,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Candidate): Received ElectionTimeout 12:43:27,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Leader): Election: Leader has following peers: [] 12:43:27,676 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader787 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:43:27,676 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader787 starting 12:43:27,677 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader787: onShutDown 12:43:27,677 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader787 ending 12:43:27,678 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 12:43:27,678 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader787-collector791#542536719] 12:43:27,678 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader787] 12:43:27,679 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 12:43:27,679 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:27.683] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower793]: org.opendaylight.controller.cluster.common.actor.Monitor@2f6a6d23 12:43:27,684 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower793 with journal batch size 1000 12:43:27,684 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: SnapshotOffer called. 12:43:27,684 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from -1 to -1 12:43:27,684 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Set currentTerm=1, votedFor=null 12:43:27,684 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Updated server config: isVoting: true, peers: [PeerInfo [id=follower795, address=akka://test/user/follower795, votingState=NON_VOTING], PeerInfo [id=follower794, address=akka://test/user/follower794, votingState=VOTING], PeerInfo [id=leader792, address=akka://test/user/leader792, votingState=VOTING]] 12:43:27,685 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower793 in 70.74 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:27.685] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower794]: org.opendaylight.controller.cluster.common.actor.Monitor@188e62be 12:43:27,685 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Recovery completed in 610.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:27,685 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower794 with journal batch size 1000 12:43:27,686 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SnapshotOffer called. 12:43:27,686 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from -1 to -1 12:43:27,686 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Set currentTerm=1, votedFor=null 12:43:27,686 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Updated server config: isVoting: true, peers: [PeerInfo [id=follower795, address=akka://test/user/follower795, votingState=NON_VOTING], PeerInfo [id=leader792, address=akka://test/user/leader792, votingState=VOTING], PeerInfo [id=follower793, address=akka://test/user/follower793, votingState=VOTING]] 12:43:27,686 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower794 in 70.19 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:27,686 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Recovery completed in 654.3 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:27.687] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower795]: org.opendaylight.controller.cluster.common.actor.Monitor@445ec27 12:43:27,687 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower795 with journal batch size 1000 12:43:27,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: SnapshotOffer called. 12:43:27,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Moving last applied index from -1 to -1 12:43:27,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Set currentTerm=1, votedFor=null 12:43:27,687 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Updated server config: isVoting: false, peers: [PeerInfo [id=follower794, address=akka://test/user/follower794, votingState=VOTING], PeerInfo [id=leader792, address=akka://test/user/leader792, votingState=VOTING], PeerInfo [id=follower793, address=akka://test/user/follower793, votingState=VOTING]] 12:43:27,688 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower795 in 197.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:27.688] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader792]: org.opendaylight.controller.cluster.common.actor.Monitor@663e6b61 12:43:27,688 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Recovery completed in 698.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:27,688 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader792 with journal batch size 1000 12:43:27,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotOffer called. 12:43:27,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from -1 to -1 12:43:27,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Set currentTerm=1, votedFor=null 12:43:27,689 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Updated server config: isVoting: true, peers: [PeerInfo [id=follower795, address=akka://test/user/follower795, votingState=NON_VOTING], PeerInfo [id=follower794, address=akka://test/user/follower794, votingState=VOTING], PeerInfo [id=follower793, address=akka://test/user/follower793, votingState=VOTING]] 12:43:27,689 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader792 in 46.44 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:27,689 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Recovery completed in 517.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:28,9 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower): Received ElectionTimeout - switching to Candidate 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Election: Candidate has following voting peers: [follower794, follower793] 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Set currentTerm=2, votedFor=leader792 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Starting new election term 2 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Sending RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] to peer follower794 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Sending RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] to peer follower793 12:43:28,10 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Cluster state: [] 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Set currentTerm=2, votedFor=null 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): In requestVote: RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Set currentTerm=2, votedFor=leader792 12:43:28,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Cluster state: [] 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Set currentTerm=2, votedFor=null 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): In requestVote: RequestVote [term=2, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Set currentTerm=2, votedFor=leader792 12:43:28,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Election: Leader has following peers: [follower795, follower794, follower793] 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower795: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:28,11 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:28,11 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Term 2 in "AppendEntries [leaderId=leader792, 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:28,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Set currentTerm=2, votedFor=null 12:43:28,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower795: Last sync leader does not match current leader leader792, need to catch up to -1 12:43:28,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower795 updated: matchIndex: -1, nextIndex: 0 12:43:28,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower795: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:28,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower794 updated: matchIndex: -1, nextIndex: 0 12:43:28,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower794: Last sync leader does not match current leader leader792, need to catch up to -1 12:43:28,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:28,12 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower793: Last sync leader does not match current leader leader792, need to catch up to -1 12:43:28,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/01/2025 00:43:28.012] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower794] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@454fb873 12:43:28,12 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:28.012] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower793] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e7bffcd [WARN] [11/01/2025 00:43:28.012] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower795] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3b3de143 12:43:28,42 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:28,42 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:28,42 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:28,42 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 12:43:28,42 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,42 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower795: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower795 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower795: AppendEntries [leaderId=leader792, 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:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower794 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower794: AppendEntries [leaderId=leader792, 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:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): handleAppendEntries: AppendEntries [leaderId=leader792, 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:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower793 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Number of entries to be appended = 1 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries [leaderId=leader792, 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:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Append entry to log zero 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Log size is now 1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries [leaderId=leader792, 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:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower795, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower795: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log zero 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower793, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:28,43 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower795 updated: matchIndex: 0, nextIndex: 1 12:43:28,43 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:43:28,44 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower795: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,44 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 0, nextIndex: 1 12:43:28,44 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:28,44 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 0 12:43:28,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from -1 to 0 12:43:28,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 0 data zero 12:43:28,44 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 12:43:28,45 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: zero [WARN] [11/01/2025 00:43:28.044] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower795] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33ce8aca [WARN] [11/01/2025 00:43:28.045] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower793] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6090af7b 12:43:28,45 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting ApplyJournalEntries with index=0 12:43:28,130 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower794 12:43:28,130 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower794: AppendEntries [leaderId=leader792, 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:28,249 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower794 12:43:28,249 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Commit index set to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower794: AppendEntries [leaderId=leader792, 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:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower795: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795 (Follower): Setting last applied to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Moving last applied index from -1 to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Applying state for log index 0 data zero 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from -1 to 0 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 0 data zero 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: applyState called: zero 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: zero 12:43:28,250 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Persisting ApplyJournalEntries with index=0 12:43:28,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: Persisting ApplyJournalEntries with index=0 12:43:28,295 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 12:43:28,295 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:28,295 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: onRequestLeadership RequestLeadership [requestedFollowerId=follower794, replyTo=Actor[akka://test/user/$c#-1046346541]] 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating leader transfer 12:43:28,296 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: onLeaderTransitioning: LeaderTransitioning [leaderId=leader792] 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader792: pauseLeader successfully completed - doing transfer 12:43:28,296 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower795: onLeaderTransitioning: LeaderTransitioning [leaderId=leader792] 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Attempting to transfer leadership 12:43:28,296 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: onLeaderTransitioning: LeaderTransitioning [leaderId=leader792] 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower795: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower794 12:43:28,296 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:28,296 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower795: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,297 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,490 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower795: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,610 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader792: leader transfer aborted 12:43:28,610 AM [test-akka.actor.default-dispatcher-6] [WARN] RaftActorLeadershipTransferCohort - leader792: Failed to transfer leadership in 314.0 ms 12:43:28,610 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: LeadershipTransfer request from follower794 failed 12:43:28,610 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Leadership transfer expired 12:43:28,610 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,610 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower795: Lagging 0 entries behind leader leader792 and reached 0 (of expected -1) 12:43:28,648 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 12:43:28,648 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower793-notifier796#-1414763136] 12:43:28,659 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower793-collector797#-185724332] 12:43:28,659 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower793] 12:43:28,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower794-notifier798#-154528959] 12:43:28,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower794-collector799#-2096374816] 12:43:28,660 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower794] 12:43:28,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower795-notifier800#1510308544] 12:43:28,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower795-collector801#81352491] 12:43:28,661 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower795] 12:43:28,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader792-notifier802#-1926245660] 12:43:28,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader792-collector803#-1260770639] 12:43:28,661 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader792] 12:43:28,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#-1046346541] 12:43:28,662 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 12:43:28,662 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [11/01/2025 00:43:28.665] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower805]: org.opendaylight.controller.cluster.common.actor.Monitor@3e759fb1 12:43:28,665 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower805 with journal batch size 1000 12:43:28,666 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: SnapshotOffer called. 12:43:28,666 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from -1 to -1 12:43:28,666 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Set currentTerm=1, votedFor=null 12:43:28,666 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Updated server config: isVoting: true, peers: [PeerInfo [id=leader804, address=akka://test/user/leader804, votingState=VOTING], PeerInfo [id=follower807, address=akka://test/user/follower807, votingState=NON_VOTING], PeerInfo [id=follower806, address=akka://test/user/follower806, votingState=VOTING]] 12:43:28,666 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower805 in 84.46 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:28,667 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Recovery completed in 937.7 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/01/2025 00:43:28.667] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower806]: org.opendaylight.controller.cluster.common.actor.Monitor@1093f15e 12:43:28,667 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower806 with journal batch size 1000 12:43:28,668 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: SnapshotOffer called. 12:43:28,668 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Moving last applied index from -1 to -1 12:43:28,668 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Set currentTerm=1, votedFor=null 12:43:28,668 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Updated server config: isVoting: true, peers: [PeerInfo [id=follower805, address=akka://test/user/follower805, votingState=VOTING], PeerInfo [id=leader804, address=akka://test/user/leader804, votingState=VOTING], PeerInfo [id=follower807, address=akka://test/user/follower807, votingState=NON_VOTING]] 12:43:28,668 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower806 in 62.37 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:28.668] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower807]: org.opendaylight.controller.cluster.common.actor.Monitor@334549b5 12:43:28,668 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Recovery completed in 573.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:28,669 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower807 with journal batch size 1000 12:43:28,669 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: SnapshotOffer called. 12:43:28,669 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: Moving last applied index from -1 to -1 12:43:28,669 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: Set currentTerm=1, votedFor=null 12:43:28,669 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: Updated server config: isVoting: false, peers: [PeerInfo [id=follower805, address=akka://test/user/follower805, votingState=VOTING], PeerInfo [id=leader804, address=akka://test/user/leader804, votingState=VOTING], PeerInfo [id=follower806, address=akka://test/user/follower806, votingState=VOTING]] 12:43:28,669 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower807 in 36.68 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [11/01/2025 00:43:28.669] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader804]: org.opendaylight.controller.cluster.common.actor.Monitor@2832efa6 12:43:28,670 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: Recovery completed in 467.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader804 with journal batch size 1000 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: SnapshotOffer called. 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Moving last applied index from -1 to -1 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Set currentTerm=1, votedFor=null 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Updated server config: isVoting: true, peers: [PeerInfo [id=follower805, address=akka://test/user/follower805, votingState=VOTING], PeerInfo [id=follower807, address=akka://test/user/follower807, votingState=NON_VOTING], PeerInfo [id=follower806, address=akka://test/user/follower806, votingState=VOTING]] 12:43:28,670 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader804 in 35.48 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 12:43:28,671 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Recovery completed in 579.1 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:29,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:29,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.14:25520, Removed) 12:43:29,80 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Follower): Received ElectionTimeout - switching to Candidate 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): Election: Candidate has following voting peers: [follower805, follower806] 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Set currentTerm=2, votedFor=leader804 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): Starting new election term 2 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): Sending RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] to peer follower805 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): Sending RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] to peer follower806 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:29,81 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Cluster state: [] 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Set currentTerm=2, votedFor=null 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): Cluster state: [] 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Set currentTerm=2, votedFor=null 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): In requestVote: RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Set currentTerm=2, votedFor=leader804 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): In requestVote: RequestVote [term=2, candidateId=leader804, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Set currentTerm=2, votedFor=leader804 12:43:29,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:29,81 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:43:29,82 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:43:29,82 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:43:29,82 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Election: Leader has following peers: [follower805, follower807, follower806] 12:43:29,82 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower805: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,82 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower807: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower806: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower805: Last sync leader does not match current leader leader804, need to catch up to -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower807 (Follower): Term 2 in "AppendEntries [leaderId=leader804, 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:29,83 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower807: Set currentTerm=2, votedFor=null 12:43:29,83 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower806: Last sync leader does not match current leader leader804, need to catch up to -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower807: Last sync leader does not match current leader leader804, need to catch up to -1 [WARN] [11/01/2025 00:43:29.083] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower805] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@165c6b1d [WARN] [11/01/2025 00:43:29.083] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower806] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@480422a2 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: -1, nextIndex: 0 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower806 updated: matchIndex: -1, nextIndex: 0 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower806: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower807 updated: matchIndex: -1, nextIndex: 0 12:43:29,83 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower807: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.083] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower807] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@510eb737 12:43:29,124 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 12:43:29,124 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 12:43:29,125 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 12:43:29,125 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower805] 12:43:29,136 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower807] 12:43:29,146 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 12:43:29,146 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 12:43:29,146 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: onRequestLeadership RequestLeadership [requestedFollowerId=follower806, replyTo=Actor[akka://test/user/$d#-1277680394]] 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Initiating leader transfer 12:43:29,147 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: onLeaderTransitioning: LeaderTransitioning [leaderId=leader804] [WARN] [11/01/2025 00:43:29.147] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower805] received dead letter from TestActor[akka://test/user/leader804]: LeaderTransitioning [leaderId=leader804] 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] RaftActorLeadershipTransferCohort - leader804: pauseLeader successfully completed - doing transfer [WARN] [11/01/2025 00:43:29.147] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower807] received dead letter from TestActor[akka://test/user/leader804]: LeaderTransitioning [leaderId=leader804] 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Attempting to transfer leadership 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower807: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.147] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower805] received dead letter from TestActor[akka://test/user/leader804]: AppendEntries [leaderId=leader804, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,147 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower806: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.147] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower807] received dead letter from TestActor[akka://test/user/leader804]: AppendEntries [leaderId=leader804, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower806: Lagging 0 entries behind leader leader804 and reached -1 (of expected -1) 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): tryToCompleteLeadershipTransfer: followerId: follower806, matchIndex: -1, lastIndex: -1, isVoting: true 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Follower's log matches - sending ElectionTimeout [WARN] [11/01/2025 00:43:29.148] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower806] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d1bc2cd 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower807: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.148] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower805] received dead letter from TestActor[akka://test/user/leader804]: AppendEntries [leaderId=leader804, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Checking sendAppendEntries for follower follower806: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Leader transfer complete 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader804: leader transfer complete - waiting for new leader [WARN] [11/01/2025 00:43:29.148] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower807] received dead letter from TestActor[akka://test/user/leader804]: AppendEntries [leaderId=leader804, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower806: Lagging 0 entries behind leader leader804 and reached -1 (of expected -1) 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:29,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower): Received TimeoutNow - switching to Candidate 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): Election: Candidate has following voting peers: [follower805, leader804] 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806: Set currentTerm=3, votedFor=follower806 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): Starting new election term 3 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): Sending RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1] to peer follower805 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): Sending RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1] to peer leader804 12:43:29,149 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [11/01/2025 00:43:29.150] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower805] received dead letter from TestActor[akka://test/user/follower806]: RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1] 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Cluster state: [] 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Set currentTerm=3, votedFor=null 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): Leadership transfer in progress - processing RequestVote 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): In requestVote: RequestVote [term=3, candidateId=follower806, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Set currentTerm=3, votedFor=follower806 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 12:43:29,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 12:43:29,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 12:43:29,150 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader804 (Leader) :- Switching from behavior Leader to Follower, election term: 3 12:43:29,150 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): Election: Leader has following peers: [follower805, leader804, follower807] 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): Checking sendAppendEntries for follower follower805: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): Checking sendAppendEntries for follower leader804: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.151] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower805] received dead letter from TestActor[akka://test/user/follower806]: AppendEntries [leaderId=follower806, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): Checking sendAppendEntries for follower follower807: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/01/2025 00:43:29.151] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower807] received dead letter from TestActor[akka://test/user/follower806]: AppendEntries [leaderId=follower806, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:29,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader804: Last sync leader does not match current leader follower806, need to catch up to -1 12:43:29,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader804: leader changed to follower806 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 12:43:29,151 AM [test-akka.actor.default-dispatcher-17] [INFO] RaftActorLeadershipTransferCohort - leader804: Successfully transferred leadership to follower806 in 4.564 ms 12:43:29,151 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader804: Leadership transferred successfully to follower806 [WARN] [11/01/2025 00:43:29.151] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader804] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@217c095e 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader804 updated: matchIndex: -1, nextIndex: 0 12:43:29,151 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower806 (Leader): Checking sendAppendEntries for follower leader804: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:29,198 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 12:43:29,198 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower805-notifier808#1526585817] 12:43:29,199 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower805-collector809#444136916] 12:43:29,199 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower806-notifier810#-571859076] 12:43:29,199 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower806-collector811#-1062845744] 12:43:29,199 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower806] 12:43:29,199 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower807-notifier812#-138047610] 12:43:29,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower807-collector813#-1235112186] 12:43:29,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader804-notifier814#1198892192] 12:43:29,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader804-collector815#-1586033690] 12:43:29,200 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader804] 12:43:29,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#-1277680394] [INFO] [11/01/2025 00:43:29.201] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:43:29,202 AM [test-akka.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/01/2025 00:43:29.203] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.14:25520) [INFO] [11/01/2025 00:43:29.203] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Exiting completed [INFO] [11/01/2025 00:43:29.203] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Shutting down... 12:43:29,204 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Exiting completed [INFO] [11/01/2025 00:43:29.204] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.14:25520] - Successfully shut down 12:43:29,204 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Shutting down... 12:43:29,204 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.170.14:25520] - Successfully shut down [INFO] [11/01/2025 00:43:29.205] [test-akka.remote.default-remote-dispatcher-11] [akka://test@10.30.170.14:25520/system/remoting-terminator] Shutting down remote daemon. 12:43:29,205 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [11/01/2025 00:43:29.205] [test-akka.remote.default-remote-dispatcher-11] [akka://test@10.30.170.14:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 12:43:29,206 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.