From a4dfa00030b7c7e0aeeaee7c00da203dc9cd0ed0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 12 Nov 2020 00:39:59 -0800 Subject: adjust filer conf --- other/java/client/src/main/proto/filer.proto | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'other/java/client/src') 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; } -- cgit v1.2.3