-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Connections
The implementation in close_stale_sockets! needs to be adjusted either for the current PR #1200 without background threads or for the new background thread implementation. Specifically:
- connection closes should have the corresponding events published
- reconnections should either be removed, such that all stale sockets result in the respective connections being closed and discarded, and new connections being created later by the background thread, OR reconnections should send correct pool events (and my feeling is it may not be worthwhile to get these events correct)
This needs to be done prior to the next driver release.