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.

release the goroutine to read errors

Chris Lu5039aff3101e
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go
index 43991376be..c7051c961e 100644
--- a/weed/filesys/filehandle.go
+++ b/weed/filesys/filehandle.go
@@ -183,6 +183,9 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
fh.f.wfs.ReleaseHandle(fh.f.fullpath(), fuse.HandleID(fh.handle))
}
+ // stop the goroutine
+ close(fh.dirtyPages.chunkSaveErrChan)
+
return nil
}