[ 
https://issues.apache.org/jira/browse/TS-4747?focusedWorklogId=28347&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28347
 ]

ASF GitHub Bot logged work on TS-4747:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Sep/16 20:25
            Start Date: 07/Sep/16 20:25
    Worklog Time Spent: 10m 
      Work Description: GitHub user jrushford opened a pull request:

    https://github.com/apache/trafficserver/pull/984

    TS-4747: if the connection of parent is not alive, update the hostdb to 
mark the server down.

    I've opened this pull request on behalf of @keith2008 and at his request.  
His original pull request https://github.com/apache/trafficserver/pull/903 had 
merge conflicts due to other commits.  I'll close pull request #903.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jrushford/trafficserver TS-4747

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/984.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #984
    
----
commit 41af7550bc9e0e163471b4230b55ad498584e401
Author: John J. Rushford <[email protected]>
Date:   2016-09-07T20:17:37Z

    TS-4747: if the connection of parent is not alive, update the hostdb to 
mark the server down.

----


Issue Time Tracking
-------------------

    Worklog Id:     (was: 28347)
    Time Spent: 0.5h  (was: 20m)

> if the connection of parent is not alive, update the hostdb to mark the 
> server down.
> ------------------------------------------------------------------------------------
>
>                 Key: TS-4747
>                 URL: https://issues.apache.org/jira/browse/TS-4747
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: xiangdong chen
>            Assignee: John Rushford
>             Fix For: 7.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> the parent.config is like this:
> dest_domain=www.cxdtest.com parent=“dnstest1.com:80”;round_bin=strict
> and the dnstest1.com contains two ip:
> 192.168.1.1 (but it was down)
> 192.168.1.2
> if the request go to the parent, and the parent is domain,which contains 
> multi ip. if one ip is down,but we not make the host down ,if the next 
> request is comming, it will choice this ip again. we should make the host 
> down.
> fix code on HttpTransact::handle_response_from_parent(State *s) 
> default: {
>     LookingUp_t next_lookup = UNDEFINED_LOOKUP;
>     DebugTxn("http_trans", "[hrfp] connection not alive");
>     s->state_machine->do_hostdb_update_if_necessary();//added by xdchen, make 
> the host down,line:3606



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

Reply via email to