Introduce dedicated SOCKS5 proxy exception to satisfy CMAP backpressure spec

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • 5.8.0
    • Affects Version/s: None
    • Component/s: Backpressure
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The CMAP specification (DRIVERS-3218) requires that connection-establishment errors carry the SystemOverloadedError and RetryableError labels so SDAM can preserve the connection pool under server backpressure.
      The same spec explicitly excludes several error categories from labelling, including SOCKS5 proxy failures:

      "For errors that the driver can distinguish as never occurring due to server overload, such as DNS lookup failures, non-I/O TLS errors, or errors encountered while establishing a connection to a SOCKS5 proxy, the driver MUST NOT add backpressure error labels for these error types."

       

       References

            Assignee:
            Nabil Hachicha
            Reporter:
            Nabil Hachicha
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: