summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/check_quorum_for_config_change.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-07-16 13:55:15 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-07-17 10:20:27 -0400
commita104bc1eab07388a4dc5b9930ecdd355ea93dd87 (patch)
treedafa61a7a1b1d5cb1e38a1c80c067c5ad30b7da2 /src/mongo/db/repl/check_quorum_for_config_change.h
parentd7e9b92a8117edab8869c132a4f7bfae3d3ff2ff (diff)
downloadmongo-a104bc1eab07388a4dc5b9930ecdd355ea93dd87.tar.gz
SERVER-19001 Move RemoteCommandRequest/RemoteCommandResponse into task_executor_interface library.
Also, move those types into the executor namespace and remove the RemoteCommandRunner interface type.
Diffstat (limited to 'src/mongo/db/repl/check_quorum_for_config_change.h')
-rw-r--r--src/mongo/db/repl/check_quorum_for_config_change.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/check_quorum_for_config_change.h b/src/mongo/db/repl/check_quorum_for_config_change.h
index 5d33c01f4c1..f5cc2795281 100644
--- a/src/mongo/db/repl/check_quorum_for_config_change.h
+++ b/src/mongo/db/repl/check_quorum_for_config_change.h
@@ -60,8 +60,8 @@ public:
QuorumChecker(const ReplicaSetConfig* rsConfig, int myIndex);
virtual ~QuorumChecker();
- virtual std::vector<RemoteCommandRequest> getRequests() const;
- virtual void processResponse(const RemoteCommandRequest& request,
+ virtual std::vector<executor::RemoteCommandRequest> getRequests() const;
+ virtual void processResponse(const executor::RemoteCommandRequest& request,
const ResponseStatus& response);
virtual bool hasReceivedSufficientResponses() const;
@@ -82,7 +82,7 @@ private:
/**
* Updates the QuorumChecker state based on the data from a single heartbeat response.
*/
- void _tabulateHeartbeatResponse(const RemoteCommandRequest& request,
+ void _tabulateHeartbeatResponse(const executor::RemoteCommandRequest& request,
const ResponseStatus& response);
// Pointer to the replica set configuration for which we're checking quorum.