mirror of
https://github.com/minio/minio
synced 2024-07-21 18:35:07 +00:00
Make bucket failure fix with high concurrent load (#1630)
This commit is contained in:
parent
e4958f9757
commit
ee8605e333
|
@ -89,6 +89,7 @@ func parseDirents(dirPath string, buf []byte) (entries []string, err error) {
|
|||
// Could happen if it was deleted in the middle while
|
||||
// this list was being performed.
|
||||
if os.IsNotExist(err) {
|
||||
err = nil
|
||||
continue
|
||||
}
|
||||
return nil, err
|
||||
|
@ -104,7 +105,7 @@ func parseDirents(dirPath string, buf []byte) (entries []string, err error) {
|
|||
continue
|
||||
}
|
||||
}
|
||||
return
|
||||
return entries, nil
|
||||
}
|
||||
|
||||
// Return all the entries at the directory dirPath.
|
||||
|
|
Loading…
Reference in a new issue