fix: parallelize getPoolIdx() for object lookup (#11547)

This commit is contained in:
Harshavardhana authored and GitHub committed 2021-02-16 19:36:15 -08:00
1 parent 87cce344f6
commit aa8450a2a1
2 files changed
+16 -3

No files matched your search

+1 -1
View File
@@ -458,7 +458,7 @@ func (er erasureObjects) getObjectInfo(ctx context.Context, bucket, object strin
objInfo.StorageClass = sc
}
}
if !fi.VersionPurgeStatus.Empty() {
if !fi.VersionPurgeStatus.Empty() && opts.VersionID != "" {
// Make sure to return object info to provide extra information.
return objInfo, toObjectErr(errMethodNotAllowed, bucket, object)
}