Skip to content

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.

commented prints

Chris Lubda13ed59338
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.go
index b590250f56..1a220a0635 100644
--- a/weed/filesys/dir_rename.go
+++ b/weed/filesys/dir_rename.go
@@ -46,6 +46,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector
newDirNode := dir.wfs.getNode(filer2.FullPath(newDir.Path), func() fs.Node {
return nil
})
+ // fmt.Printf("new path: %v dir: %v node:%+v\n", newPath, newDir.Path, newDirNode)
dir.wfs.forgetNode(newPath)
dir.wfs.forgetNode(oldPath)
if oldFileNode != nil && newDirNode != nil {