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

Try removing `...` exception handler in ASIOSession constructor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2022-2-21
    • 2

      The ASIOSession constructor catches all exceptions that aren't DBException or asio::system_error and changes them to an error code 50797. At a level higher up, all DBExceptions get swallowed without action. By doing this, we're essentially hiding all exceptions that come out of trying to construct an ASIOSession.

      This ticket is to try unpeeling that catch-all, and do a few Evergreen passes to see if anything breaks. If not, then we should commit the removal to master for better debuggability in the future.

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

              Created:
              Updated:
              Resolved: