[SERVER-15692] Restore serverStatus.indexCounters section when running with MMAPv1 storage engine Created: 16/Oct/14 Updated: 20/Mar/15 Resolved: 11/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | David Storch |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Commit 712e4f8063a0e3 removed src/mongo/db/structure/btree/btree_stats.{h,cpp}. These files contained the implementation of the IndexCounters class, which was responsible for generating the "indexCounters" section of serverStatus. The implementation used Record::likelyInPhysicalMemory(), which has also been removed, to keep track of the number of the number of times in in-memory index record was used ("hits") as well as the number of times an index record had to be fetched from secondary storage ("misses"). We should consider restoring this functionality in some form. |
| Comments |
| Comment by David Storch [ 11/Dec/14 ] |
|
Closing as a duplicate of |