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

Seeing duplicate databases in serverStatus.locks with different data

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.1
    • Component/s: None
    • Labels:
      None
    • ALL

      Below is a snippet from db.serverStatus() with duplicate database names:

              "mmsdbhoursdata" : {
                  "timeLockedMicros" : {
                      "r" : NumberLong(9550130),
                      "w" : NumberLong(40682)
                  },
                  "timeAcquiringMicros" : {
                      "r" : NumberLong(1968850),
                      "w" : NumberLong(15639)
                  }
              },
              "mmsdbhoursdata" : {
                  "timeLockedMicros" : {
                      "r" : NumberLong(3037514),
                      "w" : NumberLong(10226)
                  },
                  "timeAcquiringMicros" : {
                      "r" : NumberLong(822058),
                      "w" : NumberLong(4347)
                  }
              },
      

      I ran this in the console and a c++ program directly (attached).

      When calling listDatabases, it does not show up twice.

            Assignee:
            mikeo@mongodb.com Michael O'Brien
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: