Replace movePrimary calls with changePrimary calls in jstests

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: