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.

fix to avoid nil file an dirty pages

Chris Lu56ec8c45131e
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go
index ea53ed4c0b..8b1be52090 100644
--- a/weed/filesys/filehandle.go
+++ b/weed/filesys/filehandle.go
@@ -161,8 +161,6 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err
}
fh.f.entryViewCache = nil
fh.f.reader = nil
- fh.dirtyPages = nil
- fh.f = nil
return nil
}