summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/topology_coordinator.h
diff options
context:
space:
mode:
authorSuganthi Mani <suganthi.mani@mongodb.com>2018-06-21 14:07:21 -0400
committersmani87 <suganthi.mani@mongodb.com>2018-06-28 09:54:58 -0400
commit1be62ec4da5968f243e949dfb3cab68157f6ef1c (patch)
tree38a9f0e3f37575cedb67353fe72d514d20f27201 /src/mongo/db/repl/topology_coordinator.h
parentedff161ae08327f17f284bac638bdebc72404421 (diff)
downloadmongo-1be62ec4da5968f243e949dfb3cab68157f6ef1c.tar.gz
SERVER-31963 Remove heartbeat support for pv0.
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r--src/mongo/db/repl/topology_coordinator.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h
index 60ac2f83179..da11d840e7d 100644
--- a/src/mongo/db/repl/topology_coordinator.h
+++ b/src/mongo/db/repl/topology_coordinator.h
@@ -48,7 +48,6 @@ namespace repl {
class HeartbeatResponseAction;
class MemberData;
class OpTime;
-class ReplSetHeartbeatArgs;
class ReplSetConfig;
class TagSubgroup;
struct MemberState;
@@ -338,12 +337,6 @@ public:
BSONObjBuilder* response,
Status* result);
- // produce a reply to a heartbeat
- Status prepareHeartbeatResponse(Date_t now,
- const ReplSetHeartbeatArgs& args,
- const std::string& ourSetName,
- ReplSetHeartbeatResponse* response);
-
// produce a reply to a V1 heartbeat
Status prepareHeartbeatResponseV1(Date_t now,
const ReplSetHeartbeatArgsV1& args,
@@ -418,8 +411,6 @@ public:
* This call should be paired (with intervening network communication) with a call to
* processHeartbeatResponse for the same "target".
*/
- std::pair<ReplSetHeartbeatArgs, Milliseconds> prepareHeartbeatRequest(
- Date_t now, const std::string& ourSetName, const HostAndPort& target);
std::pair<ReplSetHeartbeatArgsV1, Milliseconds> prepareHeartbeatRequestV1(
Date_t now, const std::string& ourSetName, const HostAndPort& target);
@@ -448,7 +439,7 @@ public:
* processWinElection) before calling updateConfig.
*
* This call should be paired (with intervening network communication) with a call to
- * prepareHeartbeatRequest for the same "target".
+ * prepareHeartbeatRequestV1 for the same "target".
*/
HeartbeatResponseAction processHeartbeatResponse(
Date_t now,