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

Get rid of the DuplicateKeyValue error code

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 4.7.0
    • None
    • Storage
    • Fully Compatible
    • Integration F (02/01/16), Integration 10 (02/22/16), Execution Team 2020-07-13, Execution Team 2020-07-27
    • 0

    Description

      Everywhere in the code and in the documentation we use error code 11000 to indicate duplicate key errors. In the MMAP V1's btree code, we could return error code 84 (DuplicateKeyValue) and this might get propagated to the caller.

      We should get rid of error code 84.

      Attachments

        Activity

          People

            bynn.lee@mongodb.com Bynn Lee
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: