[CONTROLLER-914] Clustering : Implement a mechanism to balance datastore load in a cluster Created: 02/Oct/14 Updated: 19/Oct/17 |
|
| Status: | Confirmed |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Moiz Raja | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 2137 | ||||||||
| Description |
|
Consider a three node cluster on which we have 8 shards with different data contained within it. If you start this 3 node cluster one node at a time you may end up with a situation where all the shards have their leaders on node 1. In the ideal scenario Shard leaders should be distributed across the cluster so that the load is evenly distributed. We need to introduce some mechanism to make it possible to automatically switch leaders so that the load is more evenly balanced. |