diff options
author | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-06-21 15:41:26 -0400 |
---|---|---|
committer | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-07-20 13:41:55 -0400 |
commit | b20b8c2a6930a43004c776f011212af2f2fcd59a (patch) | |
tree | c3bfb587b93132db014f7895dbbfb795e517ca63 /src/mongo/db/s/migration_destination_manager.h | |
parent | 5b6fbcf0dc4065d725b23c6fd3911a24e078e34d (diff) | |
download | mongo-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.h | 2 |
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); /** |