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

[BUG] Retried successful uploads don't free space in /tmp folder #4335

Closed
jesmrec opened this issue Mar 5, 2024 · 0 comments · Fixed by #4341
Closed

[BUG] Retried successful uploads don't free space in /tmp folder #4335

jesmrec opened this issue Mar 5, 2024 · 0 comments · Fixed by #4341

Comments

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 5, 2024

EPIC:

Steps to reproduce

  1. Upload files to any folder
  2. Before the uploads finish, put server down (or any other way to make the uploads fail that's not a connection outage)
  3. After uploads are in "failed" in uploads view, put server up (or remove the impediment that made them fail in step 2.)
  4. In uploads view, click on Retry

Actual behaviour

Files are retried and finish with success. But, copies of such files remain in internal storage (/tmp). Without a failure, no leftovers in /tmp

Expected behaviour

Completed uploads should not leave leftovers in /tmp, does not matter whether the upload had or didn't have failures. Since /tmp folder is not cleaned up via workers, every failed upload is consuming local storage without the chance of freeing it.

Pixel 2, Android11
Galaxy Tab A8, Android13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment