Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services/azfile: Check if dir exists before create #3646

Closed
Xuanwo opened this issue Nov 22, 2023 · 2 comments · Fixed by #3652
Closed

services/azfile: Check if dir exists before create #3646

Xuanwo opened this issue Nov 22, 2023 · 2 comments · Fixed by #3652
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed services/azfile

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Nov 22, 2023

https://github.com/apache/incubator-opendal/blob/b2b615b16f977dc3f889bc7bfe13a54106aea9b9/core/src/services/azfile/core.rs#L417-L423

For every request, we need to check if dir exists for the while path. Maybe we can check if dir exists before creating them?

@Xuanwo Xuanwo added services/azfile good first issue Good for newcomers help wanted Extra attention is needed labels Nov 22, 2023
@ZutJoe
Copy link
Contributor

ZutJoe commented Nov 22, 2023

i want to try it

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 22, 2023

i want to try it

Thanks a lot!

ZutJoe added a commit to ZutJoe/incubator-opendal that referenced this issue Nov 22, 2023
ZutJoe added a commit to ZutJoe/incubator-opendal that referenced this issue Nov 22, 2023
Xuanwo pushed a commit that referenced this issue Nov 23, 2023
* refactor(services/azfile): Check if dir exists before create (#3646)

* perf: change the sequence of checking dir

* fix: fmt code

* refactor: fmt

* refactor: fmt
Xuanwo pushed a commit that referenced this issue Nov 23, 2023
* refactor(services/azfile): Check if dir exists before create (#3646)

* perf: change the sequence of checking dir

* fix: fmt code

* refactor: fmt

* refactor: fmt

* feat: disable ftp for python and java binding

* docs: complete information

* docs: move content location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed services/azfile
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants