[SERVER-12760] Running aggregation query with $explain in mixed setup causes assertion error Created: 18/Feb/14 Updated: 11/Jul/16 Resolved: 19/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.5.5 |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: | Using: mongod 2.4, mongod 2.5.6-pre, mongoS 2.5.6-pre In the shell run:
The mongos logs:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
When using $explain in a mixed cluster I get a exception: assertion src/mongo/bson/bsonobjbuilder.h:93 in the returned object and the logs don't look healthy. However, when running with cursor which also isn't supported in 2.4 I get a nice error message:
|
| Comments |
| Comment by Githook User [ 06/Mar/14 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Follow up to |
| Comment by Mathias Stearn [ 19/Feb/14 ] |
|
Pushed a change that should improve the error reporting. |
| Comment by Githook User [ 19/Feb/14 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: |
| Comment by Ross Lawley [ 19/Feb/14 ] |
|
> Is this only an issue during upgrade where explain isn't supported? |
| Comment by Mathias Stearn [ 18/Feb/14 ] |
|
$explain was accepted in 2.4, but it wasn't officially supported, largely because it was known to be broken when sharding. Is this only an issue during upgrade where explain isn't supported? I can probably make the error message better in this case though. |