[SERVER-2371] Duplicate key error on update does not specify index Created: 17/Jan/11  Updated: 12/Jul/16  Resolved: 24/Jun/11

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: 1.9.1

Type: Bug Priority: Minor - P4
Reporter: David Lee Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

On insert, duplicate key errors specify which index the duplicate key was found in.

On update, the error does not specify which index the duplicate key was found in.



 Comments   
Comment by auto [ 24/Jun/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: use helper for dup key error SERVER-2371
Branch: master
https://github.com/mongodb/mongo/commit/21217ca8b7182a6ee5d7ada5518d2f6df32fa1cd

Comment by Scott Hernandez (Inactive) [ 23/Jun/11 ]

Patch here: https://github.com/mongodb/mongo/pull/47

Generated at Thu Feb 08 02:59:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.