mongo primary is showing behind the primary ?? Its increasing as time passes . Please suggest ?
monRepl:PRIMARY> rs.printSlaveReplicationInfo()
source: xxxxxx:27017
syncedTo: Mon Apr 27 2015 10:39:02 GMT+0530 (IST)
**25835 secs (7.18 hrs) behind the primary**
monRepl:PRIMARY> rs.status();
{
"set" : "monRepl",
"date" : ISODate("2015-04-27T12:20:38Z"),
"myState" : 1,
"members" : [
{
"_id" : 3,
"name" : "xxxxx:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 329104,
"optime" : Timestamp(1430111629, 90),
"optimeDate" : ISODate("2015-04-27T05:13:49Z"),
"lastHeartbeat" : ISODate("2015-04-27T12:20:36Z"),
"lastHeartbeatRecv" : ISODate("2015-04-27T12:20:37Z"),
"pingMs" : 0,
"syncingTo" : "yyyyyy:27017"
},
{
"_id" : 5,
"name" : "xxxxxx:27017",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 329104,
"lastHeartbeat" : ISODate("2015-04-27T12:20:38Z"),
"lastHeartbeatRecv" : ISODate("2015-04-27T12:20:37Z"),
"pingMs" : 0
},
{
"_id" : 6,
"name" : "yyyyyyy:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 579120,
"optime" : Timestamp(1430137238, 300),
"optimeDate" : ISODate("2015-04-27T12:20:38Z"),
"electionTime" : Timestamp(1429808169, 7),
"electionDate" : ISODate("2015-04-23T16:56:09Z"),
"self" : true
}
],
"ok" : 1
}
db.version()
andversion()
in themongo
shell? Have you recently upgraded your version of MongoDB or is this a fresh install? – Stennie Apr 28 '15 at 14:35