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

Make txn_two_phase_commit_failover.js robust to it taking a long time for a new coordinator primary to be elected

    XMLWordPrintable

Details

    • ALL
    • Sharding 2020-01-13, Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06
    • 0

    Description

      The test currently usesĀ force stepdown (which means the stepdown will occur even if there is no electable secondary that is caught up, and that the current primary will not do an election handoff).

      This means it is possible that no secondary will run for election for 10 seconds, which cuts it close to theĀ 20 seconds mongos waits to find a new primary.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding-nyc Backlog - Sharding NYC
              esha.maharishi@mongodb.com Esha Maharishi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: