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

Support creating a Status with a unique numeric code

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc3
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Repl 2017-10-23, Repl 2017-11-13

      We currently ban creating a unique numeric code in a Status (rather than a uassert) because our unique code checker won't see them which will cause duplicate codes. This ticket is about making that work so we don't need to keep using ErrorCodes::BadValue everywhere.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: