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
FUSE mount: rename correctly across folders
Chris Lu74e23e8d6473
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.goindex 9b0c0fe6e2..b590250f56 100644--- a/weed/filesys/dir_rename.go+++ b/weed/filesys/dir_rename.go@@ -43,7 +43,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirectoroldFileNode := dir.wfs.getNode(oldPath, func() fs.Node {return nil})- newDirNode := dir.wfs.getNode(filer2.FullPath(dir.Path), func() fs.Node {+ newDirNode := dir.wfs.getNode(filer2.FullPath(newDir.Path), func() fs.Node {return nil})dir.wfs.forgetNode(newPath)