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

Remove `movePrimary` calls from tests not needing it

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 7.3.0-rc2
    • None
    • Sharding
    • None
    • Fully Compatible
    • CAR Team 2024-01-08

    Description

      There are several tests that could avoid calling movePrimary. Purpose of this ticket is to readapt such tests in the following ways:

      • Tests unnecessarily invoking movePrimary:
        • Remove invocations
      • Tests invoking movePrimary right after enableSharding in order to place unsharded collections on a specific shard:
        • Invoke enableSharding with primaryShard argument

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: