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

Missing collection hides collection UUID mismatch for collMod unique index conversion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: