[CONJS-206] possible race condition on connection destroy when no other connection can be created Created: 2022-06-08  Updated: 2022-07-01  Resolved: 2022-07-01

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other
Affects Version/s: None
Fix Version/s: 3.0.1

Type: Bug Priority: Minor
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Very rare case : possible race condition on connection.destroy when no other connection can be created (reaching max_connections). This result in error of type :

TypeError: Cannot read property 'startPacket' of undefined
    at Quit.start (lib\cmd\quit.js:17:9)


Generated at Thu Feb 08 03:23:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.