[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: |
|
||||||||||||||||||||
| 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: |
| 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. |