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

PrepareUnique:true for time-series collections should error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc2
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0, v6.0
    • Execution Team 2024-01-22, Execution Team 2024-02-05
    • 0

    Description

      PrepareUnique is used to prepare for unique index conversion, and time-series collections do not support unique indexes, so modifying an on a time-series collection through collMod with prepareUnique set to true should fail with a clear error message. At the moment this command is allowed.

      Attachments

        Activity

          People

            damian.wasilewicz@mongodb.com Damian Wasilewicz
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: