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
report error first
Chris Luf5837b700079
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.goindex b0242fb19d..a40135b422 100644--- a/weed/filesys/filehandle.go+++ b/weed/filesys/filehandle.go@@ -68,14 +68,14 @@ func (fh *FileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fustotalRead = max(maxStop - req.Offset, totalRead)}- totalRead = min(int64(len(buff)), totalRead)- resp.Data = buff[:totalRead]-if err != nil {glog.Errorf("file handle read %s: %v", fh.f.fullpath(), err)return fuse.EIO}+ totalRead = min(int64(len(buff)), totalRead)+ resp.Data = buff[:totalRead]+return err}