diff options
Diffstat (limited to 'src/mongo/db/repl/repl_set_heartbeat_args_v1.h')
-rw-r--r-- | src/mongo/db/repl/repl_set_heartbeat_args_v1.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/repl/repl_set_heartbeat_args_v1.h b/src/mongo/db/repl/repl_set_heartbeat_args_v1.h index 400eb421fd0..f183a22072a 100644 --- a/src/mongo/db/repl/repl_set_heartbeat_args_v1.h +++ b/src/mongo/db/repl/repl_set_heartbeat_args_v1.h @@ -115,13 +115,6 @@ public: } /** - * Gets the id of the node the sender believes to be primary or -1 if it is not known. - */ - long long getPrimaryId() const { - return _primaryId; - } - - /** * Returns whether or not the sender is checking for emptiness. */ bool hasCheckEmpty() const { @@ -152,7 +145,6 @@ public: void setSenderHost(const HostAndPort& newVal); void setSetName(const std::string& newVal); void setTerm(long long newVal); - void setPrimaryId(long long primaryId); void setCheckEmpty(); /** @@ -171,7 +163,6 @@ private: long long _heartbeatVersion = -1; long long _senderId = -1; long long _term = -1; - long long _primaryId = -1; bool _checkEmpty = false; bool _hasSender = false; bool _hasHeartbeatVersion = false; |