You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/12 17:17:18 UTC

[jira] [Commented] (TS-4199) Parent Selection - parents not marked down due to race

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

ASF GitHub Bot commented on TS-4199:
------------------------------------

GitHub user jrushf1239k opened a pull request:

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

    fixed a bug where a parent is not marked down due to a race updating …

    …the parent record failCount.  Added a fix to only mark up retryable parents in HttpTransact when the retry is successful.
    
    See TS-4199

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

    $ git pull https://github.com/jrushf1239k/trafficserver ts4199

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

    https://github.com/apache/trafficserver/pull/473.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 #473
    
----
commit 34a2cac89c7be3945b945d662cad8266ab6f2085
Author: John J. Rushford <jo...@cable.comcast.com>
Date:   2016-02-12T16:08:11Z

    fixed a bug where a parent is not marked down due to a race updating the parent record failCount.  Added a fix to only mark up retryable parents in HttpTransact when the retry is successful.

----


> Parent Selection - parents not marked down due to race
> ------------------------------------------------------
>
>                 Key: TS-4199
>                 URL: https://issues.apache.org/jira/browse/TS-4199
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: John Rushford
>
> I ran across a bug where a parent may not be marked down due to a race updating the failCount in a parent record.  Also this corrects a bug when marking parents back up.  markParentUp() should only be called for a parent marked for retry in HttpTransact::handle_response_from_parent() when the connection is in a good state.
> I have a PR with patches.



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