[ https://issues.apache.org/jira/browse/TS-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425672#comment-15425672 ]
Leif Hedstrom commented on TS-4747: ----------------------------------- If you have a fix for this, can you please make a Github PR with the changes? > if the connection of parent is not alive, not make the parent host down,which > will select the the unavailable host again > ------------------------------------------------------------------------------------------------------------------------ > > 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 > > > 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)