-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Reset checksum when writing files to object store #27586
Conversation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
are backports necessary? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's see what icewind thinks.
/backport to stable22 |
/backport to stable21 |
/backport to stable20 |
Hello, do you think it would be possible to backport it to 19? Or is it risky/not recommended? Thanks for your help :) |
19 is having its last release today and goes EOL. So it would not get included. |
Oh, didn't know that. Thanks for the info ! Gotta update quick I guess :) |
With a local storage the checksum will be reset when scanning the file after writing to it:
server/lib/private/Files/Cache/Scanner.php
Line 222 in 215aef3
This does not work for object store storage backends as those use a NoopScanner so the checksum was never reset for those.
Fixes #27563