Browse Source

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

pull/3091/head
chrislu 3 years ago
parent
commit
a5cdcc7e63
  1. 2
      weed/filer/filechunk_manifest.go

2
weed/filer/filechunk_manifest.go

@ -68,7 +68,7 @@ func ResolveChunkManifest(lookupFileIdFn wdclient.LookupFileIdFunctionType, chun
manifestChunks = append(manifestChunks, chunk)
// recursive
dataChunks, manifestChunks, subErr := ResolveChunkManifest(lookupFileIdFn, resolvedChunks, startOffset, stopOffset)
subDataChunks, subManifestChunks, subErr := ResolveChunkManifest(lookupFileIdFn, resolvedChunks, startOffset, stopOffset)
if subErr != nil {
return chunks, nil, subErr
}

Loading…
Cancel
Save