Skip to content
Snippets Groups Projects
Commit 3e44d63e authored by Marco Primitivo's avatar Marco Primitivo Committed by Conrad Lara
Browse files

Issue #3279662 by Bladedu: storageClass check breaks integration with Google buckets

parent 022961b3
Branches
Tags
No related merge requests found
......@@ -552,12 +552,7 @@ class S3fsService implements S3fsServiceInterface {
if (isset($s3_metadata['IsLatest']) && !$s3_metadata['IsLatest']) {
return;
}
// Files with no StorageClass are actually from the DeleteMarkers list,
// rather then the Versions list. They represent a file which has been
// deleted, so don't cache them.
if (!isset($s3_metadata['StorageClass'])) {
return;
}
// Buckets with Versioning disabled set all files' VersionIds to "null".
// If we see that, unset VersionId to prevent "null" from being written
// to the DB.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment