Darrel Schneider created GEODE-1425:
---------------------------------------
Summary: PartitionRegionHelper local data methods return a Region
whose get(key, callbackArg) method does not correctly handle the callback
argument
Key: GEODE-1425
URL: https://issues.apache.org/jira/browse/GEODE-1425
Project: Geode
Issue Type: Bug
Components: regions
Reporter: Darrel Schneider
PartitionRegionHelper has the methods: getLocalData and getLocalPrimaryData.
They both return an instance of Region.
The get(key, callbackArg) does not do the following with the callbackArg:
1. It does not check if the callbackArg is an instanceof PartitionResolver. So
you can not use the callbackArg in this case to specify the resolver. Instead
use the resolver region attribute or the key.
2. The EntryOperation passed to the resolver getRoutingObject method will
return the callbackArg from getNewValue and null from getCallbackArgument and
false from isCallbackArgumentAvailable
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)