diff options
Diffstat (limited to 'src/mongo/db/catalog/index_builds_manager.cpp')
-rw-r--r-- | src/mongo/db/catalog/index_builds_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_builds_manager.cpp b/src/mongo/db/catalog/index_builds_manager.cpp index 0c85b725664..3c222bd16cf 100644 --- a/src/mongo/db/catalog/index_builds_manager.cpp +++ b/src/mongo/db/catalog/index_builds_manager.cpp @@ -135,7 +135,7 @@ StatusWith<std::pair<long long, long long>> IndexBuildsManager::startBuildingInd OperationContext* opCtx, NamespaceString ns, const UUID& buildUUID) { auto builder = _getBuilder(buildUUID); - auto coll = CollectionCatalog::get(opCtx).lookupCollectionByNamespace(ns); + auto coll = CollectionCatalog::get(opCtx).lookupCollectionByNamespace(opCtx, ns); auto rs = coll ? coll->getRecordStore() : nullptr; // Iterate all records in the collection. Delete them if they aren't valid BSON. Index them |