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

add 'forTest' flag to movePrimary, and if it's set, make _configsvrMovePrimary call movePrimary on the primary shard

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-02-12, Sharding 2018-02-26, Sharding 2018-03-12

    Description

      We want to be able to incrementally test the new movePrimary protocol as it's being developed, so let's add a temporary 'forTest' boolean flag to mongo's and the config server's movePrimary IDL definitions.

      If the flag is set, configsvrMovePrimary should call movePrimary against the primary shard; otherwise, it should execute the existing movePrimary logic.

      Add a jstest that calls movePrimary with the 'forTest' flag to ensure it's working.

      Attachments

        Activity

          People

            blake.oler@mongodb.com Blake Oler
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: