-
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
Folder size propagation not triggered by Webdav upload #18006
Comments
Regression from v8.0.5 where it worked properly. I suspect it might be related to the recent improvements on etag propagation. |
I knew it... it's the "work directly on storage when doing webdav PUT": #12006 |
Note: this will only affect files uploaded without chunking, since the chunking code doesn't work directly on storages (but it will eventually as per #17104) |
@icewind1991 can you fix this ? Thanks. |
Alternative for the future: update folder size in a background job: #18028 |
Steps to reproduce
Expected result
Folder size is updated to reflect the size of the picture inside.
Actual result
Folder size is still zero.
I noticed that in the database the propagation isn't happening after upload.
However the folder size will update itself later through other mechanisms, possibly through PROPFINDs or the scanner that the web UI triggers (ajax/scan.php) or the background cron scan.
This also means that the quota value (the total used space) will not be updated directly.
Uploading through the web UI properly propagates the sizes, so it's specific to Webdav.
Versions
stable8.1 (a9524e2)
I will bisect to find out when this regression was introduced.
Not sure how critical. Setting to 8.1.1 now but 8.1.2 might be fine.
@DeepDiver1975 @icewind1991 @schiesbn
The text was updated successfully, but these errors were encountered: