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

Replace movePrimary calls with changePrimary calls in jstests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • ALL

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: