adutra opened a new pull request, #15171:
URL: https://github.com/apache/iceberg/pull/15171

   Fixes #15166.
   
   The cache key for signed responses only included method, region, and URI, 
but not headers like `x-amz-content-sha256` that are part of the signature. 
This caused 403 errors when different content was uploaded to the same URI 
within the cache TTL.
   
   This fix uses the full `S3SignRequest` as the cache key. This is the only 
100% safe option because we cannot know which headers the server will sign and 
which ones it will ignore; any header included in the signature *must* be part 
of the cache key.
   
   **This change reduces cache efficiency**; but that's the price to pay for 
correctness.


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