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

Deleting documents takes so time #9217

Closed
vgcouso opened this issue Jun 26, 2014 · 5 comments
Closed

Deleting documents takes so time #9217

vgcouso opened this issue Jun 26, 2014 · 5 comments

Comments

@vgcouso
Copy link

vgcouso commented Jun 26, 2014

I've more than 200.000 documents in my profile and when I want to delete one folder seems to be imposible becouse takes a lot of time (several minutes).
It's the same in folders with little documents.
This happens in the web and my version is 6.0.3
I've Xampp with Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 in a windows 8.1 pro and opcache enabled

@PVince81
Copy link
Contributor

I assume you have the "Delete files" app enabled ?
When deleting files, they are moved to the trashbin (possibly through a copy operation) which might explain why it takes that long.

@schiesbn

@PVince81
Copy link
Contributor

@schiesbn I believe you said it wouldn't be possible to move the files directly to the trashbin if we detect a local storage ? (it wouldn't work for external storage anyway)

@enoch85
Copy link
Member

enoch85 commented Mar 5, 2015

Any update on this?

@PVince81
Copy link
Contributor

PVince81 commented Mar 5, 2015

There are two tasks in progress.

  1. Make trashbin expiration faster: Only rescan versions once in trashbin #14640 (hopefully backportable fix)
  2. Move trashbin expiration to a background job (for OC 8.1): Expire files from the trash in the background #14644
  3. Instead of copying file to the trash, move them: this is already in OC 8.0.0 ([trashbin] replace hook with storage wrapper #13377)

@PVince81
Copy link
Contributor

PVince81 commented Mar 6, 2015

Closing in favor of #13974 (comment)

@PVince81 PVince81 closed this as completed Mar 6, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants