In Trino project we have a test using S3Mock.
We're upgrading to use S3Mock 4.10.0 to benefit from its support for S3 conditional writes.
We currently have two code paths for conditional writes with If-None-Match: *
- via
PutObject request
- via multi-part upload where write condition is verified in
CompleteMultipartUpload request
We noticed that in the second code path, when running with S3Mock 4.10.0, we get Status Code: 304 rather than 412 error code.