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

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

alb3rtobr commented on pull request #662:
URL: https://github.com/apache/geode-native/pull/662#issuecomment-703769126


   I have added extra logic in the test cases added in GEODE-8231 to verify 
that the client metadata was verified at the first error that appeared:
   In case there was a timeout received by the client, the log has to contain a 
message saying the `bucketServerLocation` was removed due to a timeout.
   And if there was an IO error, the log has to contain a message saying the 
`bucketServerLocation` was removed due to an IO error.


----------------------------------------------------------------
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++ client tries to connect to down server until IO error is thrown
> -------------------------------------------------------------------
>
>                 Key: GEODE-8565
>                 URL: https://issues.apache.org/jira/browse/GEODE-8565
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Alberto Bustamante Reyes
>            Assignee: Alberto Bustamante Reyes
>            Priority: Major
>              Labels: pull-request-available
>
> This ticket is an improvement over GEODE-8231:
> {quote}If a C++ client connected to a cluster is sending operations to a 
> partitioned region and one of the server goes down, the client keeps trying 
> to send operations to the down server. This can be observed in the logs by a 
> continuous flow of lines containing: "IO error in handshake with endpoint..."
> {quote}
> After that improvement, the c++ client removes the metadata info of the 
> failing server once the "IO error in handshake" is received.
> But it has been observed that before that error is received, "timeout error" 
> can be returned. So the client will try to reconnect until the "IO error in 
> handshake" is received.
> This ticket aims to extend the GEODE-8231 solution so the client removes the 
> server metadata information when a timeout is received.



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

Reply via email to