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

Always close user sockets during global process shutdown

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Service Arch

      During global process shutdown, we kill all operations and return a shutdown error over client sockets. But this doesn't actually make a lot of sense, as the host is unlikely to be a good target for more operations over those sockets and network errors are already retriable. Just closing the socket would probably produce better results than what we're doing today.

      This should be a reasonably simple change (a check, probably somewhere in the service state machine / entry point, to close the socket rather than return a result if we're in global shutdown and we've been killed with a shutdown error)

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: