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 logging
Chris Lue6f9f5da3a7f
diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.goindex d82ef97827..6f4d449ff7 100644--- a/weed/server/filer_grpc_server.go+++ b/weed/server/filer_grpc_server.go@@ -20,6 +20,7 @@ func (fs *FilerServer) LookupDirectoryEntry(ctx context.Context, req *filer_pb.Lentry, err := fs.filer.FindEntry(ctx, filer2.FullPath(filepath.ToSlash(filepath.Join(req.Directory, req.Name))))if err != nil {+ glog.V(3).Infof("LookupDirectoryEntry %s: %+v, ", filepath.Join(req.Directory, req.Name), err)return nil, err}diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.goindex cd11356b97..d89d13a0d9 100644--- a/weed/server/volume_server_handlers_read.go+++ b/weed/server/volume_server_handlers_read.go@@ -54,7 +54,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)return}- glog.V(4).Infoln("volume", volumeId, "reading", n)+ // glog.V(4).Infoln("volume", volumeId, "reading", n)hasVolume := vs.store.HasVolume(volumeId)_, hasEcVolume := vs.store.FindEcVolume(volumeId)if !hasVolume && !hasEcVolume {@@ -88,7 +88,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)} else if hasEcVolume {count, err = vs.store.ReadEcShardNeedle(context.Background(), volumeId, n)}- glog.V(4).Infoln("read bytes", count, "error", err)+ // glog.V(4).Infoln("read bytes", count, "error", err)if err != nil || count < 0 {glog.V(0).Infof("read %s isNormalVolume %v error: %v", r.URL.Path, hasVolume, err)w.WriteHeader(http.StatusNotFound)