瀏覽代碼

HDDS-501. AllocateBlockResponse.keyLocation must be an optional field. Contributed by Arpit Agarwal.

Arpit Agarwal 6 年之前
父節點
當前提交
f176e8a3ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto

+ 1 - 1
hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto

@@ -324,7 +324,7 @@ message AllocateBlockRequest {
 
 message AllocateBlockResponse {
     required Status status = 1;
-    required KeyLocation keyLocation = 2;
+    optional KeyLocation keyLocation = 2;
 }
 
 message CommitKeyRequest {