GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — Fix potential DNS cache invalidation across different EventLoops by qnnn · Pull Request #14147 · netty/netty Conversation
|
|
@qnnn I merged the commit of @bryce-anderson ... please do all remaining changes and ping me once done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@normanmaurer Thanks! I've completed the remaining changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@qnnn thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
) Motivation: By default, `DnsAddressResolverGroup` sets up a separate `DNSCache` for each `EventLoop`. This can lead to cache invalidation when performing DNS resolution across different EventLoops due to the potential absence of cached DNS records. Modification: - initializing the DNSCache in `DnsNameResolverBuilder` during `DnsAddressResolverGroup` initialization to enable sharing of DNSCache among EventLoops under the same `DnsAddressResolverGroup`. - Add unit test: testSharedDNSCacheAcrossEventLoops Result: Fixes #14046. --------- Co-authored-by: Norman Maurer <[email protected]> Co-authored-by: Bryce Anderson <[email protected]>
) Motivation: By default, `DnsAddressResolverGroup` sets up a separate `DNSCache` for each `EventLoop`. This can lead to cache invalidation when performing DNS resolution across different EventLoops due to the potential absence of cached DNS records. Modification: - initializing the DNSCache in `DnsNameResolverBuilder` during `DnsAddressResolverGroup` initialization to enable sharing of DNSCache among EventLoops under the same `DnsAddressResolverGroup`. - Add unit test: testSharedDNSCacheAcrossEventLoops Result: Fixes #14046. --------- Co-authored-by: Norman Maurer <[email protected]> Co-authored-by: Bryce Anderson <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
DNSResolve: DNS Cache Not Working in Certain Scenarios
There was an error while loading. Please reload this page.