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

Remove unnecessary shard from index_commands_shard_targeting.js

    • Fully Compatible
    • Sharding 2020-06-01
    • 28

      jstests/sharding/index_commands_shard_targeting.js verifies the commands that modify indexes check shard versions and trigger metadata refreshes. After an index command triggers a refresh, it asserts that a shard was not targeted did not refresh its metadata, which may or may not be true depending on the binary of the mongos that ran the command, because of the removal of the ShardConnection::checkMyConnectionVersions() call between stale config retries by SERVER-47426.

      Instead of blacklisting this test from the mixed version suites, the assertions on the extra shard can be removed since they don't affect the test's intended coverage.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: