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
Merge branch 'master' into head_check_all_chunks
Konstantin Lebedev84dce32a5781
diff --cc weed/filer/stream.goindex 880cb100e1,eb02d0e565..70a278ca57--- a/weed/filer/stream.go+++ b/weed/filer/stream.go@@@ -35,15 -38,21 +38,20 @@@ func StreamContent(masterClient wdclienfor _, chunkView := range chunkViews {urlStrings := fileId2Url[chunkView.FileId]+ start := time.Now()data, err := retriedFetchChunkData(urlStrings, chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), chunkView.Offset, int(chunkView.Size))+ stats.FilerRequestHistogram.WithLabelValues("chunkDownload").Observe(time.Since(start).Seconds())if err != nil {+ stats.FilerRequestCounter.WithLabelValues("chunkDownloadError").Inc()- glog.Errorf("read chunk: %v", err)return fmt.Errorf("read chunk: %v", err)}+_, err = w.Write(data)if err != nil {+ stats.FilerRequestCounter.WithLabelValues("chunkDownloadedError").Inc()- glog.Errorf("write chunk: %v", err)return fmt.Errorf("write chunk: %v", err)}+ stats.FilerRequestCounter.WithLabelValues("chunkDownload").Inc()}return nil