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.
+1
Seems useful, and it shouldn't break backwards compatibility.
But should it be a TSReturnCode of TS_ERROR or TS_SUCCESS, to match the
rest of the API?
On Tue, Feb 22, 2022 at 3:02 PM Fei Deng wrote:
> Hey guys,
>
> The api TSSslTicketKeyUpdate currently returns void, but in some recent
> p
+1
IMO we should have APIs for all SSL/SNI data.
On Tue, Oct 5, 2021 at 11:25 AM Leif Hedstrom wrote:
> +1.
>
> I think the same pattern is in a couple of other “example” plugins as
> well, which could be cleaned up the same way.
>
> — Leif
>
>
> > On Oct 5, 2021, at 11:02 AM, Randall Meyer
>
> Just to be clear for me. Is it correct to say that there is no
difference in the "parent mark down" behavior between Consistent Hash and
any of the other parent selection options (e.g. Round Robin)?
Correct. How it marks down and retries isn't related to the selection
algorithm. All those setti
> Please can someone clarify the exact behavior around Consistent Hash and
unavailable parents?
It's not a background thread. It's the same thread/continuation of a
regular request, but not every request, only after records.config
proxy.config.http.parent_proxy.retry_time. It will make either
pare
> > void TSHttpTxnResponseActionSet(TSHttpTxn txnp, TSResponseAction
action); -
> I still don't like passing the action by value.
Yes, it's a pointer now. Sorry, I changed the code, forgot to update the PR
description:
https://github.com/apache/trafficserver/blob/f22e1c/src/traffic_server/InkAPI.c
I'd like to propose adding the following symbols to the API, to make it
possible for remap plugins to do next-hop parent selection:
enum TSHostStatus
enum TSHostStatusReason
TSReturnCode TSHostnameIsSelf(const char *hostname);
TSReturnCode TSHostStatusGet(const char *hostname, const size_t
hostnam
I'd like to propose adding the following symbols to the API, to make it
possible for remap plugins to do next-hop parent selection:
enum TSHostStatus
enum TSHostStatusReason
enum TSParentResultType
class TSNextHopSelectionStrategy
struct TSParentResult
const char *ParentResultStr
bool TSHostnameIs