GitHub user danobi opened a pull request:

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

    TS-4072 Diagnostic log rolling races

    This patch prevents race conditions when a diagnostic log rolls. The patch 
is a little longer than I had hoped for because of error handling conditions.

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

    $ git pull https://github.com/danobi/trafficserver TS-4072

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

    https://github.com/apache/trafficserver/pull/568.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 #568
    
----
commit ed30d422efd71333722f4124d5eebeae037a9750
Author: Daniel Xu <dl...@yahoo.com>
Date:   2016-04-13T19:34:34Z

    TS-4072 Diagnostic log rolling races
    
    Use preexisting mutex to prevent race condition when rotating
    diags_log, stdout_log, and stderr_log.

commit 797553e67140349d8f49b7f0840e397087fd8047
Author: Daniel Xu <dl...@yahoo.com>
Date:   2016-04-13T19:35:09Z

    Improve diagnostic logs logging statements

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to