apache / trafficcontrol

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

Revalidate should be specific to the DS for which the invalidation request for submitted. #3904

Open lbathina opened 5 years ago

lbathina commented 5 years ago

I'm submitting a ...

Traffic Control components affected ...

Current behavior:

When a invalidation request is submitted for a specific DS, currently the request is processed on all the caches at CDN level

Expected / new behavior:

we want the request to be scoped to the DS level. That is, execute the invalidate request for caches on DS that is in the request

Minimal reproduction of the problem with instructions:

Anything else:

mitchell852 commented 5 years ago

regex_revalidate.config is a config file that is scoped at the cdn-level meaning that EVERY cache for cdn-1 shares one regex_revalidate.config file.

by implementing this enhancement, caches for the same CDN will end up with a regex_revalidate.config file with different rules.....not saying that that is bad. maybe that is good. just something to think about. no longer will the regex_revalidate.config on all caches of a cdn look the same.