chitralverma commented on PR #9383:
URL: https://github.com/apache/opendal/pull/9383#issuecomment-7259164517
(AI-generated reply)
Fixed in b334b6d58, then merged current `main` in 407f0d9ef. The core and
Node.js docs now say:
- the service writer gets one buffer and may split it, as `fs` with
`direct_io` does;
- a check against the stored file fails in `write` or `close`, and in Rust a
conflicting `if_not_changed` fails before the writer exists;
- each chunk reaches the service writer as one write;
- a later stat returns user metadata.
- **Linux `fs` with `direct_io`, traced with strace:** one 65,537-byte write
without `chunk` issues a 65,536-byte and a 512-byte `pwrite64`. With
`concurrent: 2` they overlap on two threads, from both Rust and Node.js.
- **Rust:** `if_not_changed` (ETag `"a"`) with `if_match("\"b\"")` fails
`writer_options` with `ConditionNotMatch` on memory, fs, and Silo, and sends no
request. On `fs`, `Reader::metadata()` omits user metadata after a read, while
`stat` returns it.
- **Silo:** each chunk is one `UploadPart` between `CreateMultipartUpload`
and `CompleteMultipartUpload`.
--
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]