mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
add unformatted disk as part of the error list (#10128)
these errors should be ignored for quorum error calculation to ensure that we don't prematurely return unformatted disk error as part of API calls
This commit is contained in:
@@ -26,7 +26,7 @@ import (
|
||||
)
|
||||
|
||||
// list all errors that can be ignore in a bucket operation.
|
||||
var bucketOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied)
|
||||
var bucketOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk)
|
||||
|
||||
// list all errors that can be ignored in a bucket metadata operation.
|
||||
var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
|
||||
|
||||
Reference in New Issue
Block a user