[
https://issues.apache.org/jira/browse/GEODE-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905752#comment-15905752
]
ASF subversion and git services commented on GEODE-2618:
--------------------------------------------------------
Commit cd45e50621da4aa0d664d375c28ab081220d77f7 in geode's branch
refs/heads/develop from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=cd45e50 ]
GEODE-2618: PrimaryBucketExceptions handled in LuceneQueryFunction.execute
* PrimaryBucketException while executing a LuceneQuery will now be
caught and wrapped as a InternalFunctionInvocationTargetException
* This will trigger a re-execution of the LuceneQuery on the member
which will have the primary bucket.
This closes #416
> Catch PrimaryBucketException in LuceneQueryFunction
> ---------------------------------------------------
>
> Key: GEODE-2618
> URL: https://issues.apache.org/jira/browse/GEODE-2618
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: nabarun
> Assignee: nabarun
>
> Issue:
> PrimaryBucketException when a member bucket stops being primary while the
> lucene query was being executed. This results in an failure. We want to
> re-attempt the query execution so that it is executed on the member
> containing the primary bucket.
> Solution:
> Catch PrimaryBucketException in execute method in LuceneQueryFunction and
> throw it as an InternalFunctionInvocationException so that the Lucene Query
> is reexecuted.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)