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

Avoid running command in a separate thread in index_commands_shard_targeting.js

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2020-11-16

    Description

      index_commands_shard_targeting.js is running index related command in a separate thread and in parallel waiting for a log line to eventually appear on shard0.

      There is no need to run these steps in parallel, in fact we can run the command, assert that it will fail and then search in the log lines of shard0, all in an old-fashion sequential approach

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: