remove fsnode cache

fix https://github.com/chrislusf/seaweedfs/issues/1400
This commit is contained in:
Chris Lu
2020-07-24 09:25:54 -07:00
parent 6962ca48d3
commit 5788f1f6bf
6 changed files with 9 additions and 323 deletions

View File

@@ -62,7 +62,6 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector
}
// fmt.Printf("rename path: %v => %v\n", oldPath, newPath)
dir.wfs.fsNodeCache.Move(oldPath, newPath)
delete(dir.wfs.handles, oldPath.AsInode())
return err