[SERVER-22183] Aggregation $match doesn`t increase counter in the $indexStats Created: 14/Jan/16 Updated: 14/Jan/16 Resolved: 14/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 3.2.0, 3.2.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Critical - P2 |
| Reporter: | marian badinka | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Aggregation which uses index (by explain()), doesn`t increase the counter in the statistics visible by $indexStats |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 14/Jan/16 ] |
|
Yes, this has been scheduled for 3.2.2: |
| Comment by marian badinka [ 14/Jan/16 ] |
|
steps to reproduce: > db.test.createIndex(a:1) //check stats// //generate aggregation suppose to use index a_1 and increase the counter on $indexStats// //check stats again - index "a_1" should have count:1 and not count:0// ciao \ marian |