-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Component/s: CMAP, Load Balancer
-
Not Needed
DRIVERS-1942 added the following clarification to the CMAP spec section describing the "Clearing a Connection Pool" method:
This method MUST NOT be used in load balancer mode.
If the pool.clear() method is not used, then load balanced pools will never emit PoolClearedEvents. However, there is a load balancer spec test which asserts that a PoolClearedEvent is emitted after a connection handshake failure:
https://github.com/mongodb/specifications/blob/008d2f5/source/load-balancers/tests/sdam-error-handling.yml#L175-L205
What should a driver do when clearing a load balanced pool without a serviceId (eg when the initial hello command fails)? Is the load balancer test simply out of date?
- is caused by
-
DRIVERS-1942 Clarify clearing behavior for load balanced pools
- Implementing
- is depended on by
-
PYTHON-2933 Clarify clearing behavior for load balanced pools
- Backlog