[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:
Depends
is depended on by SERVER-15503 mongod SNMP support for 2.8 Closed
Duplicate
duplicates SERVER-16378 serverStatus "indexCounters", "record... Closed
Related
is related to SERVER-13555 re-implement storageDetails and index... Closed
Tested
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 SERVER-16378. This ticket covers three MMAPv1-specific serverStatus sections that were removed in 2.7 development versions: "indexCounters", "recordStats", and "workingSet".

Generated at Thu Feb 08 03:38:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.