Restore serverStatus.indexCounters section when running with MMAPv1 storage engine

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance, Storage
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            David Storch
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: