mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +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:
@@ -33,7 +33,7 @@ import (
|
||||
)
|
||||
|
||||
// list all errors which can be ignored in object operations.
|
||||
var objectOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied)
|
||||
var objectOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk)
|
||||
|
||||
// putObjectDir hints the bottom layer to create a new directory.
|
||||
func (er erasureObjects) putObjectDir(ctx context.Context, bucket, object string, writeQuorum int) error {
|
||||
|
||||
Reference in New Issue
Block a user