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

typo in kill_rooted_or.js concurrency workload

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • QE 2022-04-18

      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.

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

              Created:
              Updated:
              Resolved: