Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15692

Restore serverStatus.indexCounters section when running with MMAPv1 storage engine

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

      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@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: