[SERVER-38216] relocate free function checkForIdIndexesAndDropPendingCollections() Created: 20/Nov/18  Updated: 29/Oct/23  Resolved: 26/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Improvement Priority: Trivial - P5
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-12-03
Participants:

 Description   

The free function checkForIdIndexesAndDropPendingCollections() defined in repair_database_and_check_version.cpp does some namespace checks on a database and is called during repair and at server startup. We should consider moving this function out of the repair library. One possibility is turning this free function into a method on the Database class.



 Comments   
Comment by Githook User [ 26/Nov/18 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-38216 convert free function checkForIdIndexesAndDropPendingCollections() to a method on Database
Branch: master
https://github.com/mongodb/mongo/commit/820fd6a3a741844949103b200ed5558799faaad9

Generated at Thu Feb 08 04:48:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.