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

Retry replSetStepDown in rollback_test.js

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.20, 4.2.9, 4.4.1, 4.7.0
    • None
    • None
    • Fully Compatible
    • v4.4, v4.2, v4.0
    • Repl 2020-06-01, Repl 2020-06-15, Repl 2020-06-29
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: