BubbleCal opened a new pull request, #928:
URL: https://github.com/apache/arrow-rs-object-store/pull/928

   # Which issue does this PR close?
   
   Closes #927.
   
   # Rationale for this change
   
   A conditional copy that encounters an existing destination should report 
`AlreadyExists`. S3 Express can report a failed copy as XML inside HTTP 200, 
and the multipart copy path needs different credentials for copying parts and 
completing the upload.
   
   # What changes are included in this PR?
   
   - Handle root S3 error responses without changing the handling of individual 
errors in a `DeleteObjects` response. Treat conflicts and missing upload IDs as 
operation failures when they do not establish that the destination exists.
   - Sign `UploadPartCopy` with IAM credentials. Keep Express session 
credentials for ordinary uploads and keep object condition headers out of 
`CreateSession`.
   - Add mock coverage for these paths, including the existing custom status 
configuration and the distinction between a missing source and a missing upload.
   
   The two focused AWS tests passed on Linux against this source tree.
   
   # Are there any user-facing changes?
   
   Conditional S3 Express copies now report destination conflicts and use the 
credentials expected by S3. Public API signatures are unchanged.
   
   OpenAI Codex assisted with the implementation and regression 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]

Reply via email to