[SERVER-40658] Index spec validation errors do not specify which index failed with that error Created: 15/Apr/19  Updated: 29/Oct/23  Resolved: 10/Jun/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-13240 CreateIndexes: report per index error... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-06-03, Execution Team 2019-06-17
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 10/Jun/19 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-40658 Index spec validation errors specify which index failed with that error
Branch: master
https://github.com/mongodb/mongo/commit/65f27cfb2e9f66643ba337432d3ffc4270bd1b88

Generated at Thu Feb 08 04:55:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.