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

Swap movePrimary command for ShardingTest::ensurePrimaryShard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.9, 3.3.10
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)
    • 0

    Description

      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.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee
            dianna.hohensee@mongodb.com Dianna Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: