move explicit construction of the Collection class into catalog_impl library

XMLWordPrintableJSON

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

      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
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: