Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38400

eliminate catalog::openCatalog() link dependency on 'repl/oplog' library

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage NYC 2018-12-17

      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.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: