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

move explicit construction of the Collection class into catalog_impl library

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage NYC 2018-12-31

      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.

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

              Created:
              Updated:
              Resolved: