Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.6.10, 3.0.5, 3.1.6
-
Fully Compatible
-
ALL
-
-
Integrate+Tuning 14 (05/13/16)
Description
An index with duplicate element names in the index spec can be created:
> db.coll.getIndexes()
|
[
|
{
|
"v" : 1,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_",
|
"ns" : "test.coll"
|
},
|
{
|
"v" : 1,
|
"key" : {
|
"a" : 1,
|
"a" : 1,
|
"b" : 1
|
},
|
"name" : "a_1_a_1_b_1",
|
"ns" : "test.coll"
|
}
|
]
|
Attachments
Issue Links
- is related to
-
SERVER-24032 When processing createIndexes (on V2 indexes), secondaries should error on unfamiliar arguments
-
- Closed
-
-
SERVER-6439 Duplicate fields at the same level should not be allowed
-
- Backlog
-