[SERVER-38400] eliminate catalog::openCatalog() link dependency on 'repl/oplog' library Created: 04/Dec/18 Updated: 29/Oct/23 Resolved: 06/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| 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-17 |
| Participants: |
| Description |
|
The functions in catalog_control.cpp rely mostly on the repair_database and catalog interfaces. On reopening the local.oplog.rs collection, it needs to update the cached point in repl/oplog.cpp. This currently makes catalog_control.cpp dependent on the heavy weight library 'repl/oplog'. We can redirect this function call by adding a function to the Collection interface and having CollectionImpl call into the 'repl/oplog' library. |
| Comments |
| Comment by Githook User [ 06/Dec/18 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |