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/09/14 18:32:20 UTC

[jira] [Work logged] (TS-4867) Race condition in RefCountCacheSerializer Initialization

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

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

                Author: ASF GitHub Bot
            Created on: 14/Sep/16 18:31
            Start Date: 14/Sep/16 18:31
    Worklog Time Spent: 10m 
      Work Description: GitHub user jacksontj opened a pull request:

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

    TS-4867: Only schedule the serializer after we have completely finish…

    …ed initializing
    
    Otherwise there is a race between initialization and the eventProcessor

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

    $ git pull https://github.com/jacksontj/trafficserver TS-4867

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

    https://github.com/apache/trafficserver/pull/1020.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 #1020
    
----
commit 64cf7597b670339215595e869d0ee7e4748e31c1
Author: Thomas Jackson <ja...@gmail.com>
Date:   2016-09-14T18:12:47Z

    TS-4867: Only schedule the serializer after we have completely finished initializing
    
    Otherwise there is a race between initialization and the eventProcessor

----


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

            Worklog Id:     (was: 29076)
            Time Spent: 10m
    Remaining Estimate: 0h

> Race condition in RefCountCacheSerializer Initialization
> --------------------------------------------------------
>
>                 Key: TS-4867
>                 URL: https://issues.apache.org/jira/browse/TS-4867
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HostDB
>            Reporter: Thomas Jackson
>            Assignee: Thomas Jackson
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Right now the serializer task is scheduled before one of the class members is initialized-- which means we have a race between the next line running and the eventProcessor scheduling+executing the task.
> Thanks to [~jaaju] for catching it!



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