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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-03-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Yuhong Zhang
              Reporter:
              Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: