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

Remove unnecessary shard from index_commands_shard_targeting.js

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.1
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-06-01
    • Linked BF Score:
      28

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: