[SERVER-27021] add index name to duplicate record error message Created: 14/Nov/16  Updated: 12/Jan/18  Resolved: 28/Nov/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.5.1

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-19281 Add index name as a separate field on... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage 2016-12-12
Participants:
Linked BF Score: 7

 Description   

The message here:

        if (!br.atEof()) {
            severe() << "Unique index cursor seeing multiple records for key "
                     << redact(curr(kWantKey)->key);
            fassertFailed(28608);
        }

..could be enhanced to supply the index name as well. The index name is a member of WiredTigerIndex, and the IndexCursorBase object where the message is generated has a reference to the WiredTigerIndex instance.



 Comments   
Comment by Githook User [ 28/Nov/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-27021 add index name to duplicate record error message
Branch: master
https://github.com/mongodb/mongo/commit/ad83b822167ab9314cc690c7ebed129d78c480fd

Generated at Thu Feb 08 04:13:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.