[SERVER-39669] Support creating index builds with unknown options Created: 19/Feb/19  Updated: 29/Oct/23  Resolved: 25/Feb/19

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Storage
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-41554 Remove applyOps support for createInd... Closed
related to SERVER-52539 Specify input/output to createIndexes... Closed
is related to SERVER-39925 change ignoreUnknownSpecFieldNames to... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-02-25, Storage NYC 2019-03-11
Participants:

 Description   

This is to support MongoMirror's use case of mirroring preexisting index specs with unknown options.



 Comments   
Comment by Eric Milkie [ 28/Feb/19 ]

The new parameter is "ignoreUnknownIndexSpecFields"; when set to "true", the createIndexes command will eliminate any unknown fields in passed index specs. Without the parameter, the command would return an error for any unknown fields in index specs.

Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-39669 Support creating index builds with unknown options
Branch: master
https://github.com/mongodb/mongo/commit/8464972fec625390c4856f2fc364ae4a561b511d

Comment by Eric Milkie [ 20/Feb/19 ]

The work for this is to add a new hidden option to the new create index command. This option will change the behavior of the command to not return an error if index specs contain unknown fields.

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