[SERVER-22871] splitChunk needs to check for a failed index scan Created: 26/Feb/16 Updated: 19/Nov/16 Resolved: 09/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Tess Avitabile (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Query 11 (03/14/16) | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
The calls to getNext() in d_split.cpp all need to check for IS_EOF. Currently, you can crash if the index we're scanning gets dropped. |
| Comments |
| Comment by Githook User [ 09/Mar/16 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: |
| Comment by Tess Avitabile (Inactive) [ 01/Mar/16 ] |
|
Attaching a jstest that repros the issue. It creates a collection indexed on {x:1}where all values of x are the same, runs a splitVector command on the index {x:1}, and drops the index {x:1}while the splitVector command is running. |