[SERVER-23609] Make top chunk split use the balancer to move chunks Created: 07/Apr/16 Updated: 16/May/16 Resolved: 03/May/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding 13 (04/22/16), Sharding 14 (05/13/16) |
| Participants: |
| Description |
|
The top chunk split logic currently runs a mini balancer round in order to obtain an up-to-date view of the shard utilization and move the chunk. Instead of doing it itself, it should delegate this responsibility to the balancer so that when the balancer moves to the config server there is no direct dependency. |
| Comments |
| Comment by Githook User [ 03/May/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Moves all direct access to balancer structures out of the top chunk split |
| Comment by Githook User [ 29/Apr/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Around the sharding code there are a lot of repeated code sequences, where |
| Comment by Githook User [ 22/Apr/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Merges this structure in the MigrateInfo class. |