-
Notifications
You must be signed in to change notification settings - Fork 21
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
delete empty folder after delete #24
Comments
There was already one #15 and I would also prefer to have it. Might be an extra parameter at invocation will be a good compromise solution? |
@jjneely, @azhiltsov there is two way how we can do that - with an additional flag to I had a metrics:
If I will remove every So... Maybe it will be better to add some command like |
Basically, to integrate the find command invocation into buckyd. I'd be up for that. But yes, there are a bunch of corner cases and race conditions possible which is why I've been hesitant to add this. I've lost data because of deleting "empty" directories in my graphite cluster before. The full incantation I suggest is
The |
Hi.
I receive a lot of empty folders after removing metrics and it is bad for me, because I receive a lot of non exist fields in /find request. Now I fix it by
find /mnt/xvdx/ -type d -empty
, but maybe we should remove it after "delete" operation?I can create PR if you agree with it.
The text was updated successfully, but these errors were encountered: