[DEBUG] [03/13/2024 10:40:42.949] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:40:42,950 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/13/2024 10:40:42.950] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/13/2024 10:40:42.950] [main] [EventStream(akka://test)] Default Loggers started 10:40:42,966 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.252:25520] with UID [5592009171025504876] [INFO] [03/13/2024 10:40:42.965] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.252:25520] with UID [5592009171025504876] [INFO] [03/13/2024 10:40:42.967] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Starting up, Akka version [2.6.21] ... 10:40:42,967 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Starting up, Akka version [2.6.21] ... 10:40:42,973 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:40:42,973 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Started up successfully 10:40:42,973 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:40:42,973 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [03/13/2024 10:40:42.970] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/13/2024 10:40:42.970] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Started up successfully [INFO] [03/13/2024 10:40:42.971] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/13/2024 10:40:42.971] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:40:42,981 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferAborted starting 10:40:42,981 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/13/2024 10:40:42.986] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower646]: org.opendaylight.controller.cluster.common.actor.Monitor@74d92e5a [INFO] [akkaDeadLetter][03/13/2024 10:40:42.986] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower646] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:42,987 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower646] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:42,990 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower646 with journal batch size 1000 10:40:42,991 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: SnapshotOffer called. 10:40:42,991 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Moving last applied index from -1 to -1 10:40:42,991 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=1, votedFor=null 10:40:42,991 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING]] 10:40:42,992 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower646 in 127.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:42,993 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Recovery completed in 1.487 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:43.088] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower647]: org.opendaylight.controller.cluster.common.actor.Monitor@51f451ea [INFO] [akkaDeadLetter][03/13/2024 10:40:43.088] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower647] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,88 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower647] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,89 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower647 with journal batch size 1000 10:40:43,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: SnapshotOffer called. 10:40:43,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Moving last applied index from -1 to -1 10:40:43,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=1, votedFor=null 10:40:43,90 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 10:40:43,90 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower647 in 98.10 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/13/2024 10:40:43.091] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower648]: org.opendaylight.controller.cluster.common.actor.Monitor@66a54189 [INFO] [akkaDeadLetter][03/13/2024 10:40:43.092] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower648] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,92 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Recovery completed in 1.469 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:43,92 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower648] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,92 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower648 with journal batch size 1000 10:40:43,94 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: SnapshotOffer called. 10:40:43,94 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Moving last applied index from -1 to -1 10:40:43,94 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Set currentTerm=1, votedFor=null 10:40:43,94 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Updated server config: isVoting: false, peers: [PeerInfo [id=leader645, address=akka://test/user/leader645, votingState=VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 10:40:43,94 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower648 in 87.71 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:43,95 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Recovery completed in 730.8 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:43.095] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader645]: org.opendaylight.controller.cluster.common.actor.Monitor@1b5c424f [INFO] [akkaDeadLetter][03/13/2024 10:40:43.095] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader645] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,96 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader645] to Actor[akka://test/user/termination-monitor] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader645 with journal batch size 1000 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: SnapshotOffer called. 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Moving last applied index from -1 to -1 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Set currentTerm=1, votedFor=null 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Updated server config: isVoting: true, peers: [PeerInfo [id=follower648, address=akka://test/user/follower648, votingState=NON_VOTING], PeerInfo [id=follower647, address=akka://test/user/follower647, votingState=VOTING], PeerInfo [id=follower646, address=akka://test/user/follower646, votingState=VOTING]] 10:40:43,96 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader645 in 61.52 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:43,97 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Recovery completed in 716.6 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower): Received ElectionTimeout - switching to Candidate 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Election: Candidate has following voting peers: [follower647, follower646] 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Set currentTerm=2, votedFor=leader645 10:40:43,473 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Starting new election term 2 10:40:43,474 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Sending RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] to peer follower647 10:40:43,474 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): Sending RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] to peer follower646 10:40:43,474 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Cluster state: [] 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=2, votedFor=null 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Cluster state: [] 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=2, votedFor=null 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): In requestVote: RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: Set currentTerm=2, votedFor=leader645 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): In requestVote: RequestVote [term=2, candidateId=leader645, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:43,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: Set currentTerm=2, votedFor=leader645 10:40:43,474 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Election: Leader has following peers: [follower648, follower647, follower646] 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,476 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower648 (Follower): Term 2 in "AppendEntries [leaderId=leader645, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:43,476 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: Set currentTerm=2, votedFor=null 10:40:43,476 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower648: Last sync leader does not match current leader leader645, need to catch up to -1 10:40:43,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,476 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:43,476 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower647: Last sync leader does not match current leader leader645, need to catch up to -1 10:40:43,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower648 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/13/2024 10:40:43.476] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower647] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@59cabdeb 10:40:43,477 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 10:40:43,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][03/13/2024 10:40:43.476] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower647] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 10:40:43,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower647 updated: matchIndex: -1, nextIndex: 0 10:40:43,477 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,478 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower646: Last sync leader does not match current leader leader645, need to catch up to -1 10:40:43,478 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower646 updated: matchIndex: -1, nextIndex: 0 10:40:43,478 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] 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'. 10:40:43,478 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,478 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. [WARN] [03/13/2024 10:40:43.478] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower648] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65c66ce [INFO] [akkaDeadLetter][03/13/2024 10:40:43.478] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower648] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [03/13/2024 10:40:43.478] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower646] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@263e2dd [INFO] [akkaDeadLetter][03/13/2024 10:40:43.478] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower646] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. 10:40:43,499 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:43,499 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader645 starting 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: onShutDown 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: Initiating leader transfer 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] RaftActorLeadershipTransferCohort - leader645: pauseLeader successfully completed - doing transfer 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Attempting to transfer leadership 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower648: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower647: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Checking sendAppendEntries for follower follower646: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower648: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower647: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] 10:40:43,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,503 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower646: onLeaderTransitioning: LeaderTransitioning [leaderId=leader645] [WARN] [03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower648] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@41035d67 [WARN] [03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower647] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5eeeb530 [WARN] [03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower646] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@108612b9 [INFO] [akkaDeadLetter][03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower648] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower647] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/13/2024 10:40:43.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower646] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. 10:40:43,504 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower648] 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'. 10:40:43,504 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower647] 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'. 10:40:43,504 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower646] 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'. 10:40:43,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,593 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,593 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,714 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,714 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,832 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader645: leader transfer aborted 10:40:43,833 AM [test-akka.actor.default-dispatcher-16] [WARN] RaftActorLeadershipTransferCohort - leader645: Failed to transfer leadership in 330.5 ms 10:40:43,833 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645: leader transfer failed - sending PoisonPill 10:40:43,833 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader645 (Leader): Leadership transfer expired 10:40:43,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower648: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,834 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower647: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) 10:40:43,834 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower646: Lagging 0 entries behind leader leader645 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:43.834] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower648]: AppendEntriesReply [term=2, success=true, followerId=follower648, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/13/2024 10:40:43.834] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower647]: AppendEntriesReply [term=2, success=true, followerId=follower647, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [03/13/2024 10:40:43.834] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader645] received dead letter from TestActor[akka://test/user/follower646]: AppendEntriesReply [term=2, success=true, followerId=follower646, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:43,836 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader645 ending 10:40:43,838 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 10:40:43,838 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower646-notifier649#796920687] 10:40:43,850 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower646-collector650#1944028268] 10:40:43,850 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower646] 10:40:43,851 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower647-notifier651#-1821657478] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower647-collector652#1434063128] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower647] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower648-notifier653#-1776477329] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower648-collector654#569024194] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower648] 10:40:43,852 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader645-notifier655#-1798357442] 10:40:43,853 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader645-collector656#463629931] 10:40:43,853 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader645] 10:40:43,854 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 starting 10:40:43,854 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/13/2024 10:40:43.857] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower658]: org.opendaylight.controller.cluster.common.actor.Monitor@69509968 10:40:43,858 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower658 with journal batch size 1000 10:40:43,859 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: SnapshotOffer called. 10:40:43,859 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Moving last applied index from -1 to -1 10:40:43,859 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=1, votedFor=null 10:40:43,859 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Updated server config: isVoting: true, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 10:40:43,860 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower658 in 134.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:43,861 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Recovery completed in 1.400 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:43.960] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower659]: org.opendaylight.controller.cluster.common.actor.Monitor@3345781a 10:40:43,961 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower659 with journal batch size 1000 10:40:43,963 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: SnapshotOffer called. 10:40:43,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Moving last applied index from -1 to -1 10:40:43,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=1, votedFor=null 10:40:43,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Updated server config: isVoting: true, peers: [PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 10:40:43,964 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower659 in 116.7 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/13/2024 10:40:43.964] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower660]: org.opendaylight.controller.cluster.common.actor.Monitor@38a82be1 10:40:43,965 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower660 with journal batch size 1000 10:40:43,965 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: SnapshotOffer called. 10:40:43,965 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Moving last applied index from -1 to -1 10:40:43,965 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=1, votedFor=null 10:40:43,965 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Updated server config: isVoting: false, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=leader657, address=akka://test/user/leader657, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING]] 10:40:43,966 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower660 in 47.59 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:43,966 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Recovery completed in 2.037 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:43.969] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader657]: org.opendaylight.controller.cluster.common.actor.Monitor@7378b551 10:40:43,969 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader657 with journal batch size 1000 10:40:43,970 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Recovery completed in 4.086 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:43,970 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: SnapshotOffer called. 10:40:43,970 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Moving last applied index from -1 to -1 10:40:43,970 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=1, votedFor=null 10:40:43,970 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Updated server config: isVoting: true, peers: [PeerInfo [id=follower659, address=akka://test/user/follower659, votingState=VOTING], PeerInfo [id=follower658, address=akka://test/user/follower658, votingState=VOTING], PeerInfo [id=follower660, address=akka://test/user/follower660, votingState=NON_VOTING]] 10:40:43,970 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader657 in 124.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:43,971 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Recovery completed in 976.4 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:44,303 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:44,303 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:44,303 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower): Received ElectionTimeout - switching to Candidate 10:40:44,303 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Election: Candidate has following voting peers: [follower659, follower658] 10:40:44,303 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=2, votedFor=leader657 10:40:44,304 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Starting new election term 2 10:40:44,304 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Sending RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] to peer follower659 10:40:44,304 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): Sending RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] to peer follower658 10:40:44,304 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Cluster state: [] 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:44,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=null 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): In requestVote: RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=2, votedFor=leader657 10:40:44,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Cluster state: [] 10:40:44,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:44,304 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:44,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:44,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=2, votedFor=null 10:40:44,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): In requestVote: RequestVote [term=2, candidateId=leader657, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:44,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=2, votedFor=leader657 10:40:44,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:44,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:44,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:44,306 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Election: Leader has following peers: [follower659, follower658, follower660] 10:40:44,306 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,306 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,306 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,306 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower659: Last sync leader does not match current leader leader657, need to catch up to -1 10:40:44,306 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:44,307 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader leader657, need to catch up to -1 [WARN] [03/13/2024 10:40:44.306] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower659] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b6686a1 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower659 updated: matchIndex: -1, nextIndex: 0 10:40:44,307 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660 (Follower): Term 2 in "AppendEntries [leaderId=leader657, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:44,307 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=2, votedFor=null 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,307 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower660: Last sync leader does not match current leader leader657, need to catch up to -1 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower660 updated: matchIndex: -1, nextIndex: 0 10:40:44,307 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:44.307] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@159cfec9 [WARN] [03/13/2024 10:40:44.308] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47616cf5 10:40:44,324 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:44,324 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:40:44,325 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:40:44,325 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:40:44,325 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:40:44,326 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: onRequestLeadership RequestLeadership [requestedFollowerId=follower659, replyTo=Actor[akka://test/user/$a#1133466436]] 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Initiating leader transfer 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader657: pauseLeader successfully completed - doing transfer 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Attempting to transfer leadership 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 10:40:44,327 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower660: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] [WARN] [03/13/2024 10:40:44.328] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d91db8e [WARN] [03/13/2024 10:40:44.328] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65b83067 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower659: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: onLeaderTransitioning: LeaderTransitioning [leaderId=leader657] 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): tryToCompleteLeadershipTransfer: followerId: follower659, matchIndex: -1, lastIndex: -1, isVoting: true 10:40:44,328 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Follower's log matches - sending ElectionTimeout 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower659: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Leader transfer complete 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader657: leader transfer complete - waiting for new leader 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower659: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:44.329] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower659] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24ed5870 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower): Received TimeoutNow - switching to Candidate 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Election: Candidate has following voting peers: [leader657, follower658] 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659: Set currentTerm=3, votedFor=follower659 10:40:44,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower658: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Starting new election term 3 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Sending RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] to peer leader657 10:40:44,329 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower660: Lagging 0 entries behind leader leader657 and reached -1 (of expected -1) 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): Sending RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] to peer follower658 10:40:44,329 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:44,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:44,329 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Cluster state: [] 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 2 - updating term 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=3, votedFor=null 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Cluster state: [] 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=3, votedFor=null 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): In requestVote: RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658: Set currentTerm=3, votedFor=follower659 10:40:44,330 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower658 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): Leadership transfer in progress - processing RequestVote 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): In requestVote: RequestVote [term=3, candidateId=follower659, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Set currentTerm=3, votedFor=follower659 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:44,330 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader657 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Election: Leader has following peers: [leader657, follower658, follower660] 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower leader657: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower658: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower660: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:44,331 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower658: Last sync leader does not match current leader follower659, need to catch up to -1 10:40:44,331 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower658 updated: matchIndex: -1, nextIndex: 0 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower658: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:44.332] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower658] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1767aa94 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower660 (Follower): Term 3 in "AppendEntries [leaderId=follower659, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower660: Set currentTerm=3, votedFor=null 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower660: Last sync leader does not match current leader follower659, need to catch up to -1 10:40:44,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader657: Last sync leader does not match current leader follower659, need to catch up to -1 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower660 updated: matchIndex: -1, nextIndex: 0 10:40:44,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader657: leader changed to follower659 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower follower660: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader657 updated: matchIndex: -1, nextIndex: 0 10:40:44,332 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower659 (Leader): Checking sendAppendEntries for follower leader657: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:44,332 AM [test-akka.actor.default-dispatcher-15] [INFO] RaftActorLeadershipTransferCohort - leader657: Successfully transferred leadership to follower659 in 4.811 ms 10:40:44,332 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader657: Leadership transferred successfully to follower659 [WARN] [03/13/2024 10:40:44.333] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader657] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33789b17 [WARN] [03/13/2024 10:40:44.333] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower660] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@13e35355 10:40:44,380 AM [main] [INFO] LeadershipTransferIntegrationTest - testSuccessfulRequestLeadershipTransferToFollower2 ending 10:40:44,381 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-notifier661#-1044293639] 10:40:44,392 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower658-collector662#-753934035] 10:40:44,393 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower658] 10:40:44,393 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower659-notifier663#-814658851] 10:40:44,393 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower659-collector664#-1328675560] 10:40:44,393 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower659] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower660-notifier665#-1177972919] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower660-collector666#550337466] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower660] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader657-notifier667#-114791730] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader657-collector668#-1489430346] 10:40:44,394 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader657] 10:40:44,395 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$a#1133466436] 10:40:44,396 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown starting 10:40:44,396 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:44,399 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower670 with journal batch size 1000 [WARN] [03/13/2024 10:40:44.399] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower670]: org.opendaylight.controller.cluster.common.actor.Monitor@13669635 10:40:44,400 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: SnapshotOffer called. 10:40:44,400 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Moving last applied index from -1 to -1 10:40:44,400 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=1, votedFor=null 10:40:44,400 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Updated server config: isVoting: true, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 10:40:44,401 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower670 in 123.8 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:44,402 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Recovery completed in 1.545 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:44.500] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower671]: org.opendaylight.controller.cluster.common.actor.Monitor@2931fa76 10:40:44,501 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower671 with journal batch size 1000 10:40:44,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: SnapshotOffer called. 10:40:44,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Moving last applied index from -1 to -1 10:40:44,503 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=1, votedFor=null 10:40:44,504 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Updated server config: isVoting: true, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING]] 10:40:44,504 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower671 in 117.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:44,505 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Recovery completed in 1.550 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:44,604 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower672 with journal batch size 1000 [WARN] [03/13/2024 10:40:44.604] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower672]: org.opendaylight.controller.cluster.common.actor.Monitor@74830c73 10:40:44,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: SnapshotOffer called. 10:40:44,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Moving last applied index from -1 to -1 10:40:44,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Set currentTerm=1, votedFor=null 10:40:44,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Updated server config: isVoting: false, peers: [PeerInfo [id=leader669, address=akka://test/user/leader669, votingState=VOTING], PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 10:40:44,606 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower672 in 113.9 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:44,607 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Recovery completed in 1.894 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:44.705] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader669]: org.opendaylight.controller.cluster.common.actor.Monitor@4e6712b4 10:40:44,706 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader669 with journal batch size 1000 10:40:44,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: SnapshotOffer called. 10:40:44,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Moving last applied index from -1 to -1 10:40:44,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Set currentTerm=1, votedFor=null 10:40:44,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Updated server config: isVoting: true, peers: [PeerInfo [id=follower670, address=akka://test/user/follower670, votingState=VOTING], PeerInfo [id=follower672, address=akka://test/user/follower672, votingState=NON_VOTING], PeerInfo [id=follower671, address=akka://test/user/follower671, votingState=VOTING]] 10:40:44,707 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader669 in 113.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:44,709 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Recovery completed in 2.383 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:45,103 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:45,103 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:45,103 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower): Received ElectionTimeout - switching to Candidate 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Election: Candidate has following voting peers: [follower670, follower671] 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Set currentTerm=2, votedFor=leader669 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Starting new election term 2 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Sending RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] to peer follower670 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): Sending RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] to peer follower671 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:45,104 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Cluster state: [] 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=null 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): In requestVote: RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:45,104 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: Set currentTerm=2, votedFor=leader669 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Cluster state: [] 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=2, votedFor=null 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): In requestVote: RequestVote [term=2, candidateId=leader669, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: Set currentTerm=2, votedFor=leader669 10:40:45,105 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:45,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:45,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Election: Leader has following peers: [follower670, follower672, follower671] 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower670: Last sync leader does not match current leader leader669, need to catch up to -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower672 (Follower): Term 2 in "AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:45,107 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: Set currentTerm=2, votedFor=null 10:40:45,107 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower672: Last sync leader does not match current leader leader669, need to catch up to -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower670 updated: matchIndex: -1, nextIndex: 0 10:40:45,107 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower671: Last sync leader does not match current leader leader669, need to catch up to -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower672 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/13/2024 10:40:45.107] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51157d33 10:40:45,107 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,107 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower671 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/13/2024 10:40:45.107] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower671] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1adebd96 10:40:45,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:45.108] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower672] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6823b344 10:40:45,115 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:45,115 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:40:45,116 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:40:45,116 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower671 starting 10:40:45,116 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower671: onShutDown 10:40:45,116 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower671 ending 10:40:45,116 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:40:45,116 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:40:45,116 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: onRequestLeadership RequestLeadership [requestedFollowerId=follower671, replyTo=Actor[akka://test/user/$b#1192738069]] 10:40:45,116 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: Initiating leader transfer 10:40:45,117 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower672: onLeaderTransitioning: LeaderTransitioning [leaderId=leader669] 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader669: pauseLeader successfully completed - doing transfer 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Attempting to transfer leadership 10:40:45,117 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower670: onLeaderTransitioning: LeaderTransitioning [leaderId=leader669] 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower670: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower672: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Checking sendAppendEntries for follower follower671: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:45.117] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: LeaderTransitioning [leaderId=leader669] 10:40:45,117 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:45.117] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/13/2024 10:40:45.117] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower670] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f855e89 10:40:45,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:45.117] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower672] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3981cdf8 10:40:45,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 10:40:45,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:45.223] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:45,343 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 10:40:45,343 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:45.343] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:45,463 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader669: leader transfer aborted 10:40:45,463 AM [test-akka.actor.default-dispatcher-15] [WARN] RaftActorLeadershipTransferCohort - leader669: Failed to transfer leadership in 346.6 ms 10:40:45,464 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669: LeadershipTransfer request from follower671 failed 10:40:45,464 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader669 (Leader): Leadership transfer expired 10:40:45,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower670: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) 10:40:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower672: Lagging 0 entries behind leader leader669 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:45.465] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower671] received dead letter from TestActor[akka://test/user/leader669]: AppendEntries [leaderId=leader669, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:45,470 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Shutdown ending 10:40:45,470 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-notifier673#-740015078] 10:40:45,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower670-collector674#-790706084] 10:40:45,487 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower670] 10:40:45,487 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower671-notifier675#-1960991995] 10:40:45,487 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower671-collector676#191124928] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower671] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower672-notifier677#-370746668] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower672-collector678#189640628] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower672] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader669-notifier679#-1689509573] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader669-collector680#284335742] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader669] 10:40:45,488 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$b#1192738069] 10:40:45,489 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown starting 10:40:45,489 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:45,493 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower682 with journal batch size 1000 [WARN] [03/13/2024 10:40:45.493] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower682]: org.opendaylight.controller.cluster.common.actor.Monitor@78fc5836 10:40:45,494 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: SnapshotOffer called. 10:40:45,494 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to -1 10:40:45,494 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=1, votedFor=null 10:40:45,494 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING]] 10:40:45,494 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower682 in 114.5 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:45,495 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Recovery completed in 1.167 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:45.595] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower683]: org.opendaylight.controller.cluster.common.actor.Monitor@b7dc10d 10:40:45,596 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower683 with journal batch size 1000 10:40:45,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: SnapshotOffer called. 10:40:45,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Moving last applied index from -1 to -1 10:40:45,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=1, votedFor=null 10:40:45,598 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 10:40:45,598 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower683 in 128.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:45,600 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Recovery completed in 1.947 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:45.697] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower684]: org.opendaylight.controller.cluster.common.actor.Monitor@95b6edf 10:40:45,698 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower684 with journal batch size 1000 10:40:45,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: SnapshotOffer called. 10:40:45,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Moving last applied index from -1 to -1 10:40:45,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=1, votedFor=null 10:40:45,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Updated server config: isVoting: false, peers: [PeerInfo [id=leader681, address=akka://test/user/leader681, votingState=VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 10:40:45,700 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower684 in 126.2 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:45,701 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Recovery completed in 1.802 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:45.799] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader681]: org.opendaylight.controller.cluster.common.actor.Monitor@184b7209 10:40:45,800 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader681 with journal batch size 1000 10:40:45,801 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: SnapshotOffer called. 10:40:45,801 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Moving last applied index from -1 to -1 10:40:45,801 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=1, votedFor=null 10:40:45,801 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Updated server config: isVoting: true, peers: [PeerInfo [id=follower684, address=akka://test/user/follower684, votingState=NON_VOTING], PeerInfo [id=follower683, address=akka://test/user/follower683, votingState=VOTING], PeerInfo [id=follower682, address=akka://test/user/follower682, votingState=VOTING]] 10:40:45,801 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader681 in 111.1 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:45,803 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Recovery completed in 1.484 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower): Received ElectionTimeout - switching to Candidate 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Election: Candidate has following voting peers: [follower683, follower682] 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=2, votedFor=leader681 10:40:46,193 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Starting new election term 2 10:40:46,194 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Sending RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] to peer follower683 10:40:46,194 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): Sending RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] to peer follower682 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:46,194 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Cluster state: [] 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=2, votedFor=null 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Cluster state: [] 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=null 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): In requestVote: RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=2, votedFor=leader681 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): In requestVote: RequestVote [term=2, candidateId=leader681, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=2, votedFor=leader681 10:40:46,194 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:46,194 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:46,195 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Election: Leader has following peers: [follower684, follower683, follower682] 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Term 2 in "AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:46,196 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=2, votedFor=null 10:40:46,196 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower684: Last sync leader does not match current leader leader681, need to catch up to -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: -1, nextIndex: 0 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower683: Last sync leader does not match current leader leader681, need to catch up to -1 10:40:46,196 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower682: Last sync leader does not match current leader leader681, need to catch up to -1 10:40:46,197 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower683 updated: matchIndex: -1, nextIndex: 0 10:40:46,197 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:46.197] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6dc463f1 10:40:46,197 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/13/2024 10:40:46.197] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c9e61a0 10:40:46,197 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:46.197] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a8b3e80 10:40:46,201 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:46,201 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower684 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower684: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower682 10:40:46,201 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower682: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,201 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): handleAppendEntries: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,201 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Number of entries to be appended = 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): handleAppendEntries: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Append entry to log zero 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Number of entries to be appended = 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Append entry to log zero 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Log size is now 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Log size is now 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower682, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower684, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached -1 (of expected -1) 10:40:46,202 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached -1 (of expected -1) 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower682 updated: matchIndex: 0, nextIndex: 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: 0, nextIndex: 1 10:40:46,202 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Setting last applied to 0 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Moving last applied index from -1 to 0 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Applying state for log index 0 data zero 10:40:46,203 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,203 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/13/2024 10:40:46.203] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36f229cf [WARN] [03/13/2024 10:40:46.203] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower682] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4ad3979b 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: applyState called: zero 10:40:46,203 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Persisting ApplyJournalEntries with index=0 10:40:46,313 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Commit index set to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=leader681, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Setting last applied to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Moving last applied index from -1 to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Applying state for log index 0 data zero 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Commit index set to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Setting last applied to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Moving last applied index from -1 to 0 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Applying state for log index 0 data zero 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: applyState called: zero 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: applyState called: zero 10:40:46,314 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Persisting ApplyJournalEntries with index=0 10:40:46,314 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Persisting ApplyJournalEntries with index=0 10:40:46,353 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 10:40:46,353 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 starting 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: onShutDown 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Initiating leader transfer 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader681: pauseLeader successfully completed - doing transfer 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Attempting to transfer leadership 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 10:40:46,354 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,354 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,354 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): tryToCompleteLeadershipTransfer: followerId: follower684, matchIndex: 0, lastIndex: 0, isVoting: false 10:40:46,354 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): tryToCompleteLeadershipTransfer: followerId: follower682, matchIndex: 0, lastIndex: 0, isVoting: true 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Follower's log matches - sending ElectionTimeout 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,354 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): sendAppendEntries: 0 is present for follower follower683 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Checking sendAppendEntries for follower follower682: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,354 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Leader transfer complete 10:40:46,354 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader681: leader transfer complete - waiting for new leader 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower682: Lagging 0 entries behind leader leader681 and reached 0 (of expected -1) 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower): Received TimeoutNow - switching to Candidate 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Election: Candidate has following voting peers: [leader681, follower683] 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682: Set currentTerm=3, votedFor=follower682 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Starting new election term 3 10:40:46,354 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Sending RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] to peer leader681 10:40:46,355 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): Sending RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] to peer follower683 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:46,355 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Cluster state: [] 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2]" message is greater than leader's term 2 - switching to Follower 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Cluster state: [] 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=3, votedFor=null 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] with higher term appears reachable, updating term. 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Term 3 in "RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2]" message is greater than follower's term 2 - updating term 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=3, votedFor=null 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): In requestVote: RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Set currentTerm=3, votedFor=follower682 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): Leadership transfer in progress - processing RequestVote 10:40:46,355 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): In requestVote: RequestVote [term=3, candidateId=follower682, lastLogIndex=0, lastLogTerm=2] - currentTerm: 3, votedFor: null, lastIndex: 0, lastTerm: 2 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: Set currentTerm=3, votedFor=follower682 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:46,355 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader681 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:40:46,356 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:40:46,356 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Election: Leader has following peers: [follower684, leader681, follower683] 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower684: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower leader681: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower683: active: false, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower684 (Follower): Term 3 in "AppendEntries [leaderId=follower682, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 10:40:46,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower684: Set currentTerm=3, votedFor=null 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:46,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower684: Last sync leader does not match current leader follower682, need to catch up to -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower684 updated: matchIndex: 0, nextIndex: 1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower684: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader681: Last sync leader does not match current leader follower682, need to catch up to -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-5] [DEBUG] RaftActorLeadershipTransferCohort - leader681: leader changed to follower682 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader681 updated: matchIndex: 0, nextIndex: 1 10:40:46,357 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower leader681: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,357 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) 10:40:46,358 AM [test-akka.actor.default-dispatcher-5] [INFO] RaftActorLeadershipTransferCohort - leader681: Successfully transferred leadership to follower682 in 3.978 ms 10:40:46,358 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader681: leader transfer succeeded - sending PoisonPill [WARN] [03/13/2024 10:40:46.357] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@457f60cf 10:40:46,358 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader681: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) [WARN] [03/13/2024 10:40:46.358] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower684] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@349613bf [WARN] [03/13/2024 10:40:46.358] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader681] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4b2b559e [WARN] [03/13/2024 10:40:46.358] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader681] received dead letter: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6ef49ad4 10:40:46,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower684: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) 10:40:46,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower683: Last sync leader does not match current leader follower682, need to catch up to -1 [WARN] [03/13/2024 10:40:46.874] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader681] received dead letter from TestActor[akka://test/user/follower682]: AppendEntries [leaderId=follower682, prevLogIndex=0, prevLogTerm=2, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): sendAppendEntries: 0 is present for follower follower683 [WARN] [03/13/2024 10:40:46.874] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@477082df 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Sending AppendEntries to follower follower683: AppendEntries [leaderId=follower682, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): handleAppendEntries: AppendEntries [leaderId=follower682, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Number of entries to be appended = 1 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Append entry to log zero 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Log size is now 1 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Commit index set to 0 10:40:46,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower683, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower683: Lagging 0 entries behind leader follower682 and reached 0 (of expected -1) 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:46,875 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower683 updated: matchIndex: 0, nextIndex: 1 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683 (Follower): Setting last applied to 0 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Moving last applied index from -1 to 0 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Applying state for log index 0 data zero 10:40:46,875 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower682 (Leader): Checking sendAppendEntries for follower follower683: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:46,875 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: applyState called: zero 10:40:46,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:46,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: Persisting ApplyJournalEntries with index=0 [WARN] [03/13/2024 10:40:46.876] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower683] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1166f72d 10:40:46,910 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: onLeaderTransitioning: LeaderTransitioning [leaderId=leader681] 10:40:46,911 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDownToLeaderAndVerifyLeadershipTransferToFollower1 ending 10:40:46,911 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower683 starting 10:40:46,911 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower683: onShutDown 10:40:46,912 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/follower683 ending 10:40:46,912 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferOnShutDown ending 10:40:46,912 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-notifier685#977388333] 10:40:46,923 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower682-collector686#-576050934] 10:40:46,923 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower682] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower683-notifier687#-762633344] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower683-collector688#-476212938] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower683] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower684-notifier689#-447850213] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower684-collector690#1249935934] 10:40:46,924 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower684] 10:40:46,925 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader681-notifier691#-642120715] 10:40:46,925 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader681-collector692#282573414] 10:40:46,925 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader681] 10:40:46,926 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers starting [WARN] [03/13/2024 10:40:46.928] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader693]: org.opendaylight.controller.cluster.common.actor.Monitor@2b3670ea 10:40:46,928 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader693 with journal batch size 1000 10:40:46,929 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Follower): Received TimeoutNow - switching to Candidate 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Election: Candidate has following voting peers: [] 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: Set currentTerm=1, votedFor=leader693 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Starting new election term 1 10:40:46,930 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:40:46,931 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate): Received ElectionTimeout 10:40:46,931 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Leader): Election: Leader has following peers: [] 10:40:46,931 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader693 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:40:46,931 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader693 starting 10:40:46,931 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader693: onShutDown 10:40:46,932 AM [main] [INFO] LeadershipTransferIntegrationTest - sendShutDown for akka://test/user/leader693 ending 10:40:46,932 AM [main] [INFO] LeadershipTransferIntegrationTest - testLeaderTransferSkippedOnShutdownWithNoFollowers ending 10:40:46,932 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader693-collector697#1938433722] 10:40:46,943 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader693] 10:40:46,944 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging starting 10:40:46,944 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/13/2024 10:40:46.945] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower699]: org.opendaylight.controller.cluster.common.actor.Monitor@3048fbe2 10:40:46,946 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower699 with journal batch size 1000 10:40:46,946 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: SnapshotOffer called. 10:40:46,946 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Moving last applied index from -1 to -1 10:40:46,946 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=1, votedFor=null 10:40:46,946 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Updated server config: isVoting: true, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 10:40:46,947 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower699 in 80.93 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:46,948 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower700 with journal batch size 1000 [WARN] [03/13/2024 10:40:46.948] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower700]: org.opendaylight.controller.cluster.common.actor.Monitor@2d7d8be2 10:40:46,948 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: SnapshotOffer called. 10:40:46,948 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Moving last applied index from -1 to -1 10:40:46,948 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=1, votedFor=null 10:40:46,948 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Recovery completed in 1.438 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:46,948 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Updated server config: isVoting: true, peers: [PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 10:40:46,948 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower700 in 141.6 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:46,949 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Recovery completed in 864.5 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:47.054] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower701]: org.opendaylight.controller.cluster.common.actor.Monitor@3271f729 10:40:47,54 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower701 with journal batch size 1000 10:40:47,55 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: SnapshotOffer called. 10:40:47,55 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Moving last applied index from -1 to -1 10:40:47,55 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Set currentTerm=1, votedFor=null 10:40:47,56 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Updated server config: isVoting: false, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=leader698, address=akka://test/user/leader698, votingState=VOTING]] 10:40:47,56 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower701 in 115.1 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 [WARN] [03/13/2024 10:40:47.057] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader698]: org.opendaylight.controller.cluster.common.actor.Monitor@2e3e05fd 10:40:47,57 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader698 with journal batch size 1000 10:40:47,58 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Recovery completed in 2.320 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:47,58 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: SnapshotOffer called. 10:40:47,58 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Moving last applied index from -1 to -1 10:40:47,58 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Set currentTerm=1, votedFor=null 10:40:47,58 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Updated server config: isVoting: true, peers: [PeerInfo [id=follower700, address=akka://test/user/follower700, votingState=VOTING], PeerInfo [id=follower699, address=akka://test/user/follower699, votingState=VOTING], PeerInfo [id=follower701, address=akka://test/user/follower701, votingState=NON_VOTING]] 10:40:47,58 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader698 in 71.35 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:47,59 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Recovery completed in 717.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:47,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower): Received ElectionTimeout - switching to Candidate 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Election: Candidate has following voting peers: [follower700, follower699] 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Set currentTerm=2, votedFor=leader698 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Starting new election term 2 10:40:47,433 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Sending RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] to peer follower700 10:40:47,434 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): Sending RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] to peer follower699 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Cluster state: [] 10:40:47,434 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=2, votedFor=null 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): In requestVote: RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: Set currentTerm=2, votedFor=leader698 10:40:47,434 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Cluster state: [] 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=2, votedFor=null 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): In requestVote: RequestVote [term=2, candidateId=leader698, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Set currentTerm=2, votedFor=leader698 10:40:47,434 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:47,435 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:47,435 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Election: Leader has following peers: [follower700, follower699, follower701] 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:47,436 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower699: Last sync leader does not match current leader leader698, need to catch up to -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Term 2 in "AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower699 updated: matchIndex: -1, nextIndex: 0 10:40:47,436 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Set currentTerm=2, votedFor=null 10:40:47,436 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower701: Last sync leader does not match current leader leader698, need to catch up to -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower701 updated: matchIndex: -1, nextIndex: 0 10:40:47,436 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:47.436] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower699] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@675cf390 10:40:47,436 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower700: Last sync leader does not match current leader leader698, need to catch up to -1 10:40:47,436 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower700 updated: matchIndex: -1, nextIndex: 0 10:40:47,436 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:47.436] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower700] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@216bd295 [WARN] [03/13/2024 10:40:47.437] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower701] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1b9db1b2 10:40:47,463 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:47,463 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:40:47,468 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:40:47,468 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging starting 10:40:47,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:47,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,468 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower699 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower699: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower701 10:40:47,469 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower701: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): handleAppendEntries: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Number of entries to be appended = 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Append entry to log zero 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): handleAppendEntries: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Log size is now 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Number of entries to be appended = 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Append entry to log zero 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower699, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached -1 (of expected -1) 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Log size is now 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower701, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower699 updated: matchIndex: 0, nextIndex: 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached -1 (of expected -1) 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower701 updated: matchIndex: 0, nextIndex: 1 10:40:47,469 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,470 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Setting last applied to 0 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Moving last applied index from -1 to 0 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Applying state for log index 0 data zero 10:40:47,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] [WARN] [03/13/2024 10:40:47.470] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower699] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@41e9f2a9 [WARN] [03/13/2024 10:40:47.470] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower701] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30999049 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: applyState called: zero 10:40:47,470 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Persisting ApplyJournalEntries with index=0 10:40:47,553 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 10:40:47,553 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,672 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Sending AppendEntries to follower follower700: AppendEntries [leaderId=leader698, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Commit index set to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Commit index set to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699 (Follower): Setting last applied to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701 (Follower): Setting last applied to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Moving last applied index from -1 to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Moving last applied index from -1 to 0 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Applying state for log index 0 data zero 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Applying state for log index 0 data zero 10:40:47,673 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: applyState called: zero 10:40:47,673 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: applyState called: zero 10:40:47,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: Persisting ApplyJournalEntries with index=0 10:40:47,674 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: Persisting ApplyJournalEntries with index=0 10:40:47,720 AM [main] [INFO] LeadershipTransferIntegrationTest - sendPayloadWithFollower2Lagging ending 10:40:47,720 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:40:47,720 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: onRequestLeadership RequestLeadership [requestedFollowerId=follower700, replyTo=Actor[akka://test/user/$c#1133025630]] 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: Initiating leader transfer 10:40:47,721 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower699: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] RaftActorLeadershipTransferCohort - leader698: pauseLeader successfully completed - doing transfer 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Attempting to transfer leadership 10:40:47,721 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower700: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 10:40:47,721 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower701: onLeaderTransitioning: LeaderTransitioning [leaderId=leader698] 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower700: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): sendAppendEntries: 0 is present for follower follower700 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower699: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Checking sendAppendEntries for follower follower701: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:47,721 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:47,721 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:47,913 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:47,913 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:48,33 AM [test-akka.actor.default-dispatcher-18] [DEBUG] RaftActorLeadershipTransferCohort - leader698: leader transfer aborted 10:40:48,33 AM [test-akka.actor.default-dispatcher-18] [WARN] RaftActorLeadershipTransferCohort - leader698: Failed to transfer leadership in 312.1 ms 10:40:48,33 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698: LeadershipTransfer request from follower700 failed 10:40:48,33 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader698 (Leader): Leadership transfer expired 10:40:48,34 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower701: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:48,34 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower699: Lagging 0 entries behind leader leader698 and reached 0 (of expected -1) 10:40:48,74 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithFollower2Lagging ending 10:40:48,74 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower699-notifier702#-1925752086] 10:40:48,85 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower699-collector703#1101281989] 10:40:48,85 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower699] 10:40:48,86 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower700-notifier704#-691409643] 10:40:48,86 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower700-collector705#2081852675] 10:40:48,86 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower700] 10:40:48,86 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower701-notifier706#-1783713829] 10:40:48,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower701-collector707#-902030577] 10:40:48,87 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower701] 10:40:48,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader698-notifier708#540251207] 10:40:48,87 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader698-collector709#1906767355] 10:40:48,87 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader698] 10:40:48,88 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$c#1133025630] 10:40:48,89 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown starting 10:40:48,89 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting [WARN] [03/13/2024 10:40:48.093] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower711]: org.opendaylight.controller.cluster.common.actor.Monitor@3feab7a3 10:40:48,93 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower711 with journal batch size 1000 10:40:48,94 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: SnapshotOffer called. 10:40:48,94 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Moving last applied index from -1 to -1 10:40:48,94 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=1, votedFor=null 10:40:48,94 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Updated server config: isVoting: true, peers: [PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 10:40:48,94 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower711 in 109.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:48,95 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Recovery completed in 1.129 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:48.195] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower712]: org.opendaylight.controller.cluster.common.actor.Monitor@7d80f150 10:40:48,196 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower712 with journal batch size 1000 10:40:48,197 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: SnapshotOffer called. 10:40:48,197 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Moving last applied index from -1 to -1 10:40:48,197 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=1, votedFor=null 10:40:48,197 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING]] 10:40:48,197 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower712 in 125.4 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:48,199 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Recovery completed in 1.531 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:48.199] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower713]: org.opendaylight.controller.cluster.common.actor.Monitor@4c243369 10:40:48,200 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower713 with journal batch size 1000 10:40:48,204 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: SnapshotOffer called. 10:40:48,204 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Moving last applied index from -1 to -1 10:40:48,204 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Set currentTerm=1, votedFor=null 10:40:48,204 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Updated server config: isVoting: false, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=leader710, address=akka://test/user/leader710, votingState=VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 10:40:48,205 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower713 in 98.79 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:48,205 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Recovery completed in 1.040 ms - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:48.206] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader710]: org.opendaylight.controller.cluster.common.actor.Monitor@343c3b05 10:40:48,206 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader710 with journal batch size 1000 10:40:48,207 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: SnapshotOffer called. 10:40:48,207 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Moving last applied index from -1 to -1 10:40:48,207 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=1, votedFor=null 10:40:48,207 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Updated server config: isVoting: true, peers: [PeerInfo [id=follower711, address=akka://test/user/follower711, votingState=VOTING], PeerInfo [id=follower713, address=akka://test/user/follower713, votingState=NON_VOTING], PeerInfo [id=follower712, address=akka://test/user/follower712, votingState=VOTING]] 10:40:48,207 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader710 in 111.5 μs: snapshotIndex=-1, snapshotTerm=-1, journal-size=0 10:40:48,208 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Recovery completed in 982.0 μs - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:48,543 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower): Received ElectionTimeout - switching to Candidate 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Election: Candidate has following voting peers: [follower711, follower712] 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=2, votedFor=leader710 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Starting new election term 2 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Sending RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] to peer follower711 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): Sending RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] to peer follower712 10:40:48,544 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Cluster state: [] 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:48,544 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=null 10:40:48,544 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Cluster state: [] 10:40:48,544 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:48,544 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Term 2 in "RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 1 - updating term 10:40:48,544 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=2, votedFor=null 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): In requestVote: RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:48,544 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711: Set currentTerm=2, votedFor=leader710 10:40:48,545 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): In requestVote: RequestVote [term=2, candidateId=leader710, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:48,545 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower711 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:48,545 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=2, votedFor=leader710 10:40:48,545 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Election: Leader has following peers: [follower711, follower713, follower712] 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:48,546 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower711: Last sync leader does not match current leader leader710, need to catch up to -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower711 updated: matchIndex: -1, nextIndex: 0 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower713 (Follower): Term 2 in "AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower713: Set currentTerm=2, votedFor=null [WARN] [03/13/2024 10:40:48.546] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower711] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6466236d 10:40:48,546 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower712: Last sync leader does not match current leader leader710, need to catch up to -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower713: Last sync leader does not match current leader leader710, need to catch up to -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower712 updated: matchIndex: -1, nextIndex: 0 10:40:48,546 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,546 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower713 updated: matchIndex: -1, nextIndex: 0 10:40:48,546 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:48.546] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower712] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@349eb1f7 [WARN] [03/13/2024 10:40:48.547] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower713] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@58773175 10:40:48,562 AM [main] [INFO] LeadershipTransferIntegrationTest - createRaftActors starting 10:40:48,562 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor starting 10:40:48,563 AM [main] [INFO] LeadershipTransferIntegrationTest - createRequestLeadershipResultCollectorActor ending 10:40:48,563 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower711] 10:40:48,574 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower713] 10:40:48,586 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader starting 10:40:48,586 AM [main] [INFO] LeadershipTransferIntegrationTest - sendFollower2RequestLeadershipTransferToLeader ending 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: onRequestLeadership RequestLeadership [requestedFollowerId=follower712, replyTo=Actor[akka://test/user/$d#1254653284]] 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Initiating leader transfer 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] RaftActorLeadershipTransferCohort - leader710: pauseLeader successfully completed - doing transfer 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Attempting to transfer leadership 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:48.586] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: LeaderTransitioning [leaderId=leader710] [WARN] [03/13/2024 10:40:48.586] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: LeaderTransitioning [leaderId=leader710] 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,586 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:48.586] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/13/2024 10:40:48.586] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:48,586 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower712: Lagging 0 entries behind leader leader710 and reached -1 (of expected -1) 10:40:48,587 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: onLeaderTransitioning: LeaderTransitioning [leaderId=leader710] 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): tryToCompleteLeadershipTransfer: followerId: follower712, matchIndex: -1, lastIndex: -1, isVoting: true 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Follower's log matches - sending ElectionTimeout 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower711: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower713: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:48.587] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Checking sendAppendEntries for follower follower712: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Leader transfer complete 10:40:48,587 AM [test-akka.actor.default-dispatcher-6] [DEBUG] RaftActorLeadershipTransferCohort - leader710: leader transfer complete - waiting for new leader [WARN] [03/13/2024 10:40:48.587] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower712] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f648250 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower712: Lagging 0 entries behind leader leader710 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:48.587] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/leader710]: AppendEntries [leaderId=leader710, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower): Received TimeoutNow - switching to Candidate 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Election: Candidate has following voting peers: [follower711, leader710] 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712: Set currentTerm=3, votedFor=follower712 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Starting new election term 3 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Sending RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] to peer follower711 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): Sending RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] to peer leader710 [WARN] [03/13/2024 10:40:48.587] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/follower712]: RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:48,587 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Cluster state: [] 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Candidate in requestVote:RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Term 3 in "RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1]" message is greater than leader's term 2 - switching to Follower 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=3, votedFor=null 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): Leadership transfer in progress - processing RequestVote 10:40:48,587 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): In requestVote: RequestVote [term=3, candidateId=follower712, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:48,588 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Set currentTerm=3, votedFor=follower712 10:40:48,588 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:48,588 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader710 (Leader) :- Switching from behavior Leader to Follower, election term: 3 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Election: Leader has following peers: [follower711, follower713, leader710] 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower follower711: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower follower713: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower leader710: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 [WARN] [03/13/2024 10:40:48.589] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower711] received dead letter from TestActor[akka://test/user/follower712]: AppendEntries [leaderId=follower712, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:48,589 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader710: Last sync leader does not match current leader follower712, need to catch up to -1 [WARN] [03/13/2024 10:40:48.589] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower713] received dead letter from TestActor[akka://test/user/follower712]: AppendEntries [leaderId=follower712, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:40:48,589 AM [test-akka.actor.default-dispatcher-16] [DEBUG] RaftActorLeadershipTransferCohort - leader710: leader changed to follower712 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader710 updated: matchIndex: -1, nextIndex: 0 10:40:48,589 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower712 (Leader): Checking sendAppendEntries for follower leader710: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:48,589 AM [test-akka.actor.default-dispatcher-16] [INFO] RaftActorLeadershipTransferCohort - leader710: Successfully transferred leadership to follower712 in 3.072 ms 10:40:48,589 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader710: Leadership transferred successfully to follower712 [WARN] [03/13/2024 10:40:48.589] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader710] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@378061cf 10:40:48,637 AM [main] [INFO] LeadershipTransferIntegrationTest - testRequestLeadershipTransferToFollower2WithOtherFollowersDown ending 10:40:48,637 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-notifier714#-1581899333] 10:40:48,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower711-collector715#-1378401517] 10:40:48,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower712-notifier716#840264237] 10:40:48,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower712-collector717#-1015192316] 10:40:48,649 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower712] 10:40:48,650 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower713-notifier718#716819586] 10:40:48,650 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower713-collector719#-482388794] 10:40:48,650 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader710-notifier720#1514300761] 10:40:48,650 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader710-collector721#471255094] 10:40:48,651 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader710] 10:40:48,651 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/$d#1254653284] [INFO] [03/13/2024 10:40:48.652] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:40:48,652 AM [test-akka.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/13/2024 10:40:48.653] [test-akka.actor.default-dispatcher-11] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.252:25520) [INFO] [03/13/2024 10:40:48.654] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Exiting completed [INFO] [03/13/2024 10:40:48.654] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Shutting down... [INFO] [03/13/2024 10:40:48.654] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Successfully shut down 10:40:48,655 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Exiting completed 10:40:48,655 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Shutting down... 10:40:48,655 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Successfully shut down [INFO] [03/13/2024 10:40:48.656] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Shutting down remote daemon. 10:40:48,656 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 10:40:48,656 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/13/2024 10:40:48.656] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:40:48,658 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [03/13/2024 10:40:48.658] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/13/2024 10:40:48.658] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger