[
https://issues.apache.org/jira/browse/HDDS-12371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-12371:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> Duplicate key scanning in `keyManagerImpl#listMultipartUploads` and
> `OmMetadataManagerImpl#getMultipartUploadKeys`
>
> we can change {{OmMetadataManagerIMpl#getMultipartUploadKeys}} to
> {{OmMetadataManagerIMpl#listMultipartUploads}} that returns
> {{List<OmMultipartKeyInfo>}} ({{{}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]