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
add back handles lock
Chris Lud43129d27fec
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.goindex da4f1b2322..573706b21e 100644--- a/weed/filesys/dir_rename.go+++ b/weed/filesys/dir_rename.go@@ -63,6 +63,9 @@ 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)++ wfs.handlesLock.Lock()+ defer wfs.handlesLock.Unlock()delete(dir.wfs.handles, oldPath.AsInode())return err