dxf: start scheduler without reserve resource in nextgen (#63205)#63214
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@D3Hunter This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/unhold |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter, joechenrh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
67938bd
into
pingcap:release-nextgen-20250815
This is an automated cherry-pick of #63205
What problem does this PR solve?
Issue Number: ref #61702
Problem Summary:
What changed and how does it work?
in nextgen kernel, node resource will be scaled automatically by cluster controller which will use the schedule status API to make sure the required resource is available
also fix the integration tests in disttask pkg when run in nextgen
Check List
Tests
apply below diff
code diff
run below script
before this PR, in the 2 queries of
mysql.tidb_global_task;, we can see the second task is not scheduledand the result of schedule status, we can see required_count is 1
after this PR, in the 2 queries of
mysql.tidb_global_task;, we can see both tasks are scheduledand the result of schedule status, we can see required_count is 2
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.