-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix: remove just uploaded files in case of error - also for storages … #40892
Conversation
20da6a8
to
8d746ff
Compare
8390339
to
a080a2c
Compare
a080a2c
to
6369bb9
Compare
Confirmed. This fixes the broken files after timeout. |
merge it? |
AFAIK it is fine to merge. Who decides to press the merge button these days? |
I would like to add some unit tests for this ..... but I can do this in a follow up pr as well .... |
@DeepDiver1975 also needs a changelog entry. |
7f99193
to
3ced26a
Compare
…which do not support part files
3ced26a
to
b8e8e58
Compare
Kudos, SonarCloud Quality Gate passed! |
now squashed and with changelog |
@pako81 this has been reviewed by multiple people and approved. |
…which do not support part files
Description
Storage which does not support part files (external storage and s3) can leave broken files in the user space.
This change cleans up these broken files.
Alternative approach to #40891 - which is breaking apis too badly ...
Related Issue
How Has This Been Tested?
One has to force a failure during upload - e.g. adding one byte to the expected size at
core/apps/dav/lib/Connector/Sabre/File.php
Line 229 in 20da6a8
Screenshots (if appropriate):
Types of changes
Checklist: