Cluster: improve anti-affinity algo in redis-trib.rb.
See #3462 and related PRs. We use a simple algorithm to calculate the level of affinity violation, and then an optimizer that performs random swaps until things improve.
Please register or sign in to comment