meteorgan commented on issue #7062: URL: https://github.com/apache/opendal/issues/7062#issuecomment-3719549112
Thanks for the detailed and in-depth response. > The only thing that matters to us is the local fs and redis. We might also have `etcd`, but even so, there are only three services need to consider. > > The questions on my mind are: > > * When users call `list`, what do they actually want? Can we assume that in 90% of cases, they only want to know the size? Since I'm not a typical user, i may not have a very reasonable answer here. > * Is returning `Option<u64>` a good tradeoff just to satisfy two services? No. One of our principles is `Object Storage First`, so could we just simply document these two(or three) services don't return object size during listing and enforce this behavior with test case ? > * Is an extra stat call to `fs` or `redis` a high cost? Although it depends on the use case. this isn't really what I'd expect as a user. -- 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]
