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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-02-12, Sharding 2018-02-26, Sharding 2018-03-12
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Blake Oler
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: