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
avoid possible modified location list
Chris Lua067deaabcf9
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.goindex f315cb7e4c..db05102fe9 100644--- a/weed/topology/volume_layout.go+++ b/weed/topology/volume_layout.go@@ -302,7 +302,7 @@ func (vl *VolumeLayout) PickForWrite(count uint64, option *VolumeGrowOption) (*n}counter++if rand.Intn(counter) < 1 {- vid, locationList = v, volumeLocationList+ vid, locationList = v, volumeLocationList.Copy()}}}