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

Perform collectionUUID check inside of AutoGetCollection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-10-31

    Description

      For the commands which take a collectionUUID parameter, typically we take an AutoGetCollection to acquire the collection followed by a checkCollectionUUIDMismatch. We can streamline this process a bit by allowing AutoGetCollection to take an optional parameter for the expected UUID. This would also allow us to skip the lookup in the view catalog when collectionUUID is specified, preventing an InvalidViewDefinition error if invalid view definitions are present in system.views.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: