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

Consider DS Regional field for MaxOriginConnections of Edge Caches#7160

Merged
ocket8888 merged 4 commits intoapache:masterfrom
zrhoffman:regional-edge
Oct 27, 2022
Merged

Consider DS Regional field for MaxOriginConnections of Edge Caches#7160
ocket8888 merged 4 commits intoapache:masterfrom
zrhoffman:regional-edge

Conversation

@zrhoffman
Copy link
Member

This PR fixes a bug where MaxOriginConnections for a Regional Delivery Service was not divided over a Server's own Cache Group in the case of Edge Caches directly parented by the Origin.

This PR also fixes the logic for the Regional MaxOriginConnections for Mid Caches by moving it to the correct block and updating tests.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?

Run the t3c integration tests and the t3c and lib/go-atscfg integration tests

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

  • This PR has tests
  • Intended behavior unchanged, existing docs are suficient
  • Existing Regional Delivery Service field changelog entry is sufficient
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@zrhoffman zrhoffman added bug something isn't working as intended cache-config Cache config generation labels Oct 26, 2022
Copy link
Contributor

@jpappa200 jpappa200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM and tests ran successfully.

@ocket8888 ocket8888 added the low impact affects only a small portion of a CDN, and cannot itself break one label Oct 26, 2022
@zrhoffman zrhoffman added medium impact impacts a significant portion of a CDN, or has the potential to do so and removed low impact affects only a small portion of a CDN, and cannot itself break one labels Oct 27, 2022
Copy link
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will merge pending actions success

@zrhoffman zrhoffman requested a review from ocket8888 October 27, 2022 19:53
@ocket8888 ocket8888 merged commit 22c418f into apache:master Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended cache-config Cache config generation medium impact impacts a significant portion of a CDN, or has the potential to do so

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants