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

Exceptions thrown while generating index keys fail collection validation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: