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

continuous stepdown overrides should maintain parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      TIG 2018-08-27, TIG 2018-08-13
    • Linked BF Score:
      0

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: