Force fetch metadata from object store
What does this MR do and why?
Sometimes the metadata is outdated and contains values for the local file because we're using the same object that was used to perform the upload. We're interested in the metadata from object store, so we need to burst that cache and force fetch it directly from the store.
Screenshots or screen recordings
Before:
Here Carrierwave fails to update the file attributes with the metadata received from Google. Note that the hash is available right after the upload.
After:
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #259619 (closed)
Edited by Marius Bobin