[
https://issues.apache.org/jira/browse/TC-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125975#comment-16125975
]
Hank Beatty commented on TC-295:
--------------------------------
[~elsloo] Has this been fixed? If not, are we planning on fixing it in 2.1?
Link to original issue:
https://github.com/Comcast/traffic_control/issues/514
> Invalid DS regex causes nasty exception and unexpected results Github Issue
> #514
> --------------------------------------------------------------------------------
>
> Key: TC-295
> URL: https://issues.apache.org/jira/browse/TC-295
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Reporter: Dewayne Richardson
> Labels: configuration, regex
> Fix For: 2.0.0
>
>
> If a host regex (probably others) is specified as a plain string, rather than
> a real regex (e.g.: test vs ..mydeliveryservice..), the following exception
> occurs in Traffic Router, and the user would have to be watching the logs to
> see that something went wrong. Additionally, it is not clear why the failure
> occurred.
> Improve TO in general such that the regex is clearly defined (documented?)
> and potentially checked so that it doesn't get added to the CRConfig until it
> is what we expect to see. Additionally, discuss whether we want to support
> specific strings (e.g.: test) instead of a full regex. Doing so seems to be
> counter to the intent of the regex in the first place, so I do not think that
> this is a viable option at this time.
> WARN 2015-09-01T14:25:07.237 [New I/O worker #1]
> com.comcast.cdn.traffic_control.traffic_router.core.util.PeriodicResourceUpdater
> - 1 java.lang.ArrayIndexOutOfBoundsException: 1 at
> com.comcast.cdn.traffic_control.traffic_router.core.dns.ZoneManager.populateZoneMap(ZoneManager.java:311)
> at
> com.comcast.cdn.traffic_control.traffic_router.core.dns.ZoneManager.generateZones(ZoneManager.java:132)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)