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

continuous stepdown overrides should maintain parameters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.2, 4.0.18
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • TIG 2018-08-27, TIG 2018-08-13
    • 15

    Description

      The continuous_stepdown suites overrides some of the ReplSetTest functions in continuous_stepdown.js. They do not, however, maintain all the parameters that are passed to the original functions. Which means the behavior is not maintained. For example, startSet takes a 'restart' parameter that is missing from the overridden version. The overridden version should maintain all the parameters of the original functions.

      The three functions being overridden are:

      • startSet
      • stopSet (It looks like this uses the parameters variable to maintain the parameter list).
      • awaitLastOpCommitted

      It would be great to actually capture all the original parameters or enforce that new parameters must be added to the overridden functions so that if new parameters are added to the original functions in the future, we can be sure to add them to the overridden versions as well.

      Attachments

        Activity

          People

            david.bradford@mongodb.com David Bradford (Inactive)
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: