[ 
https://issues.apache.org/jira/browse/GEODE-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301005#comment-15301005
 ] 

ASF subversion and git services commented on GEODE-1425:
--------------------------------------------------------

Commit cae8f7fecf893ea4a31f7b06c22130fb646407bb in incubator-geode's branch 
refs/heads/feature/GEODE-835 from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=cae8f7f ]

GEODE-1425: fix callback arg parameter order


> 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
>            Assignee: Darrel Schneider
>             Fix For: 1.0.0-incubating.M3
>
>
> 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)

Reply via email to