"lastHeartbeatMessage" : "Couldn't get a connection within the time limit",

26 views
Skip to first unread message

Boris Pozdnyakov

unread,
Apr 6, 2016, 4:51:13 AM4/6/16
to MongoDB по-русски
Реплика не видит secondary node. mongo -h primary -port 27017 проходят успешно со всех нод!!!. 


        "set" : "shop_rs",
        "date" : ISODate("2016-04-06T08:34:20.823Z"),
        "myState" : 1,
        "term" : NumberLong(2280),
        "heartbeatIntervalMillis" : NumberLong(2000),
        "members" : [
                {
                        "_id" : 0,
                        "name" : "primary:27017",
                        "health" : 0,
                        "state" : 8,
                        "stateStr" : "(not reachable/healthy)",
                        "uptime" : 0,
                        "optime" : {
                                "ts" : Timestamp(0, 0),
                                "t" : NumberLong(-1)
                        },
                        "optimeDate" : ISODate("1970-01-01T00:00:00Z"),
                        "lastHeartbeat" : ISODate("2016-04-06T08:34:13.150Z"),
                        "lastHeartbeatRecv" : ISODate("2016-04-06T08:34:19.010Z"),
                        "pingMs" : NumberLong(3666),
                        "lastHeartbeatMessage" : "Couldn't get a connection within the time limit",
                        "configVersion" : -1
                },
                {
                        "_id" : 1,
                        "name" : "secondary:27017",
                        "health" : 1,
                        "state" : 1,
                        "stateStr" : "PRIMARY",
                        "uptime" : 676858,
                        "optime" : {
                                "ts" : Timestamp(1459931660, 3),
                                "t" : NumberLong(2280)
                        },
                        "optimeDate" : ISODate("2016-04-06T08:34:20Z"),
                        "electionTime" : Timestamp(1459912944, 1),
                        "electionDate" : ISODate("2016-04-06T03:22:24Z"),
                        "configVersion" : 30180,
                        "self" : true
                },
                {
                        "_id" : 2,
                        "name" : "arbiter:27017",
                        "health" : 1,
                        "state" : 7,
                        "stateStr" : "ARBITER",
                        "uptime" : 18728,
                        "lastHeartbeat" : ISODate("2016-04-06T08:34:18.973Z"),
                        "lastHeartbeatRecv" : ISODate("2016-04-06T08:34:17.051Z"),
                        "pingMs" : NumberLong(62),
                        "configVersion" : 30180
                }
        ],
        "ok" : 1

Boris Pozdnyakov

unread,
Apr 6, 2016, 4:52:34 AM4/6/16
to MongoDB по-русски


среда, 6 апреля 2016 г., 11:51:13 UTC+3 пользователь Boris Pozdnyakov написал:
 
Реплика (ver 3.2.4 wiredTiger) не видит secondary node. mongo -h primary -port 27017 проходят успешно со всех нод!!!. 
Reply all
Reply to author
Forward
0 new messages