mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 20:39:24 +08:00
correctly clean up for a file
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user