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.

Remove weight parameter from CRConfig.json #3974

@jhg03a

Description

@jhg03a

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

Currently the weight parameter with a configfile of CRConfig.json is required of each ATS server profile. Because this is associated with the CRConfig.json even though it's an ATS thing, it's added to the general section of the CRConfig. This causes an unexpected, yet harmless change, in the TrafficPortal Diff when updating this parameter on a subset of caches. At the end of the day, the other change to the hashCount of a particular server is what matters.

Expected / new behavior:

I would like to see the weight parameter excluded from the general section of the CRConfig.

Minimal reproduction of the problem with instructions:

Create 2 ATS profiles with different weights associated with the CRConfig.json config file. Observe that only the "last" value is present in the CRConfig diff in addition to the hashCount.

Anything else:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opscrconfig-snapshotrelated in some way to Snapshots (CRConfig)low impactaffects only a small portion of a CDN, and cannot itself break onetech debtrework due to choosing easy/limited solution

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions