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.
Balance replication ownership across nodes
The previous algorithm was biased towards low-numbered nodes, and in the case of a 3 node cluster would declare db1 to be the owner of all replications. We can do better just by leveraging the existing ushards code. There's a possibility to refactor this as a new ushards/2 function if that's perceived as useful. BugzID: 19870
- Loading branch information
Showing 1 changed file with 2 additions and 4 deletions.