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

Index spec validation errors do not specify which index failed with that error

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • Execution Team 2019-06-03, Execution Team 2019-06-17

      The IndexCatalog::removeExistingIndexes function will iterate over the specs provided to the createIndexes cmd and check them for errors. The particular index spec is not included in the error msg. If createIndexes receives multiple indexes to build, the error msg will not specify the particular index spec with which there was a problem.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: