[infinispan-issues] [JBoss JIRA] (ISPN-3354) Multiple events on the local node with Infinispan 5.3.0-final
Luca Zenti (JIRA)
jira-events at lists.jboss.org
Tue Jul 23 10:02:26 EDT 2013
Luca Zenti created ISPN-3354:
--------------------------------
Summary: Multiple events on the local node with Infinispan 5.3.0-final
Key: ISPN-3354
URL: https://issues.jboss.org/browse/ISPN-3354
Project: Infinispan
Issue Type: Bug
Components: Listeners
Affects Versions: 5.3.0.Final
Reporter: Luca Zenti
Assignee: Mircea Markus
After upgrading to Infinispan 5.3.0-final I found a strange "intermittent" problem in my application. Digging a bit deeper, I found out it is due to CacheEntry events raised twice for some keys on the local node (the node where the cache operation is invoked).
I was able to reproduce the problem and I wrote the attached test case.
The problem happens regardless of the cluster mode, but only with non-transactional caches. I think this is due to the fact that with transactional caches the events are raised on commit.
Also, my application used to work with an interceptor rather than an event listener, so I actually found the problem when I saw my interceptor being occasionally executed 3 times with 2 nodes.
I'm not sure whether the command and the chain of interceptor is really meant to be executed twice on the local node, but the consequent behaviour on the events sounds like a bug.
--
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
More information about the infinispan-issues
mailing list