[ https://issues.apache.org/jira/browse/GEODE-8693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233099#comment-17233099 ]
ASF GitHub Bot commented on GEODE-8693: --------------------------------------- echobravopapa commented on a change in pull request #690: URL: https://github.com/apache/geode-native/pull/690#discussion_r524592099 ########## File path: cppcache/src/ThinClientPoolDM.cpp ########## @@ -2414,7 +2415,7 @@ GfErrType FunctionExecution::execute() { m_error = m_poolDM->sendRequestToEP(request, reply, m_ep); m_error = m_poolDM->handleEPError(m_ep, reply, m_error); if (m_error != GF_NOERR) { - if (m_error == GF_NOTCON || m_error == GF_IOERR) { + if (m_error == GF_NOTCON) { Review comment: how did you determine we no longer need to check for`GF_IOERR`? ########## File path: cppcache/src/ThinClientPoolDM.cpp ########## @@ -670,11 +670,12 @@ GfErrType ThinClientPoolDM::sendRequestToAllServers( err == GF_NOT_AUTHORIZED_EXCEPTION || err == GF_AUTHENTICATION_REQUIRED_EXCEPTION) { finalErrorReturn = err; - } else if (!(finalErrorReturn == GF_AUTHENTICATION_FAILED_EXCEPTION || - finalErrorReturn == GF_NOT_AUTHORIZED_EXCEPTION || - finalErrorReturn == - GF_AUTHENTICATION_REQUIRED_EXCEPTION)) // returning auth - // errors + } else if ((err != GF_NOERR) && Review comment: the check for `!GF_NOERR` looks like a good addition ---------------------------------------------------------------- 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: us...@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 > Labels: pull-request-available > > 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)