diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-01 22:13:47 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-01 22:13:47 -0800 |
| commit | 6a8484b4ae2615c2cc88e3a66d03aead3966ba7c (patch) | |
| tree | 9cd878b35c425f24f22ac5246ed1d0046533dac6 /weed/pb/master.proto | |
| parent | 0ca68a2a6d87786dbebe87fbd4b786b3318c1dcb (diff) | |
| download | seaweedfs-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.proto | 10 |
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; +} |
