[infinispan-issues] [JBoss JIRA] (ISPN-5707) Eviction/Invalidation notficiations are shown as remove in a tx cache
William Burns (JIRA)
issues at jboss.org
Thu Aug 27 16:22:05 EDT 2015
William Burns created ISPN-5707:
-----------------------------------
Summary: Eviction/Invalidation notficiations are shown as remove in a tx cache
Key: ISPN-5707
URL: https://issues.jboss.org/browse/ISPN-5707
Project: Infinispan
Issue Type: Bug
Components: Listeners
Affects Versions: 8.0.0.CR1
Reporter: William Burns
Currently in notifyCommitEntry of ClusterDependentLogic we do the following:
{code}
if (command instanceof RemoveCommand) {
((RemoveCommand)command).notify(ctx, previousValue, previousMetadata, false);
} else {
notifier.notifyCacheEntryRemoved(
entry.getKey(), previousValue, previousMetadata, false, ctx, command);
}
{code}
The problem is in a tx cache we don't pass along a command, since it is done in a batch. This means it always logs the notification as a removed event instead.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list