Details
Description
My config db ctonains the usual expected stuff, but "show dbs" and the listDatabases commands executed via the mongos claim it is empty. On 3.0.x mongos we showed the actual size of the config db.
[scripts] (v20151027)$ /var/lib/mongodb-mms-automation/mongodb-osx-x86_64-3.2.0-rc1/bin/mongo localhost:28017
|
MongoDB shell version: 3.2.0-rc1
|
connecting to: localhost:28017/test
|
mongos> db.version()
|
3.2.0-rc1
|
mongos> show dbs
|
admin (empty)
|
alphabet 0.000GB
|
config (empty)
|
food 0.000GB
|
randomStuff 0.001GB
|
mongos> use admin
|
switched to db admin
|
mongos> db.runCommand({listDatabases:1})
|
{
|
"databases" : [
|
{
|
"name" : "alphabet",
|
"sizeOnDisk" : 131072,
|
"empty" : false,
|
"shards" : {
|
"red_0" : 131072
|
}
|
},
|
{
|
"name" : "food",
|
"sizeOnDisk" : 503808,
|
"empty" : false,
|
"shards" : {
|
"red_0" : 356352,
|
"red_1" : 147456
|
}
|
},
|
{
|
"name" : "randomStuff",
|
"sizeOnDisk" : 1093632,
|
"empty" : false,
|
"shards" : {
|
"red_0" : 1081344,
|
"red_1" : 12288
|
}
|
},
|
{
|
"name" : "config"
|
},
|
{
|
"name" : "admin"
|
}
|
],
|
"totalSize" : 1728512,
|
"totalSizeMb" : 1,
|
"ok" : 1
|
}
|
|