You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/28 07:20:41 UTC

[jira] [Commented] (GEODE-2619) Function execution on server must handle CacheClosedException

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

ASF GitHub Bot commented on GEODE-2619:
---------------------------------------

GitHub user nabarunnag opened a pull request:

    https://github.com/apache/geode/pull/434

    GEODE-2619: Lucene APIs unwrap function exception and throw the cause.

    	* This is done so that users do not encounter Function Exceptions while executing Lucene APIs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-2619

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/434.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 #434
    
----
commit 5fd28d7408e6b0b386efdee21fea36b46a7ab4d2
Author: nabarun <nn...@pivotal.io>
Date:   2017-03-28T07:16:44Z

    GEODE-2619: Lucene APIs unwrap function exception and throw the cause.
    
    	* This is done so that users do not encounter Function Exceptions while executing Lucene APIs.

----


> Function execution on server must handle CacheClosedException
> -------------------------------------------------------------
>
>                 Key: GEODE-2619
>                 URL: https://issues.apache.org/jira/browse/GEODE-2619
>             Project: Geode
>          Issue Type: Bug
>          Components: functions
>            Reporter: nabarun
>
> While a client is executing a function on a server, and the connection is disconnected, it must throw a CacheClosedException.
> Currently, executeOnServer method in ServerRegionFunctionExecutor class wraps the CacheClosedException into a FunctionException and throws it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)