aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-12 00:39:59 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-12 00:39:59 -0800
commita4dfa00030b7c7e0aeeaee7c00da203dc9cd0ed0 (patch)
treeea1d56908d49d6c1a1bb7dc18a6e8ae127ed42c1 /other/java/client/src
parent2251a8e472d021190a57b2bce2b618473e3ca44c (diff)
downloadseaweedfs-a4dfa00030b7c7e0aeeaee7c00da203dc9cd0ed0.tar.xz
seaweedfs-a4dfa00030b7c7e0aeeaee7c00da203dc9cd0ed0.zip
adjust filer conf
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto19
1 files changed, 14 insertions, 5 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 8829062f4..f75caec4e 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -350,9 +350,18 @@ message KvPutResponse {
}
// path-based configurations
-message FilerPathConfiguration {
- string location = 1;
- string collection = 2;
- string replication = 3;
- string ttl = 4;
+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;
}