allocate volume by disk type

This commit is contained in:
Chris Lu
2020-12-13 23:08:21 -08:00
parent f6a419c26c
commit 94525aa0fd
13 changed files with 1265 additions and 1237 deletions

View File

@@ -156,7 +156,7 @@ message FuseAttributes {
repeated string group_name = 12; // for hdfs
string symlink_target = 13;
bytes md5 = 14;
string volume_type = 15;
string disk_type = 15;
}
message CreateEntryRequest {
@@ -221,7 +221,7 @@ message AssignVolumeRequest {
string data_center = 5;
string path = 6;
string rack = 7;
string volume_type = 8;
string disk_type = 8;
}
message AssignVolumeResponse {
@@ -272,7 +272,7 @@ message StatisticsRequest {
string replication = 1;
string collection = 2;
string ttl = 3;
string volume_type = 4;
string disk_type = 4;
}
message StatisticsResponse {
uint64 total_size = 4;