aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/filer.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/filer.proto')
-rw-r--r--weed/pb/filer.proto20
1 files changed, 20 insertions, 0 deletions
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto
index 11c29e6ec..f61b62fa3 100644
--- a/weed/pb/filer.proto
+++ b/weed/pb/filer.proto
@@ -348,3 +348,23 @@ 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 {
+ NONE = 0;
+ HDD = 1;
+ SSD = 2;
+ }
+ DiskType disk_type = 5;
+ bool fsync = 6;
+ uint32 volume_growth_count = 7;
+ }
+ repeated PathConf locations = 2;
+}