diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2019-11-06 16:24:40 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-06 16:24:40 +0000 |
commit | 39c08aceaf7fa15a8e65cf80b09863b452425426 (patch) | |
tree | 7efc9eab66c71f8894c7ebf6dee8b0ee649dec18 /src/mongo/db/commands/mr.cpp | |
parent | 0ff5e5e7cc09c31d3fe260cf6602f461e6e20bb6 (diff) | |
download | mongo-39c08aceaf7fa15a8e65cf80b09863b452425426.tar.gz |
SERVER-44276: Change storage engine catalog map to be keyed by RecordId instead of Namespace.
Diffstat (limited to 'src/mongo/db/commands/mr.cpp')
-rw-r--r-- | src/mongo/db/commands/mr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp index f9f1ced56da..f7bc154dfb8 100644 --- a/src/mongo/db/commands/mr.cpp +++ b/src/mongo/db/commands/mr.cpp @@ -560,8 +560,8 @@ void State::prepTempCollection() { auto const finalColl = autoGetFinalColl.getCollection(); if (finalColl) { - finalOptions = - DurableCatalog::get(_opCtx)->getCollectionOptions(_opCtx, finalColl->ns()); + finalOptions = DurableCatalog::get(_opCtx)->getCollectionOptions( + _opCtx, finalColl->getCatalogId()); std::unique_ptr<IndexCatalog::IndexIterator> ii = finalColl->getIndexCatalog()->getIndexIterator(_opCtx, true); |