From a20e896d97ab3e7453aeb2ab1e452488b78f1fb8 Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Tue, 24 Oct 2023 14:48:08 -0700 Subject: [PATCH] Ensure running quorum eval once --- 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 4209f27030e01..2928164dfe201 100644 --- a/cmd/erasure-object.go +++ b/cmd/erasure-object.go @@ -854,11 +854,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 }