peterxcli opened a new pull request, #7937:
URL: https://github.com/apache/ozone/pull/7937

   ## What changes were proposed in this pull request?
   
   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
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12371
   
   ## How was this patch tested?
   
   existing tests
   
   CI:
   https://github.com/peterxcli/ozone/actions/runs/13431235258


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to