Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
This is a badly named API.
OMFileRequest.addToOpenFileTable() is specifically designed for S3 multipart upload,
/** * Adding multipart omKeyInfo to open file table. * *@paramomMetadataMgrOM Metadata Manager *@parambatchOpbatch of db operations *@paramomFileInfoomKeyInfo *@paramuploadIDuploadID *@returnmultipartFileKey *@throwsIOException DB failure */ public static String addToOpenFileTable(OMMetadataManager omMetadataMgr, BatchOperation batchOp, OmKeyInfo omFileInfo, String uploadID, long volumeId, long bucketId) throws IOException {
Adding to open file table for non-multipart upload and multipart upload are different. Please rename this API to avoid misuse in the future.
Attachments
Issue Links
- links to