[SERVER-5306] In runCommand( "top" ) when running dbn.collection.distinct("column") not increments queries counter in collection data Created: 14/Mar/12 Updated: 06/Dec/22 Resolved: 07/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.0.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Leonid Neizberg | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 64bit |
||
| Assigned Teams: |
Query
|
| Operating System: | ALL |
| Participants: |
| Description |
|
1. when running db.collection.distinct("column") not increments queries counter in collection data (runCommand( "top" ).totals["dbn.collection"]) , 2. Also explain() function doesn't work with distinct. |
| Comments |
| Comment by Ian Whalen (Inactive) [ 07/Mar/17 ] |
|
1) This now updates the commands counter for the collection. 2) This was added in 3.2.0 (see |