Consider graceful shutdown when address is in use on TL startup

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We intentionally crash when the address is already in use during transport layer startup: https://github.com/mongodb/mongo/blob/22636aac432fee2d25573a50a3ea35c19c01162d/src/mongo/transport/asio/asio_transport_layer.cpp#L1184

       

      We could instead exit cleanly & shutdown, with a clearer error for the user to act on.

            Assignee:
            Unassigned
            Reporter:
            Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: