You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/05/12 10:49:07 UTC

[GitHub] [ozone] ChenSammi commented on a diff in pull request #3201: HDDS-6091. Add file checksum to OmKeyInfo

ChenSammi commented on code in PR #3201:
URL: https://github.com/apache/ozone/pull/3201#discussion_r871234859


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmKeyInfo.java:
##########
@@ -577,6 +592,11 @@ private KeyInfo getProtobuf(boolean ignorePipeline, String fullKeyName,
         .setObjectID(objectID)
         .setUpdateID(updateID)
         .setParentID(parentObjectID);
+
+    FileChecksumProto fileChecksumProto = OMPBHelper.convert(fileChecksum);

Review Comment:
   Could check fileChecksum null before call the convert.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org