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

Support creating a Status with a unique numeric code

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc3
    • Component/s: Internal Code
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: