summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/restart_catalog_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/restart_catalog_command.cpp')
-rw-r--r--src/mongo/db/commands/restart_catalog_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/restart_catalog_command.cpp b/src/mongo/db/commands/restart_catalog_command.cpp
index fd954626f10..6dec4a02d24 100644
--- a/src/mongo/db/commands/restart_catalog_command.cpp
+++ b/src/mongo/db/commands/restart_catalog_command.cpp
@@ -93,7 +93,7 @@ public:
// marked drop-pending. (Otherwise, the Database object will be reconstructed when
// re-opening the catalog, but with the drop pending flag cleared.)
std::vector<std::string> allDbs;
- getGlobalServiceContext()->getGlobalStorageEngine()->listDatabases(&allDbs);
+ getGlobalServiceContext()->getStorageEngine()->listDatabases(&allDbs);
for (auto&& dbName : allDbs) {
const auto db = DatabaseHolder::getDatabaseHolder().get(opCtx, dbName);
if (db->isDropPending(opCtx)) {