You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/14 19:48:41 UTC

[jira] [Commented] (TC-190) TTL type mismatch in CrConfig

    [ https://issues.apache.org/jira/browse/TC-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924878#comment-15924878 ] 

ASF GitHub Bot commented on TC-190:
-----------------------------------

Github user dneuman64 commented on the issue:

    https://github.com/apache/incubator-trafficcontrol/pull/354
  
    Added  a commit which fixes [TC-190](https://issues.apache.org/jira/browse/TC-190)


> TTL type mismatch in CrConfig
> -----------------------------
>
>                 Key: TC-190
>                 URL: https://issues.apache.org/jira/browse/TC-190
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 2.0.0
>            Reporter: David Neuman
>            Assignee: David Neuman
>             Fix For: 2.0.0, 2.1.0
>
>
> The A and AAAA types in the Config -> ttls section of the CrConfig are a different type than the A and AAAA values in the DeliveryService -> ttls section of the CrConfig.  In the config sections they are strings but in the DS sections they are ints.  Since goTM uses a common struct for TTLs, this causes an parsing the CrConfig in goTM.  The CrConfig should be updated so that the types are consistent.
> ttls in the Config sections:
>     "ttls": {
>       "A": "3600",
>       "DNSKEY": "30",
>       "DS": "30",
>       "SOA": "86400",
>       "NS": "3600",
>       "AAAA": "3600"
>     },
> ttls in the DS section:
>       "ttls": {
>         "A": 30,
>         "SOA": "86400",
>         "NS": "3600",
>         "AAAA": 30
>       },



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)