]
Dan Berindei reassigned ISPN-5752:
----------------------------------
Assignee: Dan Berindei
PutMapCommand notifies the modification listener for created entries
--------------------------------------------------------------------
Key: ISPN-5752
URL:
https://issues.jboss.org/browse/ISPN-5752
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.0.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.1.0.Alpha2
When a {{PutMapCommand}} creates an entry, it notifies both the {{@CacheEntryCreated}}
and the {{@CacheEntryModified}} listeners. The same happens if the entry is modified, but
it was evicted from the data container.
Ideally, {{CacheLoaderInterceptor}} should know whether there are creation/modification
listeners attached, and read the previous value when necessary to invoke the proper
listener.