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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-02-10
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: