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

relocate free function checkForIdIndexesAndDropPendingCollections()

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

      The free function checkForIdIndexesAndDropPendingCollections() defined in repair_database_and_check_version.cpp does some namespace checks on a database and is called during repair and at server startup. We should consider moving this function out of the repair library. One possibility is turning this free function into a method on the Database class.

            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: