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

Improve errorcodes.py so it captures multiline messages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Diagnostics
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Epic Link:
    • Sprint:
      Server 2.7.3

      Description

      The output of buildscripts/errorcodes.py currently contains a large number of missing or truncated messages. At least 400 are visible here:

      http://docs.10gen.cc/kernel/master/errors.html

      Not being able to see these messages in the errors.md output prevents us from providing a full audit as requested in DOCS-1519, and makes it difficult to improve our messages.

      Many of these missing messages are caused by errorcodes.py naively walking the source files line-by-line, without lookahead. Let's fix this.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: