[
https://issues.apache.org/jira/browse/GEODE-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202115#comment-15202115
]
ASF subversion and git services commented on GEODE-249:
-------------------------------------------------------
Commit 0d86c3bd74cdfa75f6dc3f54bf523e41e2df4984 in incubator-geode's branch
refs/heads/develop from [~huynhja]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=0d86c3b ]
GEODE-249: Added license header to test
> PR Query retry with rebalanced bucket on local node can cause missing results
> -----------------------------------------------------------------------------
>
> Key: GEODE-249
> URL: https://issues.apache.org/jira/browse/GEODE-249
> Project: Geode
> Issue Type: Bug
> Components: querying
> Reporter: Jason Huynh
> Assignee: Jason Huynh
>
> If a PR Query fails on a remote node, the buckets that failed will need to be
> retried. It recalculates the buckets needed to be retried and which servers
> it needs to retry on. If a bucket happens to be rebalanced locally, the
> results from the retry on the local node will squash the results previously
> gathered for the local node.
> The code in question is in
> PartitionedRegionQueryEvaluator.executeQueryOnLocalNode():
> ...
> this.resultsPerMember.put(me, resultCollector);
> The solution would be similar to:
> MemberResultsList otherResults = (MemberResultsList)
> this.resultsPerMember.put(me, resultCollector);
> resultsCollector.addAll(otherResults);
> A test needs to be written and added
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)