summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database_and_check_version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repair_database_and_check_version.cpp')
-rw-r--r--src/mongo/db/repair_database_and_check_version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repair_database_and_check_version.cpp b/src/mongo/db/repair_database_and_check_version.cpp
index 7e3ac75d22f..bc83a173eaf 100644
--- a/src/mongo/db/repair_database_and_check_version.cpp
+++ b/src/mongo/db/repair_database_and_check_version.cpp
@@ -268,7 +268,7 @@ void rebuildIndexes(OperationContext* opCtx, StorageEngine* storageEngine) {
const std::string& indexName = indexNamespace.second;
CollectionCatalogEntry* cce =
- UUIDCatalog::get(opCtx).lookupCollectionCatalogEntryByNamespace(collNss);
+ CollectionCatalog::get(opCtx).lookupCollectionCatalogEntryByNamespace(collNss);
invariant(cce,
str::stream() << "couldn't get collection catalog entry for collection "
<< collNss.toString());
@@ -297,7 +297,7 @@ void rebuildIndexes(OperationContext* opCtx, StorageEngine* storageEngine) {
NamespaceString collNss(entry.first);
auto collCatalogEntry =
- UUIDCatalog::get(opCtx).lookupCollectionCatalogEntryByNamespace(collNss);
+ CollectionCatalog::get(opCtx).lookupCollectionCatalogEntryByNamespace(collNss);
for (const auto& indexName : entry.second.first) {
log() << "Rebuilding index. Collection: " << collNss << " Index: " << indexName;
}