-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: 3.4.0, 3.5.1
-
Component/s: Networking
-
None
-
Fully Compatible
-
v3.4
-
Platforms 2017-03-27
-
(copied to CRM)
During a primary step down, we call _closeConnection on all matching sessions. This kicks those sessions out of sourceMessage, which causes them to explicitly call end(), which calls _closeConnection. _closeConnection calls globalTicketHolder.release().
This causes us to double release on primary step down, which causes us to increase the effective number of tickets in the system.
This behavior is most noticeable when looking at the 'now open' number of connections in the main init and listen thread, where the 'outof' param stays steady at the desired number of connections, but the 'available' amount increases. This causes us to report negative numbers of open connections.
- is related to
-
SERVER-30311 re-enable TL Legacy endSessionsDoesntDoubleClose
- Closed