Bugs item #992297, was opened at 2004-07-16 05:41 Message generated for change (Comment added) made by belaban You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=992297&group_id=22866
Category: JBossCache Group: CVS HEAD Status: Closed Resolution: Fixed Priority: 3 Submitted By: Ben Wang (bwang00) Assigned to: Ben Wang (bwang00) Summary: Need more expliciti upgrade lock timeout exception Initial Comment: Currently when transaction isolation level is set to REPEATABLE, it uses read write lock with upgrade. However, when there are multiple upgrade threads request, only the first thread is allowed to wait. The rest of return right away and throw a timeout exception. Application developer should catch this exception and then re-try. Problem is we should provde a more explicit exception, possibly TooManyUpgradeWaiterException for this specific case. ---------------------------------------------------------------------- >Comment By: Bela Ban (belaban) Date: 2004-08-21 03:25 Message: Logged In: YES user_id=34890 Why don't we allow the remaining threads to wait until the lock acquisition timeout kicks in ? I think we should *not* introduce a new exception, the only exception thrown should be a TimeoutException Bela ---------------------------------------------------------------------- Comment By: Ben Wang (bwang00) Date: 2004-08-20 14:26 Message: Logged In: YES user_id=718568 I have added UpgradeException when upgrade to write lock failed. User should catch this excetion and performs re-try. Fix is in 1.1. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=992297&group_id=22866 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
