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 logs
Chris Lued4b43b419dc
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex 645051821c..46f5f22edc 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -465,7 +465,7 @@ func (dir *Dir) saveEntry() error {glog.V(1).Infof("save dir entry: %v", request)_, err := client.UpdateEntry(context.Background(), request)if err != nil {- glog.V(0).Infof("UpdateEntry dir %s/%s: %v", parentDir, name, err)+ glog.Errorf("UpdateEntry dir %s/%s: %v", parentDir, name, err)return fuse.EIO}diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex 8db892447e..a501493d8c 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -85,7 +85,7 @@ func (file *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, respfunc (file *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error) {- glog.V(5).Infof("file %v open %+v", file.fullpath(), req)+ glog.V(4).Infof("file %v open %+v", file.fullpath(), req)file.isOpen++@@ -293,7 +293,7 @@ func (file *File) saveEntry() error {glog.V(4).Infof("save file entry: %v", request)_, err := client.UpdateEntry(context.Background(), request)if err != nil {- glog.V(0).Infof("UpdateEntry file %s/%s: %v", file.dir.FullPath(), file.Name, err)+ glog.Errorf("UpdateEntry file %s/%s: %v", file.dir.FullPath(), file.Name, err)return fuse.EIO}diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.goindex 8803c31e0f..e8e619c4a4 100644--- a/weed/filesys/wfs.go+++ b/weed/filesys/wfs.go@@ -135,7 +135,7 @@ func (wfs *WFS) ReleaseHandle(fullpath util.FullPath, handleId fuse.HandleID) {wfs.handlesLock.Lock()defer wfs.handlesLock.Unlock()- glog.V(5).Infof("%s ReleaseHandle id %d current handles length %d", fullpath, handleId, len(wfs.handles))+ glog.V(4).Infof("%s ReleaseHandle id %d current handles length %d", fullpath, handleId, len(wfs.handles))delete(wfs.handles, fullpath.AsInode())diff --git a/weed/storage/volume_read_write.go b/weed/storage/volume_read_write.goindex 4a997832c3..e77010dbd2 100644--- a/weed/storage/volume_read_write.go+++ b/weed/storage/volume_read_write.go@@ -263,6 +263,7 @@ func (v *Volume) readNeedle(n *needle.Needle, readOption *ReadOption) (int, erroreadSize := nv.Sizeif readSize.IsDeleted() {if readOption != nil && readOption.ReadDeleted && readSize != TombstoneFileSize {+ glog.V(3).Infof("reading deleted %s", n.String())readSize = -readSize} else {return -1, errors.New("already deleted")