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
avoid changing inode
chrislu3df8f961175e
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.goindex 539ee67d26..f28c8af92d 100644--- a/weed/filesys/dir_rename.go+++ b/weed/filesys/dir_rename.go@@ -114,7 +114,6 @@ func (dir *Dir) handleRenameResponse(ctx context.Context, resp *filer_pb.StreamRif existingHandle, found := dir.wfs.handles[inodeId]; found && existingHandle != nil {glog.V(4).Infof("opened file handle %s => %s", oldPath, newPath)delete(dir.wfs.handles, inodeId)- existingHandle.handle = newPath.AsInode()existingHandle.f.entry.Name = newNamedir.wfs.handles[newPath.AsInode()] = existingHandle}