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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Storage
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Execution Team
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: