Seeing duplicate databases in serverStatus.locks with different data

XMLWordPrintableJSON

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

      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:
            Michael O'Brien
            Reporter:
            Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: