-
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.
- depends on
-
GODRIVER-3907 Bump minimum Go version to 1.21 or higher
-
- Closed
-
- is duplicated by
-
GODRIVER-3966 Exclude some tls.AlertError alerts from backpressure labels
-
- Closed
-