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

add better error handling for validate's use of KeyString

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.3
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-11-02

      KeyString's functions can throw exceptions, but the validate command doesn't specifically catch these exceptions; instead, there is a top-level catch in validate that only reports the error and interrupts the rest of the validate procedure. It would be better if we could catch these exceptions at a lower level, thus allowing validate to skip over and continue after encountering index table records that aren't valid KeyStrings.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: