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

Get rid of the DuplicateKeyValue error code

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

      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.

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

              Created:
              Updated:
              Resolved: