From 66d286070d243dc1ae0064886e5e49279480f989 Mon Sep 17 00:00:00 2001 From: Anis Eleuch Date: Tue, 24 Oct 2023 16:35:39 -0700 Subject: [PATCH] Ensure running quorum eval once (#26) --- cmd/erasure-object.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/erasure-object.go b/cmd/erasure-object.go index e62cf1f2f9edff..83982a413936dc 100644 --- a/cmd/erasure-object.go +++ b/cmd/erasure-object.go @@ -857,11 +857,10 @@ func (er erasureObjects) getObjectFileInfo(ctx context.Context, bucket, object s if success { validResp++ } - if !opts.FastGetObjInfo { - if totalResp < er.setDriveCount { + if totalResp < er.setDriveCount { + if !opts.FastGetObjInfo { continue } - } else { if validResp < minDisks { continue }