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

[#571] feat: skip init for empty writable base dir #573

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

advancedxy
Copy link
Contributor

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

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @advancedxy wait for CI.

@advancedxy
Copy link
Contributor Author

Thanks, I'm merging this.

@advancedxy advancedxy merged commit 7dcaeeb into apache:master Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] Don't delete base storage path if it's already an empty dir
2 participants