Hi,
I have a replica set of 3 members running on single machine. mongod version 3.0.8. One of member was down and I need to see since when it was down.
The lastHeartbeat and lastHeartbeatRecv seems helpful. But, lastHeartbeat for the down member should be as old as old as the time when the member was down
The documentation is incorrect. Assuming we have two nodes A and B, and we logged into node A, lastHeartbeat
actually records the time when node A sends a heartbeat to node B, and lastHeartbeatRecv
records the time when node B sends a heartbeat to node A. Therefore, if B was down, the value in lastHeartbeatRecv
will show you the last time B responds to a heartbeat request from A.
Thank you for bringing this into our attention. I have created DOCS-7810 to track this issue.
Best regards,
Kevin