apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 341 forks source link

DNS Entries not kept in order in CR-Config #1757

Open smalenfant opened 6 years ago

smalenfant commented 6 years ago

I've got 2 CDNs on my Traffic Ops and I've noticed that when I modify 1 CDN delivery service DNS static entry that the other CDN CR-Config shows diff/changes as well because of some re-ordering of DNS static entries.

They might just be the way the SQL query is executed, but we should make it consistent if possible.

As an example, I changed something on my OTT CDN but it affected my main CDN CR-Config by simply re-ordering some entries.

++      "name": "mm1",
        "ttl": 30,
        "type": "A",
        "value": "10.10.10.10"
      },
      {
        "name": "cdn",
        "ttl": 30,
        "type": "CNAME",
        "value": "tr.ds.cdn1.coxlab.net."
      },
--    {
        "name": "mm1",
        "ttl": 30,
        "type": "A",
        "value": "10.10.10.10"
      }
    ],
rob05c commented 6 years ago

Labelling enhancement but it's a bit ambiguous, feel free to change to bug

mitchell852 commented 3 years ago

@smalenfant are you seeing this still?

smalenfant commented 3 years ago

This is still present in 5.1.2. Did not verify master (6.0.0)