-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enhancement](cloud) improve FE RPC retry and MetaService connection handling #59698
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
…handling Add address-provider retry path in ThriftRpcHelper; stream load uses provider to retry on new FE master Only reconnect MetaServiceProxy on request failures; close connection on getVisibleVersionAsync failure Update meta_service_rpc_reconnect_interval_ms in FE/BE (5000 -> 100)
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
| } | ||
| if (retry_address.hostname != address.hostname || retry_address.port != address.port) { | ||
| #ifndef ADDRESS_SANITIZER | ||
| LOG(INFO) << "retrying call frontend service with new address=" << retry_address; |
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.
why not just log without check ifndef address?
| timeout_ms, &retry_status); | ||
| if (!retry_status.ok()) { | ||
| #ifndef ADDRESS_SANITIZER | ||
| LOG(WARNING) << "Connect frontend failed, address=" << retry_address |
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.
ditto
gavinchou
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. |
FE UT Coverage ReportIncrement line coverage |
|
run buildall |
TPC-H: Total hot run time: 31600 ms |
TPC-DS: Total hot run time: 173604 ms |
|
PR approved by at least one committer and no changes requested. |
Hastyshell
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
|
skip check_coverage |
…handling (apache#59698) Add address-provider retry path in ThriftRpcHelper and stream load uses provider to retry on new FE master Only reconnect MetaServiceProxy on request failures Update meta_service_rpc_reconnect_interval_ms in FE/BE (5000 -> 100)
…handling (#59698) Add address-provider retry path in ThriftRpcHelper and stream load uses provider to retry on new FE master Only reconnect MetaServiceProxy on request failures Update meta_service_rpc_reconnect_interval_ms in FE/BE (5000 -> 100)
Add address-provider retry path in ThriftRpcHelper; stream load uses provider to retry on new FE master Only reconnect MetaServiceProxy on request failures; close connection on getVisibleVersionAsync failure Update meta_service_rpc_reconnect_interval_ms in FE/BE (5000 -> 100)