4 ms·
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 check
by boulos 3y ago
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.
- dpkirchner 3y agoYou 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-headers#xgoogifgenerationmatch https://cloud.google.com/storage/docs/xml-api/reference-head...