Perform collectionUUID check inside of AutoGetCollection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-10-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Gregory Noma
              Reporter:
              Gregory Noma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: