-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](brpc_client_cache) resolve hostname in DNS cache before passing to brpc #40074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
dataroaring
left a comment
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
01a3174 to
9401056
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 38115 ms |
TPC-DS: Total hot run time: 192437 ms |
ClickBench: Total hot run time: 32.69 s |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 38229 ms |
TPC-DS: Total hot run time: 192591 ms |
|
PR approved by at least one committer and no changes requested. |
liaoxin01
left a comment
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
bff912e to
417f803
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 37878 ms |
TPC-DS: Total hot run time: 192318 ms |
ClickBench: Total hot run time: 31.05 s |
… to brpc (apache#40074) Currently brpc does not support resloving IPv6 hostnames, errors will be returned on `brpc::Channel::Init`. The brpc client cache may return `nullptr` on its `get_client` or `get_new_client_no_cache` APIs. This PR made the following changes: 1. Resolve hostnames from DNS cache before passing it to brpc. 2. Callers should check nullptr after get client, in case of failures.
… to brpc (#40074) Currently brpc does not support resloving IPv6 hostnames, errors will be returned on `brpc::Channel::Init`. The brpc client cache may return `nullptr` on its `get_client` or `get_new_client_no_cache` APIs. This PR made the following changes: 1. Resolve hostnames from DNS cache before passing it to brpc. 2. Callers should check nullptr after get client, in case of failures.
Proposed changes
Currently brpc does not support resloving IPv6 hostnames, errors will be returned on
brpc::Channel::Init.The brpc client cache may return
nullptron itsget_clientorget_new_client_no_cacheAPIs.This PR made the following changes: