adjust filer conf

This commit is contained in:
Chris Lu
2020-11-12 00:39:59 -08:00
parent 2251a8e472
commit a4dfa00030
3 changed files with 434 additions and 276 deletions

View File

@@ -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;
}