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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.11, 4.2.18, 5.0.3, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0, v4.4, v4.2, v4.0
    • Linked BF Score:
      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

            Assignee:
            vishnu.kaushik Vishnu Kaushik
            Reporter:
            vishnu.kaushik Vishnu Kaushik
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: