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
can not break out of for-select block
divinerapier5656d43264fe
diff --git a/weed/topology/topology_vacuum.go b/weed/topology/topology_vacuum.goindex 37a6a30b93..ff32f18748 100644--- a/weed/topology/topology_vacuum.go+++ b/weed/topology/topology_vacuum.go@@ -35,13 +35,12 @@ func batchVacuumVolumeCheck(grpcDialOption grpc.DialOption, vl *VolumeLayout, vi}(index, dn.Url(), vid)}isCheckSuccess := true- for _ = range locationlist.list {+ for range locationlist.list {select {case canVacuum := <-ch:isCheckSuccess = isCheckSuccess && canVacuumcase <-time.After(30 * time.Minute):- isCheckSuccess = false- break+ return false}}return isCheckSuccess@@ -71,13 +70,12 @@ func batchVacuumVolumeCompact(grpcDialOption grpc.DialOption, vl *VolumeLayout,}(index, dn.Url(), vid)}isVacuumSuccess := true- for _ = range locationlist.list {+ for range locationlist.list {select {case canCommit := <-ch:isVacuumSuccess = isVacuumSuccess && canCommitcase <-time.After(30 * time.Minute):- isVacuumSuccess = false- break+ return false}}return isVacuumSuccess