This repository has been archived by the owner. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add function to assist with rebalancing
This function takes either a database name or a list of shards and a list of target nodes to balance the shards across. Every node with less than a fair share of shards will steal shards from the node with the most shards as long as both shards are in the same zone. BugzID: 18638
- Loading branch information
Showing 1 changed file with 81 additions and 0 deletions.