Version IDs and delete markers
With versioning enabled, an overwrite normally creates a new object version instead of erasing the older version. A simple delete creates a delete marker that hides the current object from ordinary reads. Older versions can still be addressed by version ID. Removing the marker can reveal the previous version again. Writing v1 then v2 to notes.txt produces separate version IDs; a delete without a version ID hides the name, while GetObject using the recorded v1 ID can still retrieve the earlier body. Version-aware recovery protects against simple overwrite mistakes and explains why a bucket that appears empty in an ordinary listing may still contain stored and billed versions. Using ordinary object deletion as complete teardown leaves noncurrent versions and markers; inventory versions explicitly before claiming a versioned bucket is empty or no longer consuming storage.
Writing v1 then v2 to notes.txt produces separate version IDs; a delete without a version ID hides the name, while GetObject using the recorded v1 ID can still retrieve the earlier body.
Version-aware recovery protects against simple overwrite mistakes and explains why a bucket that appears empty in an ordinary listing may still contain stored and billed versions.
Using ordinary object deletion as complete teardown leaves noncurrent versions and markers; inventory versions explicitly before claiming a versioned bucket is empty or no longer consuming storage.