Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2495

Expose connection error that cause check out to fail

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CMAP
    • Labels:
      None
    • Needed

      Summary

      ConnetionCheckOutFailed events include a reason for the failure. The reason associated with connection errors doesn't include the actual error though. In the logging spec changes for CMAP, we decided that this would be worthwhile to introduce. We should also update the events to include the error to give users a better idea of why a check out might have failed.

      Motivation

      Who is the affected end user?

      Users, driver authors, TSEs

      How does this affect the end user?

      They have greater visibility into what connection errors have occured.

      How likely is it that this problem or use case will occur?

      It's a failure cause, but a relatively common one.

      If the problem does occur, what are the consequences and how severe are they?

      Users can't observe connection errors when they occur, which makes debugging harder.

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      No

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: