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

Fix stepdown command in double_rollback.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.2, 3.5.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Sprint:
      Platforms 2017-01-23
    • Linked BF Score:
      0

      Description

      The following stepdown command in double_rollback.js will trigger an error "stepdown period must be longer than secondaryCatchUpPeriodSecs", because default secondaryCatchUpPeriodSecs is 10 seconds, greater than the given 1 second stepdown period.

                  assert.commandWorked(primary.adminCommand({replSetStepDown: 1}));
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: