[
https://issues.apache.org/jira/browse/HDDS-12371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-12371:
-------------------------------
Fix Version/s: 2.0.0
> Duplicated key scanning on multipartInfo table when listing multipart uploads
> -----------------------------------------------------------------------------
>
> Key: HDDS-12371
> URL: https://issues.apache.org/jira/browse/HDDS-12371
> Project: Apache Ozone
> Issue Type: Improvement
> Components: OM
> Reporter: Peter Lee
> Assignee: Peter Lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> Duplicate key scanning in `keyManagerImpl#listMultipartUploads` and
> `OmMetadataManagerImpl#getMultipartUploadKeys`
>
> we can change {{OmMetadataManagerIMpl#getMultipartUploadKeys}} to
> {{OmMetadataManagerIMpl#listMultipartUploads}} that returns
> {{List<OmMultipartUpload>}} ({{{}OmMetadataManagerImpl{}}} only takes care of
> simple OM DB operations), and the {{KeyManagerImpl#listMultipartUploads}}
> will be in charge of setting the {{{}nextKeyMarker{}}}, {{{}nextUploadId{}}},
> and {{{}isTruncated{}}}, finally converting it to {{OmMultipartUploadList.}}
> {{}}
> {{Then we can also remove the MultipartUploadKeys class.}}
>
> https://github.com/apache/ozone/pull/7817#discussion_r1957672527
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]