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

2016-06-24 Thread Josh Elser (JIRA)
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)


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

2016-06-24 Thread Josh Elser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CALCITE-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Elser resolved CALCITE-1300.
-
Resolution: Fixed

Resolved in 
https://git1-us-west.apache.org/repos/asf?p=calcite.git;a=commit;h=3b5d88e6a717600f2c7c282ae7319875866017ea

> 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)