Check op.ns collection matches collectionName in getIndexBuildOpId

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-06-09
    • 0
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      getIndexBuildOpId is a util test function for index build jstests.

      The test failed because we can have the createIndexes collection match the input collection collectionName in getIndexBuildOpId, with op.ns: [databaseName].$cmd. This means that we will say that we succeeded to complete the index build when we haven't in the collection [databaseName].collectionName in function waitForIndexBuildToStart (which depends on the result of getIndexBuildOpId)

              Assignee:
              Stephanie Eristoff
              Reporter:
              Stephanie Eristoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: