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.
eliminate catalog::openCatalog() link dependency on 'repl/oplog' library
- Assignee:
-
Benety Goh
- Reporter:
-
Benety Goh
- Votes:
-
0 Vote for this issue - Watchers:
-
0 Start watching this issue
- Created:
- Updated:
- Resolved: