[
https://issues.jboss.org/browse/ISPN-2471?page=com.atlassian.jira.plugin....
]
Adrian Nistor commented on ISPN-2471:
-------------------------------------
It seems the problem is in the coordinator thread, in
AsyncStore.AsyncStoreCoordinator.run() there is a termination condition at line 669:
"if (s.stopped) " that should actually be "if (s.stopped &&
s.modifications.isEmpty())" in order to allow all queued modifications to be
processed before terminating run().
BatchAsyncCacheStoreTest fails randomly
---------------------------------------
Key: ISPN-2471
URL:
https://issues.jboss.org/browse/ISPN-2471
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Reporter: Adrian Nistor
Assignee: Galder ZamarreƱo
Attachments: BatchAsyncCacheStoreTest.log.gz
This test fails randomly on master and a quick analysis of the logs indicates that the
test is correct but there is a bug in AsyncStore. It seems that while shutting down a
cache AsyncStore does not properly store all queued modifications. There is a high chance
that the last updates are not stored because the worker threads are advised to shut down
too early.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira