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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      TIG 2017-10-23
    • Linked BF Score:
      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

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: