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
dynamically change the log level for reading the disk status
Chris Lu49d6dcfbc611
diff --git a/weed/stats/disk.go b/weed/stats/disk.goindex 8af7240a87..a8f9062132 100644--- a/weed/stats/disk.go+++ b/weed/stats/disk.go@@ -8,6 +8,8 @@ import (func NewDiskStatus(path string) (disk *volume_server_pb.DiskStatus) {disk = &volume_server_pb.DiskStatus{Dir: path}fillInDiskStatus(disk)- glog.V(2).Infof("read disk size: %v", disk)+ if disk.PercentUsed > 95 {+ glog.V(0).Infof("disk status: %v", disk)+ }return}