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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 4.1.7
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-17

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: