Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] Fix race in ConnectionPool#checkout

#1169

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

Reported by Aliaksey Kandratsenka · October 4th, 2008 @ 03:27 PM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • 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 [PATCH] Fix race in ConnectionPool#checkout state:committed] http://github.com/rails/rails/co...

    October 4th, 2008 @ 04:49 PM