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

Replace movePrimary calls with changePrimary calls in jstests

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • ALL

      In preparation for deprecating movePrimary, we can begin updating tests that use movePrimary only for ensuring collections live on certain shards to instead call changePrimary. If there are tests expecting movePrimary to move data, we should see if we can replace these as well with calls to moveCollection and changePrimary.

      This ticket will not be responsible for changing any tests explicitly testing the movePrimary behavior or any tests using movePrimary for removing a shard.

      address the TODOs

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: