Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
mongos> sh.status()
2017-07-07T17:40:06.805+0800 E QUERY [thread1] Error: error:
:
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DBCommandCursor@src/mongo/shell/query.js:689:1
DBQuery.prototype._exec@src/mongo/shell/query.js:118:28
DBQuery.prototype.hasNext@src/mongo/shell/query.js:276:5
DBCollection.prototype.findOne@src/mongo/shell/collection.js:289:10
printShardingStatus@src/mongo/shell/utils_sh.js:544:19
sh.status@src/mongo/shell/utils_sh.js:78:5
@(shell):1:1
mongos>
mongos> sh.status(true)
— Sharding Status —
sharding version:
shards:
{ "_id" : "message2", "host" : "message2/192.168.1.144:27017,192.168.1.145:27017,192.168.1.146:27017" } { "_id" : "message3", "host" : "message3/192.168.1.147:27017,192.168.1.148:27017,192.168.1.149:27017" }active mongoses:
{ "_id" : "ws-mongo-1-152.youyuan-idc.com:27017", "ping" : ISODate("2017-07-07T09:49:23.177Z"), "up" : NumberLong(2322), "waiting" : false, "mongoVersion" : "3.2.13" } { "_id" : "pb-mongo-1-151.youyuan-idc.com:27017", "ping" : ISODate("2017-07-07T09:49:22.830Z"), "up" : NumberLong(2321), "waiting" : false, "mongoVersion" : "3.2.13" } { "_id" : "pb-mongo-1-150.youyuan-idc.com:27017", "ping" : ISODate("2017-07-07T09:49:09.984Z"), "up" : NumberLong(2308), "waiting" : false, "mongoVersion" : "3.2.13" } balancer:
Currently enabled: yes
Currently running: no
Failed balancer rounds in last 5 attempts: 5
Last reported error: could not get updated shard list from config server due to Operation timed out
Time of Reported error: Fri Jul 07 2017 17:48:32 GMT+0800 (CST)
Migration Results for the last 24 hours:
No recent migrations
databases:
mongos>