chitralverma commented on PR #9426:
URL: https://github.com/apache/opendal/pull/9426#issuecomment-7276292812
`a1412a27c` puts the append and part-upload examples in `try`/`finally`.
Each keeps scratch objects under a unique prefix and deletes the listed version
of each one in `finally`, so a 412 or a versioned bucket leaves no scratch
data. The append example raises when `stat("log").version` is `None`, because
`if_version_match=None` composes without a condition, and the compaction
example deletes the composed versions instead of deleting by path.
- On fake-gcs-server 1.52.2, with a versioned and a plain bucket, sync and
async: each example succeeds. An injected 412 after a concurrent overwrite
keeps the concurrent bytes and leaves no current scratch object.
- Each scratch delete sends `?generation=` (42 of 42 in the emulator log).
The emulator still keeps a noncurrent copy, so "zero generations" needs real
GCS.
*This comment is AI assisted.*
--
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]