-
Type: New Feature
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
Minor Change
-
Integration 2016-10-10
-
(copied to CRM)
Add validation for createIndexes field names both at the top level and in the index specification. This is to prevent mis-spelled field names and correct field names being placed at the wrong level of the command specification (for example "background: true" being placed at the top level rather then within the index spec document.
- duplicates
-
SERVER-10679 dropDups option for ensureIndex method's option doesn't treat number one as a truthy value.
- Closed
- is duplicated by
-
SERVER-11577 Check function's BSON options
- Closed
-
SERVER-30937 Migration failed because of `already exists with different options`
- Closed
-
SERVER-20424 Creating Index with invalid properties
- Closed
-
SERVER-8638 Allowed to build {<field>:0} index
- Closed
-
SERVER-16995 Validate options for createIndexes command
- Closed
-
SERVER-17449 collection.ensureIndex should ignore unsupported options
- Closed
- is related to
-
SERVER-24032 When processing createIndexes (on V2 indexes), secondaries should error on unfamiliar arguments
- Closed
-
SERVER-24033 createIndexes command should write the spec of the index as created to the oplog
- Closed
-
SERVER-11266 Error on capped collection TTL deletes blocks other collection deletes (in same db)
- Closed
-
SERVER-30272 Found an index like {fieldName: 0}
- Closed
-
SERVER-14422 Validate index option values
- Closed
-
SERVER-21779 db.runCommand() should return error if second argument is invalid
- Closed
-
DRIVERS-2109 Add tests to Index Management spec
- Backlog
- related to
-
SERVER-26287 createIndexes should confirm that index options are valid in respect to the underlying collection
- Closed
-
SERVER-27711 createIndexes command incorrectly rejects maxTimeMS option
- Closed
-
SERVER-36944 applyOps does not permit unknown field names when creating a v:1 index
- Closed
-
SERVER-26217 Disallow dropDups field in createIndexes command (for version 2 indexes)
- Closed