chitralverma commented on issue #9316:
URL: https://github.com/apache/opendal/issues/9316#issuecomment-7274776944

   Thanks. The full scope has two goals:
   
   - **No drift.** The binding generators map every `WriteChecksum` variant and 
`ChecksumAlgo` from core. A generator test reads both enums, so a new variant 
or algorithm fails CI until each binding maps it.
   - **Same surface everywhere.** Today Python takes `Algo` only and Node.js 
takes nothing. A write without `checksum` stays unchanged.
   
   Uses:
   
   - `Expected`: the caller has a trusted digest, for example from a manifest. 
The service rejects a mismatch before commit, so a corrupt object never 
replaces the current version. A later `stat(checksum=True)` check finds it only 
after commit, with an extra request.
   - `Any` and `Fast`: generic upload code across services. Per-part 
verification is enough, without naming an algorithm a service may not support.
   
   The binding PRs will show each form on a real build.
   
   *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]

Reply via email to