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

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Execution Team 2021-11-01

      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.

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

              Created:
              Updated:
              Resolved: