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
Use "part" folder for huge file operations #13756
Comments
interesting approach - this would also allow us to perform the real operation async. |
I'm setting this to 8.2 so we keep an eye on it. |
Moving this discussion to 9.0 |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
When deleting a huge folder with subfolders, it can take a long time to move it to trash (especially if from external storage).
One idea would be to first rename the folder "test" to "test.part" to make it invisible to regular file operations. At this point neither web UI nor sync client will see it, so it will appear as deleted, while the "test.part" folder is still being moved to trash.
Such idea could in some way also be applied to cross-storage renames (the ones where copy is not avoidable). The target folder could first be written as "target.part" on the target storage, and once all files are there, rename it to the final one.
What do you think ? @schiesbn @icewind1991 @karlitschek @DeepDiver1975
The text was updated successfully, but these errors were encountered: