[SERVER-21626] Balancer should skip namespaces which get dropped while it is running Created: 23/Nov/15 Updated: 07/Sep/16 Resolved: 07/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.11 |
| 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 | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Sharding 2016-08-29, Sharding 2016-09-19 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently, the sharding balancer first selects chunks which should be moved around and then passes them to the _moveChunks routine to do the actual move. This routine does not expect any of these chunks' databases to disappear during the round, but there is nothing to prevent this (and there is no need to). We should make the balancer _moveChunks routine skip databases and collections, which do not exist and there should be a secondary check, which checks the collection's epoch to ensure that if a collection is dropped and recreated, we will discard any further moves for that collection from this round. |
| Comments |
| Comment by Kaloian Manassiev [ 07/Sep/16 ] |
|
Fixed as a result of |
| Comment by Githook User [ 23/Nov/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |