You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
Skip init empty and writable base dir
### Why are the changes needed?
In some deployment env, base dir could be a mount point
This fixes#571
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Added UT
Code of Conduct
Search before asking
What would you like to be improved?
Skip delete base storage if it's already an empty dir.
How should we improve?
When deploying on containerized environment, such as K8S. base path maybe mounted by the platform, and it cannot be removed.
When the base directory is already an empty dir, we don't have to rm the directory and recreated again.
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: