|
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.
|