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
do not add new volumes when below minFreeSpacePercent
Chris Luca998328c291
diff --git a/weed/storage/store.go b/weed/storage/store.goindex c3507c0e2e..6be15a4c9b 100644--- a/weed/storage/store.go+++ b/weed/storage/store.go@@ -106,6 +106,9 @@ func (s *Store) FindFreeLocation(diskType DiskType) (ret *DiskLocation) {if diskType != location.DiskType {continue}+ if location.isDiskSpaceLow {+ continue+ }currentFreeCount := location.MaxVolumeCount - location.VolumesLen()currentFreeCount *= erasure_coding.DataShardsCountcurrentFreeCount -= location.EcVolumesLen()