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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: