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/10/11 17:54:20 UTC
[jira] [Work logged] (TS-4952) Improve mutex error checking.
[ https://issues.apache.org/jira/browse/TS-4952?focusedWorklogId=30383&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30383 ]
ASF GitHub Bot logged work on TS-4952:
--------------------------------------
Author: ASF GitHub Bot
Created on: 11/Oct/16 17:54
Start Date: 11/Oct/16 17:54
Worklog Time Spent: 10m
Work Description: GitHub user jpeach opened a pull request:
https://github.com/apache/trafficserver/pull/1091
TS-4952: Improve abort messages for mutex failures.
Although the ink_mutex APIs claimed to return error values, they actually
abort on failure. Improve the abort to format a message that includes
the error, and don't bother to return error values any more since these
can't fail.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jpeach/trafficserver fix/4952
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1091.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 #1091
----
commit 8abe76353873be57f3d0b654b077ab96bb44f4d0
Author: James Peach <jp...@apache.org>
Date: 2016-10-11T02:57:31Z
TS-4952: Improve abort messages for mutex failures.
Although the ink_mutex APIs claimed to return error values, they actually
abort on failure. Improve the abort to format a message that includes
the error, and don't bother to return error values any more since these
can't fail.
----
Issue Time Tracking
-------------------
Worklog Id: (was: 30383)
Time Spent: 10m
Remaining Estimate: 0h
> Improve mutex error checking.
> -----------------------------
>
> Key: TS-4952
> URL: https://issues.apache.org/jira/browse/TS-4952
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: James Peach
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If any {{ink_mutex}} operations fail, we just abort. Use {{ink_abort}} so that we can log an error if this happens.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)