[
https://jira.jboss.org/browse/ISPN-580?page=com.atlassian.jira.plugin.sys...
]
Mircea Markus resolved ISPN-580.
--------------------------------
Resolution: Done
the fix looks right, I've applied it and slightly modified the test to be configured
from code rather than from config file
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: Mircea Markus
Fix For: 4.1.0.CR3
Attachments: ISPN-580.patch
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