You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2016/06/24 14:54:16 UTC

[jira] [Created] (CALCITE-1300) AvaticaCommonsHttpClientImpl doesn't retry on HTTP/503

Josh Elser created CALCITE-1300:
-----------------------------------

             Summary: AvaticaCommonsHttpClientImpl doesn't retry on HTTP/503
                 Key: CALCITE-1300
                 URL: https://issues.apache.org/jira/browse/CALCITE-1300
             Project: Calcite
          Issue Type: Bug
          Components: avatica
    Affects Versions: avatica-1.8.0
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: avatica-1.9.0


In the original AvaticaHttpClient implementation, I had added some logic to retry when the client receives an HTTP/503 from the server.

This was to make the client a little more resilient towards talking to an HTTP load balancer instead of directly to the Avatica server. Load balancers should send back an HTTP/503 when the backend server fails to respond -- the client should be able to retry this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)