aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src/main/proto
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-11-13 15:34:38 +0800
committerGitHub <noreply@github.com>2020-11-13 15:34:38 +0800
commite0d5207ed9ff6350e83497586ac9859d841a711a (patch)
tree5fa024e1108a53af325a79f09c0aadd63b41fb3b /other/java/client/src/main/proto
parenta38efe2e7baf34cb074c9db095f7db50de0fa156 (diff)
parenta2962604ad0bf83b26c692c72ddd40e648fb804d (diff)
downloadseaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.tar.xz
seaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.zip
Merge pull request #36 from chrislusf/master
sync
Diffstat (limited to 'other/java/client/src/main/proto')
-rw-r--r--other/java/client/src/main/proto/filer.proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 11c29e6ec..f75caec4e 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -348,3 +348,20 @@ message KvPutRequest {
message KvPutResponse {
string error = 1;
}
+
+// path-based configurations
+message FilerConf {
+ int32 version = 1;
+ message PathConf {
+ string location_prefix = 1;
+ string collection = 2;
+ string replication = 3;
+ string ttl = 4;
+ enum DiskType {
+ HDD = 0;
+ SSD = 1;
+ }
+ DiskType disk_type = 5;
+ }
+ repeated PathConf locations = 2;
+}