[
https://issues.apache.org/jira/browse/GEODE-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905753#comment-15905753
]
ASF GitHub Bot commented on GEODE-2618:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/geode/pull/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)