Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27021

add index name to duplicate record error message

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage 2016-12-12
    • 7

      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.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: