[jira] [Commented] (TS-2836) TS attempt to connect to dead server at least once

2014-08-03 Thread Masakazu Kitajo (JIRA)

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

Masakazu Kitajo commented on TS-2836:
-

I attempted to configure TS never connect to an dead origin server until  
proxy.config.http.down_server.cache_time  is over. I thought a value of 0 mean 
never connect to an origin server because TS try to connect once when I set it 
to 1, but TS try to connect even if I set it to 0.

I think we have two options.
A: Never connect to an origin server if the setting is 0.
B: Try to connect twice if the setting is 1.

A point is that the try, connecting to an origin server which occurs even if I 
set the setting to 0, is REtry or not. Are all trying (after marking an origin 
server dead) retrying? If so, TS should try to connect twice when I set the 
setting to 1.


> TS attempt to connect to dead server at least once
> --
>
> Key: TS-2836
> URL: https://issues.apache.org/jira/browse/TS-2836
> Project: Traffic Server
>  Issue Type: Bug
>Affects Versions: 4.0.2, 5.0.0
>Reporter: Masakazu Kitajo
> Fix For: 5.2.0
>
>
> Even if I set proxy.config.http.connect_attempts_max_retries_dead_server to 
> 0, Traffic Server attempt to connect to dead server.
> || The configuration value || Number of times TS attempt to connect ||
> | 0 | 1 |
> | 1 | 1 |
> | 2 | 2 |
> | 3 | 3 |



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (TS-2836) TS attempt to connect to dead server at least once

2014-08-01 Thread Alan M. Carroll (JIRA)

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

Alan M. Carroll commented on TS-2836:
-

We have no idea what the expected behavior is - should a value of 0 mean never 
connect to an origin server?

> TS attempt to connect to dead server at least once
> --
>
> Key: TS-2836
> URL: https://issues.apache.org/jira/browse/TS-2836
> Project: Traffic Server
>  Issue Type: Bug
>Affects Versions: 4.0.2, 5.0.0
>Reporter: Masakazu Kitajo
> Fix For: 5.2.0
>
>
> Even if I set proxy.config.http.connect_attempts_max_retries_dead_server to 
> 0, Traffic Server attempt to connect to dead server.
> || The configuration value || Number of times TS attempt to connect ||
> | 0 | 1 |
> | 1 | 1 |
> | 2 | 2 |
> | 3 | 3 |



--
This message was sent by Atlassian JIRA
(v6.2#6252)