Exclude tls.AlertError from backpressure labels

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fix Not Needed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Go Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Companion to GODRIVER-3906 (the tls.RecordHeaderError fix). CMAP mandates that "non-I/O TLS errors" not carry backpressure labels; peer fatal alerts (tls.AlertError) are non-I/O TLS errors. The type was added in Go 1.21 and cannot be referenced on the current Go 1.19 minimum supported version.

      Definition of done

      • Check if it's possible to get a tls.AlertError with TCP TLS (i.e. check if it's UDP/QUIC-only).
        • If it's not possible, close this ticket as "Won't Do" because it's not relevant to TLS with MongoDB.
        • If it is possible, add a tls.AlertError branch to the deny-list in wrapConnectionError.

            Assignee:
            Preston Vasquez
            Reporter:
            Preston Vasquez
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: