diff options
author | Benety Goh <benety@mongodb.com> | 2018-11-26 14:27:10 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-11-26 14:27:10 -0500 |
commit | 820fd6a3a741844949103b200ed5558799faaad9 (patch) | |
tree | a586cf3e6b24b7994203619da094924627d58ca8 /src/mongo/db/repair_database_and_check_version.h | |
parent | 08a3ced33927cc4de0f9ff09384abbcd9c2212f4 (diff) | |
download | mongo-820fd6a3a741844949103b200ed5558799faaad9.tar.gz |
SERVER-38216 convert free function checkForIdIndexesAndDropPendingCollections() to a method on Database
Diffstat (limited to 'src/mongo/db/repair_database_and_check_version.h')
-rw-r--r-- | src/mongo/db/repair_database_and_check_version.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/repair_database_and_check_version.h b/src/mongo/db/repair_database_and_check_version.h index 063431a2e77..d88f777e744 100644 --- a/src/mongo/db/repair_database_and_check_version.h +++ b/src/mongo/db/repair_database_and_check_version.h @@ -33,7 +33,6 @@ #include "mongo/base/status_with.h" namespace mongo { -class Database; class OperationContext; /** @@ -41,11 +40,4 @@ class OperationContext; * represents whether there are non-local databases. */ StatusWith<bool> repairDatabasesAndCheckVersion(OperationContext* opCtx); - -/** - * If we are in a replset, every replicated collection must have an _id index. As we scan each - * database, we also gather a list of drop-pending collection namespaces for the - * DropPendingCollectionReaper to clean up eventually. - */ -void checkForIdIndexesAndDropPendingCollections(OperationContext* opCtx, Database* db); } |