mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
Fix unnecessary log messages to avoid flooding the logs (#5900)
This commit is contained in:
committed by
Harshavardhana
parent
9de8fefa90
commit
bb34bd91f1
@@ -66,7 +66,7 @@ func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error)
|
||||
func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error {
|
||||
maxCount, maxErr := reduceErrs(errs, ignoredErrs)
|
||||
if maxCount >= quorum {
|
||||
if maxErr != errFileNotFound {
|
||||
if maxErr != errFileNotFound && maxErr != errVolumeNotFound {
|
||||
logger.LogIf(ctx, maxErr)
|
||||
}
|
||||
return maxErr
|
||||
|
||||
Reference in New Issue
Block a user