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
Save disk space metrics immediately (#4740)
Nikita Mochalov4b1ba7f5b240
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.goindex aa3f35eac6..b7fa82197a 100644--- a/weed/storage/disk_location.go+++ b/weed/storage/disk_location.go@@ -83,6 +83,7 @@ func NewDiskLocation(dir string, maxVolumeCount int32, minFreeSpace util.MinFreelocation.ecVolumes = make(map[needle.VolumeId]*erasure_coding.EcVolume)location.closeCh = make(chan struct{})go func() {+ location.CheckDiskSpace()for {select {case <-location.closeCh: