aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-23 01:57:35 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-23 01:57:35 -0700
commit8da5d5b094f898c0b9c75cbccb63e0b0a125802e (patch)
tree52cca43703a0c9797c53370837b40f738b3528d2 /other/java
parentd1cd8f8c5bedf2c5055579e6fb9bfaded32777c0 (diff)
downloadseaweedfs-8da5d5b094f898c0b9c75cbccb63e0b0a125802e.tar.xz
seaweedfs-8da5d5b094f898c0b9c75cbccb63e0b0a125802e.zip
filer.copy: use filer settings, avoid unnecessary command line options
fix https://github.com/chrislusf/seaweedfs/issues/968
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/proto/filer.proto12
1 files changed, 12 insertions, 0 deletions
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;
+}