-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
-
ALL
-
-
(copied to CRM)
Unfortunately this doesn't happen deterministically, but it is easy to trigger. It appears that the lastHeartbeatMessage is just not cleared.
This usually is cleared once documents are inserted, so marking as a trivial issue.
dan:PRIMARY> rs.status() { "set" : "dan", "date" : ISODate("2015-08-26T18:16:10.319Z"), "myState" : 1, "term" : NumberLong(0), "heartbeatIntervalMillis" : NumberLong(2000), "members" : [ { "_id" : 0, "name" : "mortar:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 76, "optime" : Timestamp(1440612909, 1), "optimeDate" : ISODate("2015-08-26T18:15:09Z"), "infoMessage" : "could not find member to sync from", "electionTime" : Timestamp(1440612906, 2), "electionDate" : ISODate("2015-08-26T18:15:06Z"), "configVersion" : 2, "self" : true }, { "_id" : 1, "name" : "mortar:30000", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 61, "optime" : Timestamp(1440612909, 1), "optimeDate" : ISODate("2015-08-26T18:15:09Z"), "lastHeartbeat" : ISODate("2015-08-26T18:16:09.049Z"), "lastHeartbeatRecv" : ISODate("2015-08-26T18:16:09.056Z"), "pingMs" : NumberLong(1), "lastHeartbeatMessage" : "could not find member to sync from", "configVersion" : 2 } ], "ok" : 1 }
Attaching log files from primary and secondary