diff options
author | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-03-24 17:59:14 -0400 |
---|---|---|
committer | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-03-27 13:22:25 -0400 |
commit | f4cce647d9bdd3e988a5d514ec64cd4deb9f7a26 (patch) | |
tree | 65b178c2d48751d4bb259e2472ec888b4315bd96 /src/mongo/db/repl/scatter_gather_algorithm.h | |
parent | 5e47fab7c971014ae7ce401e94d35dc761fea8c2 (diff) | |
download | mongo-f4cce647d9bdd3e988a5d514ec64cd4deb9f7a26.tar.gz |
SERVER-28491 Re-host unit tests that used ReplicationExecutorTest onto ThreadPoolExecutorTest.
Diffstat (limited to 'src/mongo/db/repl/scatter_gather_algorithm.h')
-rw-r--r-- | src/mongo/db/repl/scatter_gather_algorithm.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mongo/db/repl/scatter_gather_algorithm.h b/src/mongo/db/repl/scatter_gather_algorithm.h index a622473c5ee..6c4c31a0799 100644 --- a/src/mongo/db/repl/scatter_gather_algorithm.h +++ b/src/mongo/db/repl/scatter_gather_algorithm.h @@ -30,13 +30,11 @@ #include <vector> -#include "mongo/db/repl/replication_executor.h" +#include "mongo/executor/remote_command_request.h" +#include "mongo/executor/remote_command_response.h" namespace mongo { -template <typename T> -class StatusWith; - namespace repl { /** @@ -63,7 +61,7 @@ public: * Method to call once for each received response. */ virtual void processResponse(const executor::RemoteCommandRequest& request, - const ResponseStatus& response) = 0; + const executor::RemoteCommandResponse& response) = 0; /** * Returns true if no more calls to processResponse are needed to consider the |