Bug #66476 | MySqlPool - use Stack instead of Queue for better idlepool cleanup | ||
---|---|---|---|
Submitted: | 21 Aug 2012 2:54 | Modified: | 2 Aug 2022 14:49 |
Reporter: | Poul Bak | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.6.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | MySqlPool idle cleanup |
[21 Aug 2012 2:54]
Poul Bak
[21 Aug 2012 2:55]
Poul Bak
MySqlPool.cs after change
Attachment: MySqlPool.cs (text/plain), 11.68 KiB.
[21 Aug 2012 3:33]
Poul Bak
The change should be able to go into earlier versions of .Net connector too.
[28 Aug 2012 14:55]
Poul Bak
I should mention that I have run this code for a week now in production.
[15 Jul 2016 11:06]
Chiranjeevi Battula
Hello Poul Bak, Thank you for the bug report. Verified based on internal discussion with dev's. Thanks, Chiranjeevi.
[3 Feb 2022 13:48]
Bradley Grainger
See #106368 for an updated version of this suggestion that uses LinkedList<T>.
[2 Aug 2022 1:52]
Bradley Grainger
This is now fixed in 8.0.30; see bug #106368.
[2 Aug 2022 14:47]
Daniel Valdez
Posted by developer: Fixed in Connector/NET v8.0.30. (see 33935441)