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
properly clear out the file.entry
Chris Lu02dc51b1edc0
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.goindex 759e21b15d..293b09dcfc 100644--- a/weed/filesys/wfs.go+++ b/weed/filesys/wfs.go@@ -96,7 +96,7 @@ func NewSeaweedFileSystem(option *Option) *WFS {fsNode := wfs.fsNodeCache.GetFsNode(filePath)if fsNode != nil {if file, ok := fsNode.(*File); ok {- file.entry = nil+ file.setEntry(nil)}}})