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 2021/12/22 12:27:01 UTC
[GitHub] [ozone] rakeshadr commented on a change in pull request #2941: HDDS-5807. [FSO] Merge HDDS-4653 changes to support TDE for MPU Keys in FSO bucket layout.
rakeshadr commented on a change in pull request #2941:
URL: https://github.com/apache/ozone/pull/2941#discussion_r773849468
##########
File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
##########
@@ -485,6 +495,31 @@ protected void getFileEncryptionInfoForMpuKey(KeyArgs keyArgs,
}
}
+ /**
+ * Get parent ID for the user given keyName.
+ *
+ * @param omMetadataManager
+ * @param volumeName - volume name.
+ * @param bucketName - bucket name.
+ * @param keyName - key name.
+ * @return
+ * @throws IOException
+ */
+ protected long getParentId(OMMetadataManager omMetadataManager,
Review comment:
I think, its good to move this utility function to OmFileRequest.java class, isn't it?
--
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