[
https://issues.apache.org/jira/browse/HDDS-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17727744#comment-17727744
]
Wei-Chiu Chuang commented on HDDS-8649:
---------------------------------------
Probably make sense to add a helper method in OMKeyRequest and move all usage
over there.
> Remove duplicate helper methods getDBMultipartOpenKey()
> -------------------------------------------------------
>
> Key: HDDS-8649
> URL: https://issues.apache.org/jira/browse/HDDS-8649
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Wei-Chiu Chuang
> Assignee: JiaChi Wang
> Priority: Major
>
> There are a number of helper methods for computing the key name of a
> multipart upload file. They looks suspiciously similar and should be
> consolidated.
>
> E.g.:
> S3MultipartUploadCompleteRequestWithFSO.getDBMultipartOpenKey(),
> S3MultipartUploadAbortRequestWithFSO.getMultipartOpenKey(),
> part of S3InitiateMultipartUploadRequestWithFSO.validateAndUpdateCache(),
> KeyManager.getMultipartOpenKeyFSO(),
> OMKeyCreateRequestWithFSO.getDBMultipartOpenKey()
>
> And probably more. Please consolidate them into one.
> [~targetoee] [~Aaron6112080] if you are interested in picking this up.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]