aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_balance.go
diff options
context:
space:
mode:
authorLisandro Pin <lisandro.pin@proton.ch>2024-11-27 20:51:57 +0100
committerGitHub <noreply@github.com>2024-11-27 11:51:57 -0800
commit559a1fd0f4565bca3e2f4e6f0d90d188c7b3377a (patch)
treef02a7ffac330833ba36e8e5d006722f649387ac3 /weed/shell/command_ec_balance.go
parent88fa64a01ae7ac8782e70dd29a8a9f6bf44a7e19 (diff)
downloadseaweedfs-559a1fd0f4565bca3e2f4e6f0d90d188c7b3377a.tar.xz
seaweedfs-559a1fd0f4565bca3e2f4e6f0d90d188c7b3377a.zip
Improve EC shards rebalancing logic across nodes (#6297)
* Improve EC shards rebalancing logic across nodes. - Favor target nodes with less preexisting shards, to ensure a fair distribution. - Randomize selection when multiple possible target nodes are available. - Add logic to account for replication settings when selecting target nodes (currently disabled). * Fix minor test typo. * Clarify internal error messages for `pickEcNodeToBalanceShardsInto()`.
Diffstat (limited to 'weed/shell/command_ec_balance.go')
0 files changed, 0 insertions, 0 deletions