From 59cc3c0bfdd560018b3ee2e0ab3dbe401e7d12f2 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 23 May 2022 01:14:56 -0700 Subject: [PATCH] fix reading files larger than 20GB due to manifest resolving bug this is introduced since Mar 08 2022 --- weed/filer/filechunk_manifest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.go index a1f84b38e..6ff6fd2b0 100644 --- a/weed/filer/filechunk_manifest.go +++ b/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 }