Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Sometimes Traffic router doesn't load latest configuration (cr-config.json) #6072

@stackexpress-jawed

Description

@stackexpress-jawed

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Router

Current behavior:

Sometimes Traffic router doesn't load latest configuration

Traffic router loads the config file from Traffic monitor based on a timestamp of snapshot (config files in JSON format) but sometime it rejects the snapshot due to older timestamp.
Therefore, traffic router does not create DNS records for the new services.

Error Logs

INFO  2021-07-23T07:45:00.589 [AsyncHttpClient-3-21] com.comcast.cdn.traffic_control.traffic_router.core.config.ConfigHandler - Exiting processConfig: Incoming TrConfig snapshot timestamp (1627040665) is older or equal to the loaded timestamp (1627040675); unable to process
WARN  2021-07-23T07:45:00.589 [AsyncHttpClient-3-21] com.comcast.cdn.traffic_control.traffic_router.core.util.PeriodicResourceUpdater - File rejected: /opt/traffic_router/db/cr-config.json

Expected behavior:

  • The Traffic router instance should be in sync with Traffic Ops instance
  • Always pull lates cr-config.json from Traffic Monitor for any new snapshot.

Minimal reproduction of the problem with instructions:

  • Create multiple delivery services one by one at same time and take snapshot after creation of every Delivery service

Anything else:

  • Are you queuing the snapshot? If not why TR is not able to pick up the latest snapshot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Routerrelated to Traffic Routerbugsomething isn't working as intendedcrconfig-snapshotrelated in some way to Snapshots (CRConfig)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions