Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3.0
-
None
Description
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:
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 ..
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.