trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Records.snap prevents proper queries after bad parent setup

Open ezelkow1 opened this issue 5 years ago • 2 comments

While looking in to another issue I hit this with master

I had a setup of one cache(8080), pointed at an nginx(80) origin on the same box which was setting various CC headers (public, no-cache, max-age some with multiple headers some on single lines). ATS would cache fine. Then I added the box as a parent of itself and tried various settings of go_direct, parent_is_proxy=false, and ignore_self_detect=true. At some point my queries would start returning a 503. (dest_domain=. parent="thisboxfqdn.com:80" various_params)

At that point even if I remove the line from the parent.config and restart ATS I would continue to get back 503's. This happens until I delete the records.snap file. So something in there is being cached/held incorrectly since if the parent line is removed to the original setup then you would expect it to work again as before especially after a restart

ezelkow1 avatar Sep 14 '20 22:09 ezelkow1

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

github-actions[bot] avatar Sep 15 '21 01:09 github-actions[bot]

@ezelkow1 Sound like it might be the information about the parent being down is recorded in the metrics that is in the records.snap file.

bryancall avatar Nov 23 '21 01:11 bryancall