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

Use ensurePrimaryShard instead of movePrimary in mongos_validate_writes.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-07-31
    • 0

      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.

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

              Created:
              Updated:
              Resolved: