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

Remove `movePrimary` calls from tests not needing it

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • CAR Team 2024-01-08

      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

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

              Created:
              Updated:
              Resolved: