opendal icon indicating copy to clipboard operation
opendal copied to clipboard

Stat a dir cloud be super slow on some storage services

Open Xuanwo opened this issue 3 months ago • 0 comments

OpenDAL supports RFC-3243: List Prefix, ensuring accurate results when users call stat("path/to/dir") by retrieving the first item via list. However, this method may be extremely slow or could even time out on certain storage services that do not optimized for the list_with().limit(1) operation.

Maybe we should take one step back that make this behavior optional?

Xuanwo avatar Apr 03 '24 10:04 Xuanwo