-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.6.0-rc0
-
Component/s: Index Maintenance
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When creating a hashed index over an array we get the wrong error code.
Actual:
WriteResult({
"nInserted" : 0,
"writeError" : {
"code" : 1,
"errmsg" : "Error: hashed indexes do not currently support array values"
}
})
Expected:
WriteResult({
"nInserted" : 0,
"writeError" : {
"code" : 16766,
"errmsg" : "Error: hashed indexes do not currently support array values"
}
})