You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/11 08:02:00 UTC

[jira] [Commented] (GEODE-8693) C++ native client Function.execute() with onServers does not throw exception if one of the servers goes down while executing the function.

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

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

albertogpz opened a new pull request #690:
URL: https://github.com/apache/geode-native/pull/690


   …cute with onServers
   
   When a function is executed by using onServers, if one of the servers goes down while the function is executed, no exception is thrown (despite what the Native C++ API documentation says).
   The reason was that when an IO error was detected when calling a function on a server, the FunctionService::execute() function instead of returning the IO error returned no error.
   With this change this function now returns the IO error which translates in a NotConnectedException thrown.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> C++ native client Function.execute() with onServers does not throw exception if one of the servers goes down while executing the function.
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8693
>                 URL: https://issues.apache.org/jira/browse/GEODE-8693
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Alberto Gomez
>            Assignee: Alberto Gomez
>            Priority: Major
>
> According to the Apache Geode Native C++ API documentation, the FunctionService.onServers() function will throw an Exception if one of the servers goes down while dispatching or executing the function on the server.
> Nevertheless, currently no exception is thrown in that case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)