summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_destination_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/migration_destination_manager.h')
-rw-r--r--src/mongo/db/s/migration_destination_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.h b/src/mongo/db/s/migration_destination_manager.h
index 1a6304f8010..290c7f2218c 100644
--- a/src/mongo/db/s/migration_destination_manager.h
+++ b/src/mongo/db/s/migration_destination_manager.h
@@ -106,7 +106,7 @@ public:
* Returns OK if migration started successfully.
*/
Status start(const NamespaceString& nss,
- ScopedRegisterReceiveChunk scopedRegisterReceiveChunk,
+ ScopedReceiveChunk scopedReceiveChunk,
const MigrationSessionId& sessionId,
const ConnectionString& fromShardConnString,
const ShardId& fromShard,
@@ -194,7 +194,7 @@ private:
// Migration session ID uniquely identifies the migration and indicates whether the prepare
// method has been called.
boost::optional<MigrationSessionId> _sessionId;
- boost::optional<ScopedRegisterReceiveChunk> _scopedRegisterReceiveChunk;
+ boost::optional<ScopedReceiveChunk> _scopedReceiveChunk;
// A condition variable on which to wait for the prepare method to be called.
stdx::condition_variable _isActiveCV;