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

Better error handling and reporting for keystring decoding errors in validate

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • RSS Sydney
    • Fully Compatible
    • CookieFloss - 29/10/24, Party@Gregs - 2024-11-12

      Certain keystring decoding errors throw exceptions like this one.

      Including the full keystring in the error message would be a significant debugging aid when we see validation failures in this area.

      Additionally, if an exception like this is thrown, it prevents us from advancing our cursor, but we should still try to add context about the document, if possible, and continue with validation on other indexes.

            Assignee:
            aaron.balsara@mongodb.com Aaron Balsara
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: