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

background validation fails due to inconsistent view of index spec and keys

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Storage Execution
    • Minor Change
    • ALL
    • v7.2, v7.0
    • Execution Team 2023-11-27, Execution Team 2023-12-11
    • 135

    Description

      When validating a collection with the {{

      {background: true}

      }} option, we read the collection and index keys at a timestamp established here in the validation code. Even though the index spec is consistent with the keys at the time the cursor is established, it is possible for the index definition to change (e.g. non-unique to unique) before we start to inspect the index keys.

      This inconsistent view of the index catalog and index keys may lead to validation failures that are not reflective of a real issue in the collection.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: