You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/03/25 09:53:31 UTC

[GitHub] [incubator-opendal] Xuanwo commented on issue #1757: Allow users to opt-out creating `root` dir when building `Fs` backend

Xuanwo commented on issue #1757:
URL: https://github.com/apache/incubator-opendal/issues/1757#issuecomment-1483781736

   I don't understand the purpose of creating a file system backend on a non-existent root. For instance, if a user creates a backend with `/not_exist` and tries to read `hello.txt`, they will receive a NotFound error. This can cause confusion for the user who then needs to figure out what went wrong.
   
   I would prefer to return an error instead, but this change will break the fs backend. Let's keep this issue open and see if others share the same concern.


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