mirror of
https://github.com/minio/minio.git
synced 2025-03-30 17:23:42 -04:00
list: Fix rare listing continuation freeze (#19524)
Reading the list metacache is not protected by a lock; the code retries when it fails to read the metacache object, however, it forgot to re-read the metacache object from the drives, which is necessary, especially if the metacache object is inlined. This commit will ensure that we always re-read the metacache object from the drives when it is retrying.
This commit is contained in:
parent
ca5fab8656
commit
dfc112c06b
@ -573,6 +573,7 @@ func (er *erasureObjects) streamMetadataParts(ctx context.Context, o listPathOpt
|
|||||||
continue
|
continue
|
||||||
case InsufficientReadQuorum:
|
case InsufficientReadQuorum:
|
||||||
retries++
|
retries++
|
||||||
|
loadedPart = -1
|
||||||
time.Sleep(retryDelay250)
|
time.Sleep(retryDelay250)
|
||||||
continue
|
continue
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user