mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
XL and FS use different tree walk ignored errors (#2707)
This commit is contained in:
committed by
Harshavardhana
parent
a1ff351f21
commit
7a549096de
@@ -67,6 +67,15 @@ type xlObjects struct {
|
||||
objCacheEnabled bool
|
||||
}
|
||||
|
||||
// list of all errors that can be ignored in tree walk operation in XL
|
||||
var xlTreeWalkIgnoredErrs = []error{
|
||||
errFileNotFound,
|
||||
errVolumeNotFound,
|
||||
errDiskNotFound,
|
||||
errDiskAccessDenied,
|
||||
errFaultyDisk,
|
||||
}
|
||||
|
||||
func repairDiskMetadata(storageDisks []StorageAPI) error {
|
||||
// Attempt to load all `format.json`.
|
||||
formatConfigs, sErrs := loadAllFormats(storageDisks)
|
||||
|
||||
Reference in New Issue
Block a user