[SERVER-12842] explain does not work for oplog hack Created: 22/Feb/14  Updated: 11/Jul/16  Resolved: 26/Feb/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File server12842.js    
Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

This will manifest also if profiling is enabled on the local db (since that causes explain to be run on the query to produce stats data).

Here is an example backtrace:

 m31000| Assertion failed: (px != 0), function operator->, file src/third_party/boost/boost/smart_ptr/scoped_ptr.hpp, line 97.
 m31000| Got signal: 6 (Abort trap: 6).
 m31000| Backtrace:
 m31000| 0x100677a0b 0x10000190b 0x7fff88b2790a 0x4 0x7fff88b7ef61 0x7fff88b7fcb9 0x1003e4c56 0x1003b0636 0x100289399 0x100007134 0x10063db71 0x1006abe15 0x7fff88b39772 0x7fff88b261a1 
 m31000|  0   mongod                              0x0000000100677a0b _ZN5mongo15printStackTraceERSo + 43
 m31000|  1   mongod                              0x000000010000190b _ZN5mongo10abruptQuitEi + 251
 m31000|  2   libsystem_c.dylib                   0x00007fff88b2790a _sigtramp + 26
 m31000|  3   ???                                 0x0000000000000004 0x0 + 4
 m31000|  4   libsystem_c.dylib                   0x00007fff88b7ef61 abort + 143
 m31000|  5   libsystem_c.dylib                   0x00007fff88b7fcb9 __assert_rtn + 146
 m31000|  6   mongod                              0x00000001003e4c56 _ZNK5mongo20SingleSolutionRunner7getInfoEPPNS_11TypeExplainEPPNS_8PlanInfoE + 334
 m31000|  7   mongod                              0x00000001003b0636 _ZN5mongo11newRunQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_ + 7398
 m31000|  8   mongod                              0x0000000100289399 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 1961
 m31000|  9   mongod                              0x0000000100007134 _ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE + 308
 m31000|  10  mongod                              0x000000010063db71 _ZN5mongo17PortMessageServer17handleIncomingMsgEPv + 1681
 m31000|  11  mongod                              0x00000001006abe15 thread_proxy + 229
 m31000|  12  libsystem_c.dylib                   0x00007fff88b39772 _pthread_start + 327
 m31000|  13  libsystem_c.dylib                   0x00007fff88b261a1 thread_start + 13



 Comments   
Comment by Githook User [ 25/Feb/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-12842 do not add filterSet to explain if solution is not available in single solution runner
Branch: master
https://github.com/mongodb/mongo/commit/0b4ee727db118d01f28cb046c23068d4961990fe

Generated at Thu Feb 08 03:29:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.