[DOCS-10523] Docs for SERVER-29191: Dropping an index named "*" is ambiguous because createIndexes permits an index to be named "*" Created: 13/Jul/17  Updated: 29/Oct/23  Resolved: 04/Oct/17

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: replication
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29191 Dropping an index named "*" is ambigu... Closed
Participants:
Days since reply: 6 years, 19 weeks, 4 days ago
Epic Link: DOCS: 3.6 Server

 Description   

Documentation Request Summary:

createIndexes now disallows creation of indexes named '*' (literally a single asterisk). dropIndexes will not allow deletion of such indexes either, except by dropping a collection or all indexes for a collection.

Engineering Ticket Description:

Prior to the changes from 6fd95f8 as part of SERVER-28200, the oplog entry for the "dropIndexes" command represented the index using its key pattern rather than its name. Dropping an index named "*" is interpreted by the replication subsystem as dropping all indexes and can cause the primary and secondaries not to have the same set of indexes.

CC judah.schvimer



 Comments   
Comment by Githook User [ 30/Sep/17 ]

Author:

{'email': 'pavi@MacBook-Pro-77.local', 'name': 'Pavithra Vetriselvan'}

Message: DOCS-10523 updated create and drop indexes pages to disallow * naming

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/eb1cb86ec80c82b8db22a24373fc6f4f8a7b3c84

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