]
William Burns resolved ISPN-9491.
---------------------------------
Resolution: Duplicate Issue
This is a duplicate of ISPN-8585
CacheEntryRemoved method called when Cache#remove is called even if
there is no entry
-------------------------------------------------------------------------------------
Key: ISPN-9491
URL:
https://issues.jboss.org/browse/ISPN-9491
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.2.11.Final
Reporter: Thomas Mortagne
Assignee: William Burns
It really sounds like a bug to me to have my listener called with no value just because
some code called #remove() just in case the cache contains an entry associated with the
key.
The Javadoc is not super explicit about this use case but it does indicate
{noformat}
when a cache entry is removed from the cache
{noformat}
and clearly nothing was removed since nothing existed.
By the way this jira indicate that 8.2.11 is not released but it's available on Maven
central.