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

Exceptions thrown while generating index keys fail collection validation

    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • Execution Team 2024-06-24, Execution Team 2024-07-08, Execution Team 2024-07-22, Execution Team 2024-08-05
    • 200

      Some index key generation methods may throw exceptions as part of the control flow, to indicate that a given document has contents which are not compatible with the current set of indexes for a given collection. Collection validation generates the expected keys for each document in order to check them against the index keys on disk for consistency. If an exception is encountered during this process, it fails the validation process early, which could mask other issues.

      It is likely we can safely catch certain types of exceptions, record the failure, and continue to validate the rest of the collection. If not, we should make quite clear that the results are incomplete.

            Assignee:
            stephanie.eristoff@mongodb.com Stephanie Eristoff
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: