You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Peter Lee (Jira)" <ji...@apache.org> on 2025/02/19 06:12:00 UTC

[jira] [Created] (HDDS-12371) Duplicated key scanning on multipartInfo table when listing multipart uploads

Peter Lee created HDDS-12371:
--------------------------------

             Summary: 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


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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org