hcrosse commented on PR #8585:
URL: https://github.com/apache/opendal/pull/8585#issuecomment-7114222116

   Ran the live AWS S3 (`us-east-1`) A/B check against `main` and this branch 
(after merging `main`) using `Operator::writer_with().if_match(...)` with a two 
part multipart upload:
   
   | Case | Raw AWS S3 response | `main` | This PR |
   | --- | --- | --- | --- |
   | Aborted upload targeting an existing key with matching `If-Match` | `404 
NoSuchUpload` | `ConditionNotMatch` (`write precondition requires a live 
target`) | permanent `Unexpected` (`NoSuchUpload`) |
   | Completed upload, concurrent overwrite, then replayed 
`CompleteMultipartUpload` with old `If-Match` | `404 NoSuchUpload` | 
`ConditionNotMatch` (`write precondition requires a live target`) | permanent 
`Unexpected` (`NoSuchUpload`) |
   | Live upload targeting a missing key with `If-Match` | `404 NoSuchKey` | 
`ConditionNotMatch` | `ConditionNotMatch` |
   | Live upload targeting an existing key with wrong `If-Match` | `412 
PreconditionFailed` | `ConditionNotMatch` | `ConditionNotMatch` |
   
   (Without an intervening overwrite or delete, AWS S3 returned `200 OK` when 
replaying the same `CompleteMultipartUpload` 3s to 5s after completion, while 
any intervening overwrite or delete turned the replay into `404 NoSuchUpload`.)
   
   Ready for review now that the live S3 check is in.
   


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