add index name to duplicate record error message

XMLWordPrintableJSON

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

      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
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: