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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.11, 4.2.18, 5.0.3, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2, v4.0
    • 21

    Description

      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.

      Attachments

        Activity

          People

            vishnu.kaushik@mongodb.com Vishnu Kaushik
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: