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

Make migration_coordinator_failover.js wait for mongos to see new shard primary before running CRUD comamnds through mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2020-02-10
    • 0

    Description

      This makes the test robust to things like both shard replica set nodes running for election at the same time and losing the first election, and therefore it taking longer than the 20 seconds that mongos waits to find a primary for a CRUD command for a new primary to be elected.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: