You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chung-En Lee (Jira)" <ji...@apache.org> on 2026/06/24 00:52:00 UTC

[jira] [Updated] (HDDS-15652) Support S3 signed multi chunks payload verification

     [ https://issues.apache.org/jira/browse/HDDS-15652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chung-En Lee updated HDDS-15652:
--------------------------------
    Issue Type: Improvement  (was: Sub-task)

> Support S3 signed multi chunks payload verification
> ---------------------------------------------------
>
>                 Key: HDDS-15652
>                 URL: https://issues.apache.org/jira/browse/HDDS-15652
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Ivan Andika
>            Assignee: Chung-En Lee
>            Priority: Major
>              Labels: pull-request-available
>
> Currently we use SignedChunkInputStream for parsing chunk payload with chunk signatures. However, no chunk signatures verification is done.
> We can support this feature. We might need to dynamically change the WriteChunk size based on the S3 chunk size specified (i.e. 1 S3 chunk = 1 WriteChunk) to fit more to S3 SDK behavior and prevent multiple round-trips per S3 chunk payload (Edit: might not be good since a single Ozone chunk is significantly larger than S3 chunk). Additionally, we also need to handle the trailer (if any).
> I expect that the solution is not straightforward since there are differences in architecture between Ozone and AWS S3, so some design document might be needed. Few things to note:
>  * We might need to keep track of the previous chunk signature since the subsequent chunk signature is derived from the previous chunk signature
>  * Support trailer SignedChunksInputStream: Perhaps adding a simple boolean flag and check for the trailer afterwards
>  * Checksum verification location: S3G or DN?
> Resources
> [https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html]
> [https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming-trailers.html]
> !screenshot-1.png|width=690,height=350!



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