From 8da5d5b094f898c0b9c75cbccb63e0b0a125802e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 23 Jun 2019 01:57:35 -0700 Subject: filer.copy: use filer settings, avoid unnecessary command line options fix https://github.com/chrislusf/seaweedfs/issues/968 --- other/java/client/src/main/proto/filer.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'other/java/client/src/main') diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index 56814c39a..d72bced12 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -39,6 +39,9 @@ service SeaweedFiler { rpc Statistics (StatisticsRequest) returns (StatisticsResponse) { } + rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) { + } + } ////////////////////////////////////////////////// @@ -205,3 +208,12 @@ message StatisticsResponse { uint64 used_size = 5; uint64 file_count = 6; } + +message GetFilerConfigurationRequest { +} +message GetFilerConfigurationResponse { + repeated string masters = 1; + string replication = 2; + string collection = 3; + uint32 max_mb = 4; +} -- cgit v1.2.3