You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Daniel Xu (JIRA)" <ji...@apache.org> on 2015/12/17 21:09:46 UTC
[jira] [Commented] (TS-4072) diagnostic log rolling races
[ https://issues.apache.org/jira/browse/TS-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062701#comment-15062701 ]
Daniel Xu commented on TS-4072:
-------------------------------
We should be avoiding locks to fix this right? B/c of how high activity Diags is
> diagnostic log rolling races
> ----------------------------
>
> Key: TS-4072
> URL: https://issues.apache.org/jira/browse/TS-4072
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Reporter: James Peach
> Assignee: Daniel Xu
> Fix For: 6.2.0
>
>
> When diagnostic logs are rolled, {{Diags::diags_log}} is deleted and replaced with a new log object. Since the global {{diags}} points to a a single {{Diags}} object there is nothing to prevent a different thread logging through this object at the time it is deleted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)