-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Fix](warmup) one-time and periodic warm up job should be triggered regardless whether the rowset has been warmed up before #56737
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
[Fix](warmup) one-time and periodic warm up job should be triggered regardless whether the rowset has been warmed up before #56737
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
4f683de to
7884d06
Compare
7884d06 to
72a1afb
Compare
|
run buildall |
|
run buildall |
ClickBench: Total hot run time: 30.18 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run p0 |
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. |
| auto existing_state = _rowset_warm_up_states[rowset_id].state; | ||
|
|
||
| // For job-triggered warmup (one-time and periodic warmup), allow it to proceed | ||
| // except when there's already another job-triggered warmup in progress |
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.
what if the job-triigered warmup is done? still return false?
| } | ||
| _rowset_warm_up_states[rowset.rowset_id()] = { | ||
| .state = state, .num_segments = rowset.num_segments(), .start_tp = start_tp}; | ||
| _rowset_warm_up_states[rowset_id] = { |
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.
Since two different trigger types will share the same states (and the same counter in it), will this replacement of elements in the map interfere with other warmup types with the same rowsetid?
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.
only one trigger source can update a rowset's state in any time
8d9b99d to
6f27bc2
Compare
|
run buildall |
TPC-DS: Total hot run time: 189701 ms |
ClickBench: Total hot run time: 30.42 s |
|
run cloud_p0 |
|
run nonConcurrent |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
freemandealer
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
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. |
What problem does this PR solve?
Related PR: #54611
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)