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

    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-01-13, Sharding 2020-03-09, Sharding 2020-03-23, Sharding 2020-04-06
    • Linked BF Score:
      9

      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

          Activity

            People

            Assignee:
            backlog-server-sharding Backlog - Sharding Team
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: