-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.2.0-rc3
-
Component/s: Index Maintenance
-
None
-
Fully Compatible
-
ALL
-
v4.2
-
Query 2019-07-29
-
(copied to CRM)
When constructing a DuplicateKeyErrorInfo object we pass a keyValue object that contains an empty string and a value for each element of a compound index. This allows for a BSONObj that has the same field name (empty string) duplicated for multiple fields. We should instead replace the empty string with the actual index key field name.