aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/master.proto
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-01 22:13:47 -0800
committerChris Lu <chris.lu@gmail.com>2020-03-01 22:13:47 -0800
commit6a8484b4ae2615c2cc88e3a66d03aead3966ba7c (patch)
tree9cd878b35c425f24f22ac5246ed1d0046533dac6 /weed/pb/master.proto
parent0ca68a2a6d87786dbebe87fbd4b786b3318c1dcb (diff)
downloadseaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.tar.xz
seaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.zip
master able to list all master clients by type
Diffstat (limited to 'weed/pb/master.proto')
-rw-r--r--weed/pb/master.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto
index 9b1e884c7..4310b2602 100644
--- a/weed/pb/master.proto
+++ b/weed/pb/master.proto
@@ -25,6 +25,8 @@ service Seaweed {
}
rpc GetMasterConfiguration (GetMasterConfigurationRequest) returns (GetMasterConfigurationResponse) {
}
+ rpc ListMasterClients (ListMasterClientsRequest) returns (ListMasterClientsResponse) {
+ }
}
//////////////////////////////////////////////////
@@ -112,6 +114,7 @@ message SuperBlockExtra {
message KeepConnectedRequest {
string name = 1;
+ uint32 grpc_port = 2;
}
message VolumeLocation {
@@ -264,3 +267,10 @@ message GetMasterConfigurationResponse {
string metrics_address = 1;
uint32 metrics_interval_seconds = 2;
}
+
+message ListMasterClientsRequest {
+ string client_type = 1;
+}
+message ListMasterClientsResponse {
+ repeated string grpc_addresses = 1;
+}