Browse Source

fix reading files larger than 20GB due to manifest resolving bug

this is introduced since Mar 08 2022
pull/3091/head
chrislu 3 years ago
parent
commit
59cc3c0bfd
  1. 4
      weed/filer/filechunk_manifest.go

4
weed/filer/filechunk_manifest.go

@ -72,8 +72,8 @@ func ResolveChunkManifest(lookupFileIdFn wdclient.LookupFileIdFunctionType, chun
if subErr != nil {
return chunks, nil, subErr
}
dataChunks = append(dataChunks, dataChunks...)
manifestChunks = append(manifestChunks, manifestChunks...)
dataChunks = append(dataChunks, subDataChunks...)
manifestChunks = append(manifestChunks, subManifestChunks...)
}
return
}

Loading…
Cancel
Save