summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_destination_manager.h
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2018-06-21 15:41:26 -0400
committerCheahuychou Mao <cheahuychou.mao@mongodb.com>2018-07-20 13:41:55 -0400
commitb20b8c2a6930a43004c776f011212af2f2fcd59a (patch)
treec3bfb587b93132db014f7895dbbfb795e517ca63 /src/mongo/db/s/migration_destination_manager.h
parent5b6fbcf0dc4065d725b23c6fd3911a24e078e34d (diff)
downloadmongo-b20b8c2a6930a43004c776f011212af2f2fcd59a.tar.gz
SERVER-27725 Use batch insert when migrating chunks
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager.h')
-rw-r--r--src/mongo/db/s/migration_destination_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.h b/src/mongo/db/s/migration_destination_manager.h
index 30aa70a282c..66f558be3ff 100644
--- a/src/mongo/db/s/migration_destination_manager.h
+++ b/src/mongo/db/s/migration_destination_manager.h
@@ -116,7 +116,7 @@ public:
*/
static void cloneDocumentsFromDonor(
OperationContext* opCtx,
- stdx::function<void(OperationContext*, BSONObjIterator)> insertBatchFn,
+ stdx::function<void(OperationContext*, BSONObj)> insertBatchFn,
stdx::function<BSONObj(OperationContext*)> fetchBatchFn);
/**