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

Convert a unique index to a non-unique index via the collMod command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-03-07

    Description

      Support the option "unique: false", which indicates that the user would like to convert a unique index to a non-unique one. This will involve changing the index spec in the durable catalog.

      We should only allow this conversion if the unique index is in the correct internal data format (SERVER-63577), which ensures that all keys are in the new format.

      We would basically like to provide functionality opposite to what SERVER-61158 introduced.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: