Got it, thanks! I was wondering why the retry number was one bigger than I
thought I needed in my tests đ
Thanks for all your help,
N
From: John Rushford
Date: Thursday, September 15, 2022 at 4:45 PM
To: dev@trafficserver.apache.org
Subject: Re: Different parent rules for 404 vs 5xx or unava
You can bump that up to greater than 5 but just keep in mind that once all
parents are tried without success, an additional retry beyond the total number
of parents would result in a 502 response back to the client instead of a 404
Sent from my iPhone
> On Sep 15, 2022, at 1:58 PM, Robert O But
Nick, if you're open to writing code, it wouldn't be overly difficult to
modify the parent_select plugin to do what you want.
https://github.com/apache/trafficserver/tree/master/plugins/experimental/parent_select
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/parent_select.en.
Hi John,
Thanks.
But if I have 5 primary parents in âcluster Aâ, and 3 secondary parents in
âcluster Bâ, then there is no configuration that will get me to âcluster Bâ if
the content is not available (404) on âcluster Aâ. Which is my problem
unfortunately.
Iâd like to push that value of
Yes, max_simple retries should be no more than the total number of parents -1.
Letâs say that you have 5 parents and all 5 send back a 404, thatâs what it
should be if none of the parents has the object. However, if you set
max_simple_retries greater than the total number of parents, the final
Hi John,
Thanks for the clarification.
My short term mitigation is going to require me to increase the value of
max_simple_retries. This property is currently fixed in the code to a maximum
values of 5. Are you aware of any reason that I canât safely increase that
maximum (in the code) to so
Nick,
Currently this is not supported a change would have to be made to support it.
John Rushford
jrushf...@apache.org
Sent from my iPhone
> On Sep 15, 2022, at 10:14 AM, Nick Dunkin
> wrote:
>
> ï»ż
> Hi,
>
> I have a parent.config rule that uses a primary and secondary set of parents.
>
Hi,
I have a parent.config rule that uses a primary and secondary set of parents.
Assuming a 404 from a parent in the primary list I would like to immediately
try a parent in the secondary parent list, but for a 5xx, or connection error,
I would like to first exhaust the primary list first, bef