show raft leader via shell (#3796)

This commit is contained in:
Konstantin Lebedev
2022-10-06 19:10:41 +05:00
committed by GitHub
parent 0f522da367
commit 36daa7709d
5 changed files with 129 additions and 113 deletions

View File

@@ -400,7 +400,8 @@ message RaftListClusterServersResponse {
message ClusterServers {
string id = 1;
string address = 2;
string suffrage = 3; //
string suffrage = 3;
bool isLeader = 4;
}
repeated ClusterServers cluster_servers = 1;
}