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

Possibility to truly (physically) delete files #177

Open
Daniel-WWU-IT opened this issue Jul 13, 2022 · 3 comments
Open

Possibility to truly (physically) delete files #177

Daniel-WWU-IT opened this issue Jul 13, 2022 · 3 comments

Comments

@Daniel-WWU-IT
Copy link

When using the usual CS3API calls to delete a file, that file is not physically deleted but moved into a recycle bin. This is extremely problematic when performing health checks: These checks upload about 100kb per run and delete the files afterwards. However, since these files are only moved to some other place, they quickly pile up, resulting in full volumes.

As uploading files is an essential check, we either need (a) an option to truly delete files, (b) a way of clearing the recycle bin of the current user (might already be there), (c) another workaround.

@Daniel-WWU-IT
Copy link
Author

I worked around this issue by purging the user's recycle bin after execution. But this might still be worth some consideration...

@labkode
Copy link
Member

labkode commented Jul 14, 2022

I think this is related purely to the implementation of the localfs backend, perhaps an option should be added to this driver to skip trashbin by means of a configuration line?

@Daniel-WWU-IT
Copy link
Author

Daniel-WWU-IT commented Jul 14, 2022

Would certainly make sense, since deleted files can really pile up quickly. For the health checks, this additional cleanup works fine, but files from other users would pile up in the same way, so...

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

No branches or pull requests

2 participants