Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3364

Add command line config validation support to traffic_server

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.0
    • Configuration
    • 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.

      Attachments

        Activity

          People

            sudheerv Sudheer Vinukonda
            sudheerv Sudheer Vinukonda
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: