mirror of
https://github.com/minio/minio.git
synced 2025-07-15 03:41:53 -04:00
fix: crash in healObjects()
This commit is contained in:
parent
89db553204
commit
963f3ee047
@ -1840,8 +1840,8 @@ func (z *erasureServerSets) HealObjects(ctx context.Context, bucket, prefix stri
|
||||
var skipped int
|
||||
for _, zone := range z.serverSets {
|
||||
entryChs := zone.startMergeWalksVersions(ctx, bucket, prefix, "", true, true, ctx.Done())
|
||||
entriesInfos := make([]FileInfoVersions, 0, len(entryChs))
|
||||
entriesValid := make([]bool, 0, len(entryChs))
|
||||
entriesInfos := make([]FileInfoVersions, len(entryChs))
|
||||
entriesValid := make([]bool, len(entryChs))
|
||||
|
||||
for {
|
||||
entry, quorumCount, ok := lexicallySortedEntryVersions(entryChs, entriesInfos, entriesValid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user