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

move explicit construction of the Collection class into catalog_impl library

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.1.7
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-31

    Description

      The rebuildIndexesOnCollection() function in the repair_database library still constructs the Collection class when rebuilding indexes in a collection here:

      https://github.com/mongodb/mongo/blob/b4cb96852037aecfab27aa7b72a2ee586a3aa2e3/src/mongo/db/repair_database.cpp#L148

      Delegating this construction call to one of the catalog interfaces such as DatabaseHolder will enable us to unshim the Collection class eventually.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: