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 verbose logging
Chris Luf54f530ada11
diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex c1d5313765..dfd623eaae 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -95,9 +95,9 @@ func (v *Volume) expired(volumeSizeLimit uint64) bool {if v.Ttl == nil || v.Ttl.Minutes() == 0 {return false}- glog.V(0).Infof("now:%v lastModified:%v", time.Now().Unix(), v.lastModifiedTime)+ glog.V(1).Infof("now:%v lastModified:%v", time.Now().Unix(), v.lastModifiedTime)livedMinutes := (time.Now().Unix() - int64(v.lastModifiedTime)) / 60- glog.V(0).Infof("ttl:%v lived:%v", v.Ttl, livedMinutes)+ glog.V(1).Infof("ttl:%v lived:%v", v.Ttl, livedMinutes)if int64(v.Ttl.Minutes()) < livedMinutes {return true}