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

PrepareUnique:true for time-series collections should error

    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0, v6.0
    • Execution Team 2024-01-22, Execution Team 2024-02-05
    • 0

      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.

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

              Created:
              Updated:
              Resolved: