mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
heal/list: Fix rare incomplete listing with flaky internode connections (#19625)
listPathRaw() counts errDiskNotFound as a valid error to indicate a listing stream end. However, storage.WalkDir() is allowed to return errDiskNotFound anytime since grid.ErrDisconnected is converted to errDiskNotFound. This affects fresh disk healing and should affect S3 listing as well.
This commit is contained in:
parent
410a1ac040
commit
d8e05aca81
@ -1095,8 +1095,7 @@ func listPathRaw(ctx context.Context, opts listPathRawOptions) (err error) {
|
||||
switch err.Error() {
|
||||
case errFileNotFound.Error(),
|
||||
errVolumeNotFound.Error(),
|
||||
errUnformattedDisk.Error(),
|
||||
errDiskNotFound.Error():
|
||||
errUnformattedDisk.Error():
|
||||
atEOF++
|
||||
fnf++
|
||||
// This is a special case, to handle bucket does
|
||||
|
Loading…
x
Reference in New Issue
Block a user