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

Retry replSetStepDown in rollback_test.js

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.20, 4.2.9, 4.4.1, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Repl 2020-06-01, Repl 2020-06-15, Repl 2020-06-29
    • Linked BF Score:
      8

      Description

      Currently, we check if the replSetStepDown in rollback_test.js throws an exception. It seems possible for the command to return an error, but not throw a JS exception (for instance, if it times out when trying to acquire the RSTL lock).

      We should retry replSetStepDown if it returns an error.

        Attachments

          Activity

            People

            Assignee:
            xuerui.fa Xuerui Fa
            Reporter:
            xuerui.fa Xuerui Fa
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: