HDFS-15660. StorageTypeProto is not compatiable between 3.x and 2.6. Contributed by Ryan Wu.

(cherry picked from commit da1ea2530f)
This commit is contained in:
Yiqun Lin 2020-12-07 18:52:12 +08:00
parent 3101299f02
commit b46ec61909
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ message StorageTypeQuotaInfosProto {
}
message StorageTypeQuotaInfoProto {
required StorageTypeProto type = 1;
optional StorageTypeProto type = 1 [default = DISK];
required uint64 quota = 2;
required uint64 consumed = 3;
}