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

Remaining fragments after cancel #176

Open
kingfisher77 opened this issue Sep 7, 2020 · 1 comment
Open

Remaining fragments after cancel #176

kingfisher77 opened this issue Sep 7, 2020 · 1 comment

Comments

@kingfisher77
Copy link

Hi, we are wondering what happens to the fragments of files which remains on the server when we cancel an upload. Are they meant to stay? Should we maintain the deletion with a separate process?

Steps to reproduce

  1. Upload big file (for example 5G)
  2. Cancel upload after a while
  3. All the 1M files remain on the server

Expected behaviour

The fragments should be deleted

Actual behaviour

The fragments remain.

Server configuration

Operating system:
CentOS 8

Web server:
nginx

Database:
PosgreSQL

PHP version:
7.4

Nextcloud version: (see Nextcloud admin page)
latest

@JonathanTreffler
Copy link
Collaborator

Yes, currently chunks only get deleted if you finish the upload. This is necessary for you to be able to continue uploads, even if the tab got closed.

It would be great if they would get deleted after a month or so, but we have not implemented that (yet ?).
It would not be very easy to implement, but not impossible.
BTW: You can safely delete chunks of old uploads.

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

No branches or pull requests

3 participants