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

add test for createIndexes command to check if all indexes already exist under an intent lock

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Storage
    • Execution Team 2021-11-01

    Description

      The createIndexes command checks the requested index specs against the existing indexes in the catalog under an intent lock. We should ensure that we have test coverage over this code path (either by extending an existing test or adding a new test script).

      The JS test create_new_indexes_with_conflict.js was originally introduced in SERVER-44405 to cover this test case, but we discovered this was not the case in SERVER-49415.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: