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

Swap movePrimary command for ShardingTest::ensurePrimaryShard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.9, 3.3.10
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Sharding 17 (07/15/16)
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: