Missing collection hides collection UUID mismatch for collMod unique index conversion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc9, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-06-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When using collMod to convert an index to unique, we fail early here if the collection specified in the command does not exist. However, this causes us to not perform a collection UUID check even if the collectionUUID parameter was also specified. Note that this is only an issue on replica sets; on sharded clusters, the collectionUUID parameter is already honored even in this case.

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

                Created:
                Updated:
                Resolved: