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

Seeing duplicate databases in serverStatus.locks with different data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: