[jira] [Commented] (TS-4745) pRecord.failCount not init in ParentRecord::ProcessParents

2016-08-18 Thread xiangdong chen (JIRA)

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

xiangdong chen commented on TS-4745:


my PR is commit(fix 5 bugs about parent strategy #873),please check it.

> pRecord.failCount not init in ParentRecord::ProcessParents
> --
>
> Key: TS-4745
> URL: https://issues.apache.org/jira/browse/TS-4745
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Parent Proxy
>Reporter: xiangdong chen
>Assignee: John Rushford
> Fix For: 7.0.0
>
>
> the failCount is not init,is may be an big number ( it already happend in my 
> sisution),after the ats is startup.
> it will cause the parent immediately marked down,once connect the parent 
> failed.  
> fix the code:
> this->parents[i].failCount = 0;//added by xdchen,line:447



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


[jira] [Commented] (TS-4745) pRecord.failCount not init in ParentRecord::ProcessParents

2016-08-17 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom commented on TS-4745:
---

If you have a fix for this, can you please make a Github PR with the changes?

> pRecord.failCount not init in ParentRecord::ProcessParents
> --
>
> Key: TS-4745
> URL: https://issues.apache.org/jira/browse/TS-4745
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Parent Proxy
>Reporter: xiangdong chen
>Assignee: John Rushford
> Fix For: 7.0.0
>
>
> the failCount is not init,is may be an big number ( it already happend in my 
> sisution),after the ats is startup.
> it will cause the parent immediately marked down,once connect the parent 
> failed.  
> fix the code:
> this->parents[i].failCount = 0;//added by xdchen,line:447



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