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

Make error code linter work with 6 digit SERVER ticket ids

    • Query Execution
    • Fully Compatible
    • v8.0, v7.0, v6.0
    • QE 2025-02-17
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Running the buildscripts/errorcodes.py linter on code that adds new error codes for 6 digit SERVER ticket ids currently fails with errors such as

      $ python buildscripts/errorcodes.py --quiet
      MALFORMED ID: 10027300
        src/mongo/bson/json.cpp:1586:13:uassert(10027300
      MALFORMED ID: 10027301
        src/mongo/bson/json.cpp:1596:13:uassert(10027301
      ok: False
      
      ERRORS DETECTED. To correct, run "buildscripts/errorcodes.py --fix" to replace zero codes.
      Other errors require manual correction.
      

      This should be fix to allow new error codes from these tickets again.

            Assignee:
            jan.steemann@mongodb.com Jan Steemann
            Reporter:
            jan.steemann@mongodb.com Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: