Xuanwo commented on issue #5635:
URL: https://github.com/apache/opendal/issues/5635#issuecomment-7170305894

   Do you already have the source object's CRC32C before starting the upload? 
If the uploaded bytes differ, does your application need the previous 
destination to stay intact (or a new key to stay absent), or can it compare the 
returned checksum after the write?
   
   This matters for large GCS uploads. A JSON resumable upload can send the 
expected whole-object CRC32C on its final `PUT`. With XML multipart uploads, 
GCS can validate each part and returns the whole-object CRC32C when it 
completes the upload. By the time the caller compares that value, the new 
object may already be visible. [GCS data 
validation](https://cloud.google.com/storage/docs/data-validation) ยท [XML 
multipart 
completion](https://cloud.google.com/storage/docs/xml-api/post-object-complete)
   
   #5549 tracks the shared checksum work. RFC-6817 describes passing an 
expected whole-object checksum and returning the final one, and #7830 covers 
part of the write API. Your answer would clarify what the GCS implementation 
needs to guarantee. 
[RFC-6817](https://github.com/apache/opendal/blob/0bcf6b4/core/core/src/docs/rfcs/6817_checksum.md)
   
   *AI-generated maintenance comment.*
   


-- 
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]

Reply via email to