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

serverStatus().indexCounters not updating properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.9, 2.6.1
    • Fix Version/s: None
    • Component/s: Indexing
    • Labels:
      None
    • Operating System:
      ALL

      Description

      The documentation says that the values in db.serverStatus().indexCounters should be updated each time an operation uses an index: http://docs.mongodb.org/manual/reference/command/serverStatus/#indexcounters

      This is not happening. I tried creating a simple collection and performed a find() query on it, with and without an index. If the above is correct, at least the "accesses" counter should have been updated, but it doesn't change in either case.

      The behavior is the same in both 2.4.9 and 2.6.1.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: