Exclude OCSP errors from backpressure label

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Unknown
    • 2.9.0
    • Affects Version/s: None
    • Component/s: Backpressure
    • None
    • Go Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed steps to reproduce the problem?

      OCSP are non-I/O TLS errors since revocation checking is certificate validation and retrying the server would probably fail.

      Definition of done: what must be done to consider the task complete?

      Need to add the following block to wrapConnectionError:

      var ocspErr *ocsp.Error
      if errors.As(connErr.Wrapped, &ocspErr) {
          return connErr
      }
      

      The exact Go version used, with patch level:

      NA

      The exact version of the Go driver used:

      main

      Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.

      NA

      The operating system and version (e.g. Windows 7, OSX 10.8, ...)

      NA

      Security Vulnerabilities

      NA

            Assignee:
            Preston Vasquez
            Reporter:
            Preston Vasquez
            Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: