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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix https://github.com/chrislusf/seaweedfs/issues/2046
Konstantin Lebedev42f631f5495b
diff --git a/weed/filer/stream.go b/weed/filer/stream.goindex 661a210eaf..f1181740e2 100644--- a/weed/filer/stream.go+++ b/weed/filer/stream.go@@ -68,9 +68,12 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, w io.Writer, cfunc CheckAllChunkViews(chunkViews []*ChunkView, fileId2Url *map[string][]string, gErr *errgroup.Group) {for _, chunkView := range chunkViews {urlStrings := (*fileId2Url)[chunkView.FileId]- glog.V(9).Infof("Check chunk: %+v\n url: %v", chunkView, urlStrings)+ glog.V(9).Infof("Check chunk: %+v\n url: %+v", chunkView, urlStrings)+ if !chunkView.IsFullChunk() {+ continue+ }gErr.Go(func() error {- _, err := retriedFetchChunkData(urlStrings, chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), chunkView.Offset, int(chunkView.Size))+ _, err := retriedFetchChunkData(urlStrings, chunkView.CipherKey, chunkView.IsGzipped, false, 0, 2)return err})}