]
Galder Zamarreno reassigned ISPN-580:
-------------------------------------
Assignee: Galder Zamarreno (was: Mircea Markus)
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: Galder Zamarreno
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: