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
ec balance among nodes with HDD
Chris Luad70107eb428
diff --git a/weed/shell/command_ec_balance.go b/weed/shell/command_ec_balance.goindex 2baadb144f..b1ca926d53 100644--- a/weed/shell/command_ec_balance.go+++ b/weed/shell/command_ec_balance.go@@ -326,7 +326,9 @@ func balanceEcShardsWithinRacks(commandEnv *CommandEnv, allEcNodes []*EcNode, ravar possibleDestinationEcNodes []*EcNodefor _, n := range racks[RackId(rackId)].ecNodes {- possibleDestinationEcNodes = append(possibleDestinationEcNodes, n)+ if _, found := n.info.DiskInfos[string(types.HardDriveType)]; found {+ possibleDestinationEcNodes = append(possibleDestinationEcNodes, n)+ }}sourceEcNodes := rackEcNodesWithVid[rackId]averageShardsPerEcNode := ceilDivide(rackToShardCount[rackId], len(possibleDestinationEcNodes))