-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[Opt](cloud-mow) BE can limit the size of get_delete_bitmap
response roughly
#55712
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
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:
|
3f55931
to
50ed63c
Compare
run buildall |
return Status::OK(); | ||
} | ||
|
||
Status CloudMetaMgr::_get_delete_bitmap_from_ms_by_batch(GetDeleteBitmapRequest& req, |
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 a UT for this function
TPC-H: Total hot run time: 34306 ms
|
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. |
TPC-DS: Total hot run time: 186808 ms
|
ClickBench: Total hot run time: 30.82 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
if (!has_more) { | ||
break; | ||
} | ||
LOG_INFO("batch get delete bitmap, progress={}/{}", finished_rowset_ids.size(), |
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.
also print current bytes of deletebitmap fetched?
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
50ed63c
to
16b5bc4
Compare
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-H: Total hot run time: 35357 ms
|
TPC-DS: Total hot run time: 188154 ms
|
ClickBench: Total hot run time: 30.81 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
FE UT Coverage ReportIncrement line coverage `` 🎉 |
TPC-H: Total hot run time: 34983 ms
|
TPC-DS: Total hot run time: 188995 ms
|
ClickBench: Total hot run time: 30.56 s
|
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
PR approved by at least one committer and no changes requested. |
What problem does this PR solve?
Add BE conf
get_delete_bitmap_bytes_threshold
to limit the delete bitmap size inget_delete_bitmap
reponse. The MS will return the current results to BE immediately when the size of delete bitmap fetched from fdb in MS reached this theshold the first time, and BE will make subsequent RPCs to get the remaining rowsets' results.This feature is used to reduce the pressure of MS when there are large delete bitmaps stored in fdb.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)