Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

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

chrislu59cc3c0bfdd5
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.go
index a1f84b38e4..6ff6fd2b05 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
}