RFR: 8304885: Reuse stale data to improve DNS resolver resiliency [v7]
Sergey Bylokhov
serb at openjdk.org
Wed May 10 22:10:43 UTC 2023
On Wed, 10 May 2023 22:05:37 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> We probably should specify what happens if the stale property is negative. Looks like it might be ignored, which I guess is okay.
>
> I have update the text about "property is not set" case, but leave the text about "default value" as implementation-specific, similarly to what we have in the text about "networkaddress.cache.ttl" property, and this allow to change this value in some situations.
Right now the negative value is ignored, and is not mentioned in the new spec, But it could be used to cover "always use the stale data on error" case. So we can change this in the future, but probably it will not be a big deal to update the spec if that will happen.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13285#discussion_r1190435743
More information about the net-dev
mailing list