[
https://issues.apache.org/jira/browse/TS-2258?focusedWorklogId=28849&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-28849
]
ASF GitHub Bot logged work on TS-2258:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Sep/16 18:57
Start Date: 12/Sep/16 18:57
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/887#discussion_r78433010
--- Diff: mgmt/RecordsConfig.cc ---
@@ -192,33 +192,33 @@ static const RecordElement RecordsConfig[] =
//# L diags.log
//#
//##############################################################################
- {RECT_CONFIG, "proxy.config.diags.debug.enabled", RECD_INT, "0",
RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
+ {RECT_CONFIG, "proxy.config.diags.debug.enabled", RECD_INT, "0",
RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
--- End diff --
You could add a ``[0-1]`` validator here.
Issue Time Tracking
-------------------
Worklog Id: (was: 28849)
Time Spent: 4.5h (was: 4h 20m)
> Verify that all fields are correct in RecordsConfig.cc
> ------------------------------------------------------
>
> Key: TS-2258
> URL: https://issues.apache.org/jira/browse/TS-2258
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Leif Hedstrom
> Assignee: Jari Alhonen
> Labels: newbie
> Fix For: 7.0.0
>
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> We should go through every configuration in RecordsConfig.cc, and assure that
> fields such as if it's dynamically reloadable or not, validation regexes etc.
> are all set 100% correct.
> Once this file is accurate, and will be the one true authoritative source for
> everything "configuration"; it can be used for command line help (e.g.
> traffic_line can say if a config is reloadable), and we can even use it as a
> source for the Sphinx documentation.
> A bonus would be to add a one-line helper line for each configuration in
> RecordsConfig.cc. This can again be used for e.g. traffic_line, or for a new
> type of tools to help managing configurations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)