This project is archived and is in readonly mode.

#1169 ✓committed
Aliaksey Kandratsenka

[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

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

Referenced by

Pages