[MXS-2645] Session client count is not always decremented when closing session Created: 2019-08-20  Updated: 2020-08-25  Resolved: 2019-10-04

Status: Closed
Project: MariaDB MaxScale
Component/s: mariadbclient
Affects Version/s: 2.3
Fix Version/s: 2.3.13

Type: Bug Priority: Major
Reporter: Esa Korhonen Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes MXS-2710 max_connections problem Closed
Sprint: MXS-SPRINT-90, MXS-SPRINT-91

 Description   

If a session fails at authentication, the session_put_ref-function is skipped, and the service->client_count not decremented. This means the session limit can be easily reached. May also be a memory leak.


Generated at Thu Feb 08 04:15:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.