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

typo in kill_rooted_or.js concurrency workload

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • Fully Compatible
    • ALL
    • QE 2022-04-18

    Description

      This line of code in the kill_rooted_or.js concurrency workload is subtly wrong:

      populateIndexes(db[this].collName, this.indexSpecs);
      

      The closing square bracket is in the wrong place. It should be written like so:

      populateIndexes(db[this.collName], this.indexSpecs);
      

      The workload still passes, but it is not doing what it was originally intended to do. As written, the call to populateIndexes() builds indexes on a collection named something like "[object Object].collName" as opposed to the collection named "kill_rooted_or" against which all the other test operations occur. We should fix the workload to build indexes against the correct collection.

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              david.storch@mongodb.com David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: