[
https://jira.jboss.org/browse/ISPN-580?page=com.atlassian.jira.plugin.sys...
]
Sanne Grinovero updated ISPN-580:
---------------------------------
Attachment: ISPN-580.patch
not intended to apply as-is, still missing some comments, change to programmatic
configuration, maybe there's a better way to show it that using 100ms delay in
SlowFileCacheStore.
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
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