You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "killme2008 (via GitHub)" <gi...@apache.org> on 2025/08/22 07:05:24 UTC

[I] Repacment API for capabilities such as `list_has_content_length` etc. [opendal]

killme2008 opened a new issue, #6522:
URL: https://github.com/apache/opendal/issues/6522

   @Xuanwo @yihong0618 GreptimeDB used `list_has_content_length` to determine whether to call `stat` again:
   
   https://github.com/GreptimeTeam/greptimedb/blob/d774996e89648dbdf25326cc8440b51847095abb/src/object-store/src/layers/lru_cache/read_cache.rs#L163
   
   Since it’s been removed, is there a replacement API?
   
   Looks like it's always true, so maybe I can just remove this checking.
   
   Thank you.
   
   _Originally posted by @killme2008 in https://github.com/apache/opendal/issues/6313#issuecomment-3213239065_
               


-- 
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: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Repacment API for capabilities such as `list_has_content_length` etc. [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #6522:
URL: https://github.com/apache/opendal/issues/6522#issuecomment-3224432428

   I'm thinking of change `content_length() -> u64` into `Option<u64>`, but not sure if it's worth.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org