diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2024-11-21 17:46:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 08:46:24 -0800 |
| commit | ca499de1cbd43b8a1bcdcbf2d62d137a7557bbc6 (patch) | |
| tree | 75da93dfa4eb54036e88fef9d4371efe5a59ebd9 /weed/stats/metrics.go | |
| parent | e56327e3b0c741a7cf3c09d766814a2168a2720f (diff) | |
| download | seaweedfs-ca499de1cbd43b8a1bcdcbf2d62d137a7557bbc6.tar.xz seaweedfs-ca499de1cbd43b8a1bcdcbf2d62d137a7557bbc6.zip | |
Improve EC shards rebalancing logic across racks (#6270)
Improve EC shards rebalancing logic across racks.
- Favor target shards with less preexisting shards, to ensure a fair distribution.
- Randomize selection when multiple possible target shards are available.
- Add logic to account for replication settings when selecting target shards (currently disabled).
Diffstat (limited to 'weed/stats/metrics.go')
0 files changed, 0 insertions, 0 deletions
