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
filer: fix hanging on read
Chris Lu70af0ec24c79
diff --git a/weed/filer/stream.go b/weed/filer/stream.goindex f6e2a76432..a41aebe22c 100644--- a/weed/filer/stream.go+++ b/weed/filer/stream.go@@ -34,7 +34,7 @@ func StreamContent(masterClient *wdclient.MasterClient, w io.Writer, chunks []*furlStrings := fileId2Url[chunkView.FileId]data, err := retriedFetchChunkData(urlStrings, chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), chunkView.Offset, int(chunkView.Size))- if err == nil {+ if err != nil {return err}w.Write(data)