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

this is introduced since Mar 08 2022
This commit is contained in:
chrislu 2022-05-23 01:14:56 -07:00
parent acc318e12b
commit 59cc3c0bfd

View file

@ -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
}