-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[enhancement](cloud) improve the retry policy of cloud mode #49067
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TeamCity cloud ut coverage result: |
TPC-H: Total hot run time: 32512 ms
|
TPC-DS: Total hot run time: 192688 ms
|
ClickBench: Total hot run time: 31.38 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
int get_dynamic_retry_count() { | ||
int64_t busyness_percent = get_fdb_client_thread_busyness_percent(); | ||
if (busyness_percent > config::retry_disable_busyness_threshold) { | ||
return 0; |
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.
add bvar to record reduce and disable count
consider latency recorder
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.
done
@@ -1402,6 +1402,8 @@ enum MetaServiceCode { | |||
|
|||
SCHEMA_DICT_NOT_FOUND = 11001; | |||
|
|||
KV_TXN_CONFLICT_BUSY = 12001; |
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.
add 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.
done
run buildall |
TeamCity cloud ut coverage result: |
TPC-H: Total hot run time: 32545 ms
|
TPC-DS: Total hot run time: 184679 ms
|
ClickBench: Total hot run time: 30.69 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
run buildall |
TeamCity cloud ut coverage result: |
run buildall |
TeamCity cloud ut coverage result: |
TPC-H: Total hot run time: 33416 ms
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
run performance |
run cloud_p0 |
TPC-H: Total hot run time: 34717 ms
|
TPC-DS: Total hot run time: 192064 ms
|
ClickBench: Total hot run time: 32.03 s
|
run buildall |
TeamCity cloud ut coverage result: |
TPC-H: Total hot run time: 34186 ms
|
TPC-DS: Total hot run time: 193589 ms
|
ClickBench: Total hot run time: 32.13 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
@@ -264,4 +264,8 @@ CONF_Bool(enable_loopback_address_for_ms, "false"); | |||
// Which vaults should be recycled. If empty, recycle all vaults. | |||
// Comma seprated list: recycler_storage_vault_white_list="aaa,bbb,ccc" | |||
CONF_Strings(recycler_storage_vault_white_list, ""); | |||
|
|||
CONF_mInt32(retry_reduce_busyness_threshold, "80"); |
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.
add comments
int get_dynamic_retry_count() { | ||
int64_t busyness_percent = get_fdb_client_thread_busyness_percent(); | ||
if (busyness_percent > config::retry_disable_busyness_threshold) { | ||
g_bvar_busynesss_disable_counter << 1; |
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.
bvar adder should do
promethues can process qps
No description provided.