tanvipenumudy opened a new pull request, #5565: URL: https://github.com/apache/ozone/pull/5565
## What changes were proposed in this pull request? Currently, we do not support a 'ranged' GET request for a specified part, which is useful for downloading just a part of a multipart key. Even when a part number has been specified, we still download the entire multipart key. With this fix, we should be able to download just a part of a multipart key. The additional client logic introduced takes advantage of the existing `BlockID` to `partNumber` mapping as part of the [KeyLocation](https://github.com/apache/ozone/blob/master/hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto#L1019-L1035) proto message for filtering out the [OmKeyLocationInfo](https://github.com/apache/ozone/blob/master/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmKeyLocationInfo.java) list. Reference: [Amazon S3 GetObject Documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html#AmazonS3-GetObject-request-querystring-PartNumber) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9654 ## How was this patch tested? Added integration tests. -- 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]
