[
https://issues.jboss.org/browse/ISPN-3829?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on ISPN-3829:
-----------------------------------------------
William Burns <wburns(a)redhat.com> changed the Status of [bug
1045579|https://bugzilla.redhat.com/show_bug.cgi?id=1045579] from NEW to POST
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