Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
3.0.0, 3.2.0, 3.4.0
-
None
-
Sharding
Description
here we should show the hostname not the IP address. sometimes we do show the hostname. the shard was configured with a logical name no by ip. also it would be nice if we tell you which shard # this is.
mongos> db.foo.ensureIndex({yy:1})
|
socket exception [SEND_ERROR] for 10.4.1.53:27001
|
mongos>
|
also in the below it would be nice to say something like:
"dm_hp:27001" : "Unreachable"
rather than { }. if multiple shards down (imagine i have 300) that would be helpful.
mongos> db.runCommand("dbstats")
|
{
|
"raw" : {
|
"s0/dm_hp:27000,dm_hp:27018" : {
|
"db" : "test",
|
"collections" : 3,
|
"objects" : 11,
|
"avgObjSize" : 13073.454545454546,
|
"dataSize" : 143808,
|
"storageSize" : 2310144,
|
"numExtents" : 4,
|
"indexes" : 3,
|
"indexSize" : 24528,
|
"fileSize" : 201326592,
|
"nsSizeMB" : 16,
|
"ok" : 1
|
},
|
"dm_hp:27001" : {
|
|
|
}
|
},
|
"ok" : 0,
|
"errmsg" : "{ dm_hp:27001: \"result without error message returned : {}\" }"
|
}
|