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 subversion and git services (JIRA)" <ji...@apache.org> on 2015/03/06 00:37:39 UTC

[jira] [Commented] (TS-3364) Add command line config validation support to traffic_server

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

ASF subversion and git services commented on TS-3364:
-----------------------------------------------------

Commit b90cfa72b2ad24f14e06bd25ad10e205334a638b in trafficserver's branch refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=b90cfa7 ]

[TS-3364]: Initialize logging to avoid a crash on TS_ERROR


> Add command line config validation support to traffic_server
> ------------------------------------------------------------
>
>                 Key: TS-3364
>                 URL: https://issues.apache.org/jira/browse/TS-3364
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 5.3.0
>            Reporter: Sudheer Vinukonda
>            Assignee: Sudheer Vinukonda
>             Fix For: 5.3.0
>
>
> Currently, traffic_server fails to initialize when it encounters fatal errors in loading the config files during start up. During dynamic reloading of config files (e.g. via traffic_line), traffic_server rejects new config and falls back to existing/old config (however, if there was a traffic_server crash/restart subsequently, that can again result into failing to initialize).
> This jira proposes to make the behavior of traffic_server when it encounters such fatal errors configurable via a new setting {{proxy.config.ignore_fatal_errors}} with the below options:
> {code}
> 0 : All errors are fatal, do not load/reload
> 1 : Ignore a bad config line, continue with the rest
> 2 : Ignore a bad config line, stop parsing the file further
> ..
> {code}
> Based on concerns expressed, it has been agreed to not change the traffic_server's behavior to loading with fatal config. Instead, this jira will be used to add a command line option to traffic_server to load and validate the config.



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