-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](warmup) avoid calling recycle_cache after rebalance #53339
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. Please clearly describe your PR:
|
c23124c to
91492f6
Compare
|
run buildall |
TPC-H: Total hot run time: 34079 ms |
TPC-DS: Total hot run time: 169844 ms |
ClickBench: Total hot run time: 33.13 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
91492f6 to
cc6c16c
Compare
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 33871 ms |
TPC-DS: Total hot run time: 170314 ms |
ClickBench: Total hot run time: 33.22 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
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. |
| void remove_unused_rowsets(); | ||
|
|
||
| static void recycle_cached_data(const std::vector<RowsetSharedPtr>& rowsets); | ||
| static std::vector<RecycledRowsets> recycle_cached_data( |
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 to describe the behavior, what is the returned value and the input param
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
|
run buildall |
TPC-H: Total hot run time: 33960 ms |
TPC-DS: Total hot run time: 184973 ms |
ClickBench: Total hot run time: 32.11 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
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
|
PR approved by at least one committer and no changes requested. |
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
What problem does this PR solve?
Problem Summary:
recycle_cached_data()should not callrecycle_cache(). Because rebalance will also callrecycle_cached_data(). For compaction, we should callrecycle_cache()indelete_expired_stale_rowsets()andclear_cache().Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)