Em sexta-feira, 26 de outubro de 2012 18h08min06s UTC-2, Rodrigo Rosenfeld 
Rosas escreveu:

>  Em 26-10-2012 18:00, Jeremy Evans escreveu: 
>
> On Friday, October 26, 2012 12:42:37 PM UTC-7, Jeremy Evans wrote: 
>>
>> On Friday, October 26, 2012 12:16:02 PM UTC-7, Rodrigo Rosenfeld Rosas 
>> wrote: 
>>>
>>> Just to let you know, it seems a Monitor is reentrant if you want to 
>>> take this path:
>>>
>>>  http://japgolly.blogspot.com.br/2012/04/ruby-mutex-reentrancy.html
>>>
>>
>> I'm aware of the difference, Mutex is being used on purpose for 
>> performance (Monitor is about 2.5x slower).
>>
>> One other limitation with the current code is that it does the connection 
>> validation while holding the pool mutex, which means that no other threads 
>> can checkout a connection while this connection is being validated.  That's 
>> very bad.  I've modified things so the checking is done while not holding 
>> the mutex (in addition to precaching the SQL).
>>
>> I'm just running the changes through a final set of tests, hopefully it 
>> will be pushed within 15 minutes.
>>  
>
> I just pushed the fix: 
> https://github.com/jeremyevans/sequel/commit/40bcfcb9ff5b39c882c204792f1095e95300721f
>
> Please test and let me know whether it works for you.  Thanks for testing!
>  
>
> Great! Worked on WEBrick! Will now test on some of our GlassFish servers 
> of the cluster and redirect then to the staging subdomain.
>
> I'll let you know how it works for us :)
>
> Thank you so much again!
>
> I certainly owe you lots of beers! Let me know when you come to 
> Vitória-ES, Brazil ;)
>
> Cheers
>


Great, I could finally finish upgrading all servers in the cluster. Then I 
restarted the postgresql service to make sure and guess what: it worked! 
Wonderful!

Thank you so much!

Have a superb weekend! 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/Bggt0t69MecJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to