-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: show better placement schedule state #31073
Conversation
Signed-off-by: xhe <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
/cc @morgo PTAL, not about the code logic, but the name of third state. Currently I made it "WAITING". This primarily comes from the truth that it is not equal to "UNABLE TO SCHEDULE". PD could only tell that it is not scheduling, i.e. it paused the schedule somehow due to other conditions. PD could recover from "WAITING" to "INPROGRESS"/"SCHEDULED" at anytime, or vice versa. Reviewers of PD also said about "WAITING" and "INPROGRESS" is too similar. But "unable to schedule" feels like it won't schedule again at all. What about 'NOT SCHEDULING'? I really ran out of words in my mind. |
Signed-off-by: xhe <[email protected]>
I see. I think PENDING is the correct word here. It is common to say that "the case is pending |
Neat! |
@xhebox great job btw, thanks for working on this! |
Signed-off-by: xhe <[email protected]>
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/6959a31fee5ec2fb950f22a6dcb6f9528ea40423 |
Signed-off-by: xhe <[email protected]>
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 2b6d702
|
@xhebox: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions 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. |
Signed-off-by: xhe [email protected]
What problem does this PR solve?
Issue Number: close #30960
Problem Summary: Depends on tikv/pd#4508. Now we have "PENDING" to indicate PD did not start the schedule at all. It is possibly caused by busy looping or unmet condition, whatever, it is not scheduling.
I'll complete the document in another PR, since there are other document changes.
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note