[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: |