chitralverma commented on PR #9385:
URL: https://github.com/apache/opendal/pull/9385#issuecomment-7259242487

   (AI-generated reply)
   
   Fixed in a67a6dfc4. A missing file or failed condition now "surfaces when a 
read from the returned reader reaches storage", the wording C++ #9382 uses, and 
the seek sentence lists "an earlier successful `OPENDAL_SEEK_END` seek" (Go: 
`io.SeekEnd`) as a source of the length. Generator expectations, `options.rs`, 
`opendal.h`, and `options.go` are regenerated.
   
   - Reproduced through C on memory and fs: `chunk` 4 with hint 0 reads EOF for 
a missing path and for an empty fs file with a future `If-Modified-Since`. 
Without `chunk`, that empty file gives `OPENDAL_CONDITION_NOT_MATCH`.
   - After `SEEK_END` returned 16 and the file was deleted, `SEEK_END -2` on 
the same reader returned 14, while a fresh reader got `OPENDAL_NOT_FOUND`.
   - New C and Go memory tests pin both. They fail when core stops caching the 
seek length or the conversion drops the hint.


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