GeezerVison is showing github.com — Enabling DNS retryOnTimeout with TCP in DnsNameResolver by graysonzeng · Pull Request #23590 · apache/pulsar
Conversation
graysonzeng
commented
Nov 12, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #23588
Motivation
Enable DNS retryOnTimeout with TCP in netty to fix udp timeout error, we can see similar errors and fixes in other applications
Related links:
netty/netty#13757
reactor/reactor-netty#2978
reactor/reactor-netty#3059
redisson/redisson#1625
Modifications
add socketChannelType for configure the resolver to fallback to TCP if a timeout is detected
Verifying this change
- Make sure that the change passes the CI checks.
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
- Added integration tests for end-to-end deployment with large payloads (10MB)
- Extended integration test for recovery after broker failure
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
- Dependencies (add or upgrade a dependency)
- The public API
- The schema
- The default values of configurations
- The threading model
- The binary protocol
- The REST endpoints
- The admin CLI options
- The metrics
- Anything that affects deployment
Documentation
-
doc
-
doc-required
-
doc-not-needed
-
doc-complete
Matching PR in forked repository
PR in forked repository:
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
graysonzeng
changed the title
Enabling DNS retryOnTimeout with TCP
Enabling DNS retryOnTimeout with TCP in DnsNameResolver
Nov 12, 2024
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
/pulsarbot rerun-failure-checks
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the contribution
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|