Re: [RFC] forwarding retries

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 13 May 2013 08:00:51 -0600

On 05/13/2013 07:02 AM, Amos Jeffries wrote:
> The recent update patch by Silamel has brought to my attention the
> origin_tries limitation in forward.cc preventing more than 2
> reforward/retry when there is no cache_peer.
>
> It seems to have been set to prevent large amount of looping when DIRECT
> attempts fail under the old model of constant DNS lookups and retries.
> However it is hard-coded and has no configuration knob visible. Under
> the new model of all destinations being enumerated once and tried
> sequentially this protection would seem to be no longer necessary and
> somewhat harmful as it will be preventing retries reaching destinations
> with more than 2 unreachable IPs (think 3 IPv6 and an IPv4 on IPv4-only
> network).
>
> I think we need to drop the origin_tries counter entirely and rely on
> the n_tries limiter instead.

Sounds good to me.

Alex.
Received on Mon May 13 2013 - 14:00:57 MDT

This archive was generated by hypermail 2.2.0 : Mon May 13 2013 - 12:00:08 MDT