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

Add check to determine if idIndex request matches actual _id options in _configCreateCommand

    • Sharding EMEA
    • Sharding 2018-03-26, Sharding 2018-04-09, Sharding 2018-04-23, Sharding 2018-05-21, Sharding 2018-06-04, Sharding 2018-06-18, Sharding 2018-07-16, Sharding 2018-07-30, Sharding 2018-08-13, Sharding EMEA 2023-04-17

      Currently, the resulting _id index generated from a create collection can have more options compared to the idIndex options specified in the command request. As a result, if an attempt was made to call create with idIndex on a collection that already exist, but with a different _id index, it will not cause an error. Additional logic will be needed to compare if both are semantically equivalent.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: