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

relocate free function checkForIdIndexesAndDropPendingCollections()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.6
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Storage NYC 2018-12-03

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            benety.goh Benety Goh
            Reporter:
            benety.goh Benety Goh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: