[infinispan-issues] [JBoss JIRA] Created: (ISPN-580) neverending AsyncStore.awaitNotEmpty during stop() of AsyncStore
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Mon Aug 9 03:48:49 EDT 2010
neverending AsyncStore.awaitNotEmpty during stop() of AsyncStore
----------------------------------------------------------------
Key: ISPN-580
URL: https://jira.jboss.org/browse/ISPN-580
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.1.0.CR2
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 4.1.0.CR3
The stop() of AsyncStore might fail to stop all threads.
If I introduce a delay in the Store implementation, after stop() on AsyncStore methods get stuck in awaitNotEmpty(), waiting forever for a second interrupt.
Attaching a testcase which - in my case - is able to deadlock the tests to show the problem in *almost* all runs. Will clean it up into a a timeout-limiting test suggestions to have it fail consistently are welcome.
I'm attaching also a fix proposal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list