[SERVER-14636] Aggregation explain on uncached plan returns error "No plan available to provide stats" Created: 21/Jul/14 Updated: 11/Jul/16 Resolved: 01/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Diagnostics, Querying |
| Affects Version/s: | 2.6.3 |
| Fix Version/s: | 2.7.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Ian Whalen (Inactive) |
| Resolution: | Done | Votes: | 6 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Running explain on an aggregation pipeline returns the error "No plan available to provide stats" if the query issued by the $cursor stage is not cached and has multiple candidate plans. Reproduces on 2.6.0 through 2.6.3. Does not reproduce on master.
Originally reported on mongodb-user: <https://groups.google.com/forum/#!topic/mongodb-user/TwK0wKr45Bk>. |
| Comments |
| Comment by Stennie Steneker (Inactive) [ 05/Jan/15 ] | ||||||||||
|
There have been a few comments on this issue still being present in MongoDB 2.6.x. As per the current issue metadata, the fixVersion is 2.7.1 (i.e. fixed in the 2.7.x development series which will culminate in the 2.8.0 production release). A backport has been requested for MongoDB 2.6, but has not been approved yet. You can watch this issue for updates. Once the feasibility of a backport has been reviewed, the backport status should change to either "Approved" or "Cannot". If Approved, the backport status will eventually change to Completed with a 2.6.x fixVersion added. Regards, | ||||||||||
| Comment by Dave Mackintosh [ 30/Dec/14 ] | ||||||||||
|
Still an issue in 2.6.3 (db and shell) deployed with Google Compute 1 Click Deploy.
Also in 2.6.6 installed via brew on OSx Yosemite 10.10.1 (14B25) | ||||||||||
| Comment by Juan Manuel Diego G [ 28/Nov/14 ] | ||||||||||
|
Still in 2.6.5 | ||||||||||
| Comment by Veena Chugani [ 02/Oct/14 ] | ||||||||||
|
yes I am still facing the issue in 2.6.4 also? | ||||||||||
| Comment by Cody Wilson [ 22/Sep/14 ] | ||||||||||
|
This is still an issue on 2.6.4. |