-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Authentication
-
None
-
C Drivers
The Authentication and SDAM specifications require authentication failure errors to provoke a standardized response: the connection pool is cleared, server status changed to unknown, and corresponding events emitted. The C driver does not yet have these standard features. Additionally, authentication failures do not even reliably cause command failures. If authentication fails as part of a speculative auth reply, the failure will be fully ignored and transparently retried.
Necessitates unified test skips:
{"auth-error", "Reset server and pool after AuthenticationFailure error"},
{"auth-network-error", "Reset server and pool after network error during authentication"},
{"auth-misc-command-error", "Reset server and pool after misc command error"},
{"auth-shutdown-error", "Reset server and pool after shutdown error during authentication"},
In addition to the explicit skips, many tests attempt to cover this feature unsuccessfully by checking for poolClearedEvent, unsupported due to CMAP being out-of-scope. These tests are rendered ineffective until the necessary event handlers are implemented.
- is related to
-
CDRIVER-4090 Speculative auth on a pooled client may reuse a closed stream
- Backlog
-
CDRIVER-2871 Implement Connection Monitoring and Pooling spec
- Closed