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
volume.tier.move: avoid repeated move for replicated volumes
Chris Lu9edd964627a1
diff --git a/weed/shell/command_volume_tier_move.go b/weed/shell/command_volume_tier_move.goindex a15efd6b34..f7fa94031b 100644--- a/weed/shell/command_volume_tier_move.go+++ b/weed/shell/command_volume_tier_move.go@@ -102,7 +102,7 @@ func doVolumeTierMove(commandEnv *CommandEnv, writer io.Writer, collection strinkeepDataNodesSorted(allLocations, toDiskType)fn := capacityByFreeVolumeCount(toDiskType)for _, dst := range allLocations {- if fn(dst.dataNode) > 0 {+ if fn(dst.dataNode) > 0 && !hasFoundTarget {// ask the volume server to replicate the volumeif isOneOf(dst.dataNode.Id, locations) {continue