Skip to content

Commit

Permalink
feat: merge fetch leader into fetch cluster
Browse files Browse the repository at this point in the history
Signed-off-by: iGxnon <igxnon@gmail.com>
(cherry picked from commit 19c1d8c)
  • Loading branch information
iGxnon committed Sep 26, 2023
1 parent 394bf30 commit b8fc1c1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ message Member {
bool is_learner = 4;
};

message FetchLeaderRequest {
}

message FetchLeaderResponse {
optional uint64 leader_id = 1;
uint64 term = 2;
}

message FetchClusterRequest {
}

Expand Down Expand Up @@ -94,7 +86,6 @@ service Protocol {
returns (commandpb.WaitSyncedResponse);
rpc ProposeConfChange (ProposeConfChangeRequest) returns (ProposeConfChangeResponse);
rpc Shutdown (ShutdownRequest) returns (ShutdownResponse);
rpc FetchLeader (FetchLeaderRequest) returns (FetchLeaderResponse);
rpc FetchCluster (FetchClusterRequest) returns (FetchClusterResponse);
rpc FetchReadState (FetchReadStateRequest) returns (FetchReadStateResponse);
}

0 comments on commit b8fc1c1

Please sign in to comment.