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

Missing collection hides collection UUID mismatch for collMod unique index conversion

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc9, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-06-13

    Description

      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.

      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: