You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Ryan Durfey (JIRA)" <ji...@apache.org> on 2017/06/11 19:20:21 UTC

[jira] [Updated] (TC-295) Invalid DS regex causes nasty exception and unexpected results Github Issue #514

     [ https://issues.apache.org/jira/browse/TC-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Durfey updated TC-295:
---------------------------
         Labels: Service_Congfiguration  (was: )
    Component/s: Traffic Ops

> 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: Service_Congfiguration
>             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.3.15#6346)