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

Log socket errors after a call to asio::set_option fails

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch 2022-04-04
    • 64

      BF-24678 reported an unhandled exception on a socket connect due to asio::socket::set_option invalid parameter happening on Darwin. Despite the lack of exception handling later address by SERVER-61016, the team suspects sockets may be closed by the time set_option is called on them.

      AC: This ticket is to augment setSocketOption logging and report the last socket error (if any) after setting options on it.

            Assignee:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Reporter:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: