You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS has added conditional write support for S3. Using conditional writes improves write atomicity in tensorstore, with some caveats:
1/ Not all S3 compatible object stores support if-match; tensorstore will not issue conditional writes except on aws unless the variable TENSORSTORE_S3_USE_CONDITIONAL_WRITE is set.
2/ DELETE on AWS is not atomic, even when conditional writes are supported, as DELETE only supports if-match for directory buckets, so at present the if-match header is not used.
Relevant API docs:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.htmlhttps://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.htmlFixes: #211
PiperOrigin-RevId: 721962621
Change-Id: Ia2831aabba645686de98e4f95103a00ae0b30498
0 commit comments