[
https://issues.jboss.org/browse/ISPN-3829?page=com.atlassian.jira.plugin....
]
William Burns updated ISPN-3829:
--------------------------------
Fix Version/s: 7.0.0.Final
Null value read with RR can be replaced by cache loader value
-------------------------------------------------------------
Key: ISPN-3829
URL:
https://issues.jboss.org/browse/ISPN-3829
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 6.0.0.Final
Reporter: William Burns
Assignee: William Burns
Labels: 620
Fix For: 7.0.0.Final
Currently the CacheLoaderInterceptor does the following check to determine if it should
check the loader for a value
{code}
if (e == null || e.isNull() || e.getValue() == null) {
{code}
Unfortunately this means it checks the loader when a null value is in the entry when
using RR. This can cause an issue if another transaction commits that key and puts a
value that results in that value being inserted into the loader.
This also is a performance issue for RR, since it has to check the loader over and over
for a given key even if it was found null the first time.
Initial thought is to do something like setSkipRemoteGet and that could actually be used
for a dual purpose possibly.
--
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