[DOCS-12562] Docs for SERVER-33149: createIndexes fails to report an error when index is not created with the specified name Created: 20/Mar/19  Updated: 13/Nov/23  Resolved: 10/Apr/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.10, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

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

Issue Links:
Documented
documents SERVER-33149 createIndexes fails to report an erro... Closed
Participants:
Days since reply: 4 years, 44 weeks ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

Previously, when you were to run createIndex(es) on an index that already exists, but with a different name, you would get the 'IndexAlreadyExists' message. Now when you try to do that, it will return 'IndexOptionsConflict' because the index from the createIndex(es) command you run with a different name does not exist with your name, but with a different one.

Engineering Ticket Description:

The createIndexes command fails to report an error when an index is not created with the specified name because an index already exists with the same keys but with a different name.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



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

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-12562: create index with different name option returns error
Branch: master
https://github.com/mongodb/docs/commit/07b69b4715536dae99e1c48904f101f9581ceb9e

Generated at Thu Feb 08 08:05:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.