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
correctly clean up for a file
chrislude77d00c8115
diff --git a/weed/mount/weedfs_forget.go b/weed/mount/weedfs_forget.goindex 62946b216a..63b560cee5 100644--- a/weed/mount/weedfs_forget.go+++ b/weed/mount/weedfs_forget.go@@ -65,4 +65,5 @@ func (wfs *WFS) Forget(nodeid, nlookup uint64) {wfs.inodeToPath.Forget(nodeid, nlookup, func(dir util.FullPath) {wfs.metaCache.DeleteFolderChildren(context.Background(), dir)})+ delete(wfs.fhmap.inode2fh, nodeid)}