[GODRIVER-1902] pool.Put() always releases the semaphore Created: 26/Feb/21  Updated: 01/Mar/22  Resolved: 01/Mar/22

Status: Closed
Project: Go Driver
Component/s: Connections
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Isabella Siu (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: new-eng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GODRIVER-2038 Use "ConnectionTimeout" for creating ... Closed

 Description   

topology.pool always releases the semaphore, even if the connection being put back is nil or from a different pool, so more connections can be available than there really are.



 Comments   
Comment by Matt Dale [ 01/Mar/22 ]

The pool no longer uses a semaphore to manage max connections (as of GODRIVER-2038), so this is no longer relevant.

Generated at Thu Feb 08 08:37:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.