[DOCS-10879] Description of lastHeartbeat and lastHeartbeatRecv is incorrect Created: 09/Oct/17  Updated: 09/Oct/17  Resolved: 09/Oct/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates DOCS-7810 Replica set lastHeartbeat documentati... Closed
Participants:
Days since reply: 6 years, 18 weeks, 2 days ago

 Description   

The docs say

  • lastHeartbeat - time of the transmission time of last heartbeat received from this member
  • lastHeartbeatRecv - time that the last heartbeat was received from this member

whereas the code comment says

    // This is the last time we got a response from a heartbeat request to a given member.
    Date_t _lastHeartbeat;
    // This is the last time we got a heartbeat request from a given member.
    Date_t _lastHeartbeatRecv;

The description in the docs for lastHeartbeat is inconsistent with the code comment.

Also the code comments mention "requests" and "responses", and I think the docs would be clearer if they did the same.



 Comments   
Comment by Bruce Lucas (Inactive) [ 09/Oct/17 ]

Awesome, you guys work fast!

Generated at Thu Feb 08 08:01:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.