[ https://issues.apache.org/jira/browse/GEODE-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15900347#comment-15900347 ]
ASF GitHub Bot commented on GEODE-2618: --------------------------------------- GitHub user nabarunnag opened a pull request: https://github.com/apache/geode/pull/416 GEODE-2618: PrimaryBucketExceptions handled in LuceneQueryFunction.ex… …ecute * 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. @jhuynh1 @upthewaterspout @boglesby @gesterzhou @ladyVader You can merge this pull request into a Git repository by running: $ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-2618 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/geode/pull/416.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #416 ---- commit bdbde172845c91bc6c5d53fbd8528bb78ffe27a5 Author: nabarun <n...@pivotal.io> Date: 2017-03-07T22:55:54Z 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. ---- > 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)