summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/collection_cloner.h
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2017-06-23 11:10:01 -0400
committerJason Chan <jason.chan@mongodb.com>2017-06-23 14:42:53 -0400
commit3bb0f6030b5609002049ea2156e97fe4c6c05d5d (patch)
tree0a7f1adbc63fe756523cb08a38c926f6bfd29bf1 /src/mongo/db/repl/collection_cloner.h
parent16090300c7e907e1a04c62152f1db2139a2e845a (diff)
downloadmongo-3bb0f6030b5609002049ea2156e97fe4c6c05d5d.tar.gz
SERVER-29615 Allow the ARM to be linked to mongod
Diffstat (limited to 'src/mongo/db/repl/collection_cloner.h')
-rw-r--r--src/mongo/db/repl/collection_cloner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/collection_cloner.h b/src/mongo/db/repl/collection_cloner.h
index 44541b7eeef..af029b0f1cd 100644
--- a/src/mongo/db/repl/collection_cloner.h
+++ b/src/mongo/db/repl/collection_cloner.h
@@ -46,6 +46,7 @@
#include "mongo/db/repl/storage_interface.h"
#include "mongo/db/repl/task_runner.h"
#include "mongo/executor/task_executor.h"
+#include "mongo/s/query/async_results_merger.h"
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
@@ -241,6 +242,8 @@ private:
ProgressMeter _progressMeter; // (M) progress meter for this instance.
const int _batchSize;
+ AsyncResultsMerger _arm;
+
// State transitions:
// PreStart --> Running --> ShuttingDown --> Complete
// It is possible to skip intermediate states. For example,