[
https://issues.apache.org/jira/browse/TS-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265495#comment-15265495
]
ASF GitHub Bot commented on TS-4403:
------------------------------------
Github user jacksontj commented on the pull request:
https://github.com/apache/trafficserver/pull/609#issuecomment-215995737
FTR the feature is apparently called "serve_stale_for"
(https://docs.trafficserver.apache.org/en/latest/admin-guide/files/records.config.en.html?highlight=records.config#proxy-config-hostdb-serve-stale-for)
even though the method is called stale_while_revalidate.
> HostDB's "stale while revalidate" doesn't span failed DNS lookups
> -----------------------------------------------------------------
>
> Key: TS-4403
> URL: https://issues.apache.org/jira/browse/TS-4403
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Thomas Jackson
>
> Right now if you set stale_while_revalidate hostdb will return the stale
> record while waiting on the DNS lookup. In the event that you have the DNS
> timeout set low (lets say 1 second) and the DNS server times out (lets say
> due to an outage of your resolver) then ATS will start replacing all of your
> stale entries (which were working) with error timeout entries (which are
> empty)-- which is bad.
> The stale while revalidate configuration should serve stale records until a
> valid response from DNS comes back-- the patch here should be relatively
> simple, just a bit of a nuisance to test since DNS requires port 53 ;)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)