[SERVER-18881] Limit with explain("executionStats") has limitAmount as 0 Created: 08/Jun/15 Updated: 05/Feb/16 Resolved: 09/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible | |||
| Operating System: | ALL | |||
| Steps To Reproduce: | Run the following
The explain() will show limitAmount of 1 |
|||
| Sprint: | RPL 5 06/26/16 | |||
| Participants: |
| Description |
|
When a query with a limit is executed with a simple explain, it shows limitAmount as the user specified limit. When it is executed with explain("executionStats"), it always shows limitAmount as 0. |
| Comments |
| Comment by Githook User [ 17/Jun/15 ] |
|
Author: {u'username': u'agralius', u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@10gen.com'}Message: |
| Comment by Githook User [ 09/Jun/15 ] |
|
Author: {u'username': u'kevinAlbs', u'name': u'Kevin Albertson', u'email': u'kevin.albertson@10gen.com'}Message: Closes #980 Signed-off-by: David Storch <david.storch@10gen.com> |