single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.11, 4.2.18, 5.0.3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2, v4.0
    • 21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After the node changes state to REMOVED, it closes all of its connections. However, since there is a delay between the state transition and when connections are closed, we may find that the connection is closed when we arrive at the replSetReconfig command. This line needs to be wrapped in an assert.soonNoExcept to handle a potentially closed connection.

              Assignee:
              Vishnu Kaushik
              Reporter:
              Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: