-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.10.2
-
Component/s: None
-
None
If a socket is checked out from a pool and authentication fails when being applied to that socket, the code path will lead you into a recursive lock.
The connection_mutex lock is acquired when checking out a socket. If the authentication command fails when being applied to that socket, the networking code will call #checkin on the socket. Checking in the socket requires acquiring the same connection_mutex in the pool.