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.

log adjust format

Chris Lu47234760f40e
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index 9df94241af..bafbd7cc80 100644
--- a/weed/filesys/file.go
+++ b/weed/filesys/file.go
@@ -217,10 +217,9 @@ func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error {
}
func (file *File) Forget() {
- glog.V(3).Infof("Forget file %s/%s", file.dir.FullPath(), file.Name)
-
- file.wfs.fsNodeCache.DeleteFsNode(util.NewFullPath(file.dir.FullPath(), file.Name))
-
+ t := util.NewFullPath(file.dir.FullPath(), file.Name)
+ glog.V(3).Infof("Forget file %s", t)
+ file.wfs.fsNodeCache.DeleteFsNode(t)
}
func (file *File) maybeLoadEntry(ctx context.Context) error {