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
adjust error and log
Chris Lu79168ab0bb40
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.goindex 348f144a6b..2cbec6b90b 100644--- a/weed/filesys/dir_rename.go+++ b/weed/filesys/dir_rename.go@@ -26,7 +26,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirectorglog.V(4).Infof("find existing directory entry: %v", request)resp, err := client.LookupDirectoryEntry(ctx, request)if err != nil {- glog.V(0).Infof("renaming find %s/%s: %v", dir.Path, req.OldName, err)+ glog.V(3).Infof("renaming find %s/%s: %v", dir.Path, req.OldName, err)return fuse.ENOENT}diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex a41d0d8e69..fd7903b205 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -145,13 +145,13 @@ func (file *File) maybeLoadAttributes(ctx context.Context) error {resp, err := client.LookupDirectoryEntry(ctx, request)if err != nil {- glog.V(0).Infof("file attr read file %v: %v", request, err)- return err+ glog.V(3).Infof("file attr read file %v: %v", request, err)+ return fuse.ENOENT}file.entry = resp.Entry- glog.V(1).Infof("file attr %v %+v: %d", file.fullpath(), file.entry.Attributes, filer2.TotalSize(file.entry.Chunks))+ glog.V(3).Infof("file attr %v %+v: %d", file.fullpath(), file.entry.Attributes, filer2.TotalSize(file.entry.Chunks))file.wfs.listDirectoryEntriesCache.Set(file.fullpath(), file.entry, file.wfs.option.EntryCacheTtl)