diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-09-28 15:33:05 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-09-29 13:28:48 -0400 |
commit | b12af9e243b98b50d5918d9afa9354b9935cebf0 (patch) | |
tree | 0c866ad5bc76d5901799a9adac9fc14bd71c9955 /src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp | |
parent | b4d55086ed9a5d49709409c9c66652f12fa3d932 (diff) | |
download | mongo-b12af9e243b98b50d5918d9afa9354b9935cebf0.tar.gz |
SERVER-26370 Cleanup MigrationDestinationManager
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp')
-rw-r--r-- | src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp index 7f7850cb22c..3931ce43893 100644 --- a/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp +++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp @@ -60,7 +60,7 @@ public: AutoGetActiveCloner(OperationContext* txn, const MigrationSessionId& migrationSessionId) { ShardingState* const gss = ShardingState::get(txn); - const auto nss = gss->getActiveMigrationNss(); + const auto nss = gss->getActiveDonateChunkNss(); uassert(ErrorCodes::NotYetInitialized, "No active migrations were found", nss); // Once the collection is locked, the migration status cannot change |