-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] optimize scheduler one task cost #50328
[Enhancement] optimize scheduler one task cost #50328
Conversation
b6f672d
to
0cfa06d
Compare
0cfa06d
to
d2fe7c7
Compare
Quality Gate passedIssues Measures |
d2fe7c7
to
577de79
Compare
Signed-off-by: hoffermei <[email protected]>
577de79
to
c43fc75
Compare
Quality Gate passedIssues Measures |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 4 / 4 (100.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: hoffermei <[email protected]> (cherry picked from commit 5320302)
Signed-off-by: hoffermei <[email protected]> (cherry picked from commit 5320302)
Signed-off-by: hoffermei <[email protected]> (cherry picked from commit 5320302)
) Co-authored-by: hoffer <[email protected]>
) Co-authored-by: hoffer <[email protected]>
) Co-authored-by: hoffer <[email protected]>
Why I'm doing:
In our cluster with more than 200 routine load jobs, when I trace com.starrocks.load.routineload.RoutineLoadTaskScheduler:scheduleOneTask, some times get very slow in checkTaskInJob
What I'm doing:
Replace RoutineLoadMgr::checkTaskInJob with only check whether task in current job, than check task in all current jobs.
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: