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

Retry replSetStepDown in rollback_test.js

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.20, 4.2.9, 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Repl 2020-06-01, Repl 2020-06-15, Repl 2020-06-29
    • 8

      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.

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

              Created:
              Updated:
              Resolved: