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

Increase replica set size and stepdown period and decrease election timeout in auto_retry_on_network_error.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-10-23
    • 0

    Description

      auto_retry_on_network_error.js, can fail with a NotMaster error when the same node is elected primary in successive terms. To decrease the frequency the test is failing at, add an extra node to the test's replica set, increase the replSetStepDown period, and decrease the election timeout to reduce the chance this happens. This should also significantly reduce the test's runtime.

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              jack.mulrow@mongodb.com Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: