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

Use ensurePrimaryShard instead of movePrimary in mongos_validate_writes.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.10
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-07-31
    • 0

    Description

      movePrimary can return the error 'it is already the primary' and is asserted in mongos_validate_writes.js. Instead, use ensurePrimaryShard, which handles and ignores this error. It's fine to ignore this error because it means that the goal is already accomplished, which randomly may be the case.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: