News for hackers. Stuff that matters.
Re:Gcsfuse: A user-space file system for interacting with Go... by boulos on Wednesday September 06, 2023 @08:00AM (#37403828)
Objects have three fields for this: Version, Generation, and Metageneration. There's also a checksum. You can be sure that you were the writer / winner by checking these.
Re:Gcsfuse: A user-space file system for interacting with Go... by dpkirchner on Wednesday September 06, 2023 @10:33AM (#37405744)
You can also send a x-goog-if-generation-match[0] header that instructs GCS to reject writes that would replace the wrong generation (sort of like a version) of a file. Some utilities use this for locking.

0: https://cloud.google.com/storage/docs/xml-api/reference-head...