This project is archived and is in readonly mode.
[PATCH] Fix race in ConnectionPool#checkout
Reported by Aliaksey Kandratsenka | October 4th, 2008 @ 03:27 PM | in 2.x
See patch.
After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is already available.
This is also available from http://github.com/alk/rails/comm... and http://github.com/alk/rails/comm...
There are two patches in attachment suitable for git-am
Comments and changes to this ticket
-
Repository October 4th, 2008 @ 04:49 PM
- State changed from new to committed
(from [834361145a805b5077f962dc2e67a0a9ea882535]) made ConnectionPool#checkout more robust by trying to loot dead threads when pool is empty
Signed-off-by: Michael Koziarski michael@koziarski.com
[#1169 state:committed] http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 1169 [PATCH] Fix race in ConnectionPool#checkout [#1169 state:committed] http://github.com/rails/rails/co...