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 log level
chrislu7c6324b114a3
diff --git a/weed/storage/store.go b/weed/storage/store.goindex 3cb35cb851..e12fb2c507 100644--- a/weed/storage/store.go+++ b/weed/storage/store.go@@ -549,7 +549,7 @@ func (s *Store) MaybeAdjustVolumeMax() (hasChanges bool) {maxVolumeCount += int32(uint64(unclaimedSpaces)/volumeSizeLimit) - 1}atomic.StoreInt32(&diskLocation.MaxVolumeCount, maxVolumeCount)- glog.V(2).Infof("disk %s max %d unclaimedSpace:%dMB, unused:%dMB volumeSizeLimit:%dMB",+ glog.V(4).Infof("disk %s max %d unclaimedSpace:%dMB, unused:%dMB volumeSizeLimit:%dMB",diskLocation.Directory, maxVolumeCount, unclaimedSpaces/1024/1024, unusedSpace/1024/1024, volumeSizeLimit/1024/1024)hasChanges = hasChanges || currentMaxVolumeCount != atomic.LoadInt32(&diskLocation.MaxVolumeCount)}diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex e48a2f49a4..1a9c8bd24b 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -284,7 +284,7 @@ func (v *Volume) expiredLongEnough(maxDelayMinutes uint32) bool {func (v *Volume) collectStatus() (maxFileKey types.NeedleId, datFileSize int64, modTime time.Time, fileCount, deletedCount, deletedSize uint64, ok bool) {v.dataFileAccessLock.RLock()defer v.dataFileAccessLock.RUnlock()- glog.V(3).Infof("collectStatus volume %d", v.Id)+ glog.V(4).Infof("collectStatus volume %d", v.Id)if v.nm == nil || v.DataBackend == nil {return