Swap movePrimary command for ShardingTest::ensurePrimaryShard

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.9, 3.3.10
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ShardingTest::ensurePrimaryShard calls movePrimary and correctly checks the result for success or the error "it is already the primary". movePrimary should not be afterwards called, and really should always be replaced by ensurePrimaryShard.

              Assignee:
              Dianna Hohensee (Inactive)
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: