-
Notifications
You must be signed in to change notification settings - Fork 731
scheduler: add new api to add a new job for the special scheduler #9162
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
54113d6
fix unit test
bufferflies d3c65cd
pass ut
bufferflies f4ea2a9
pass test
bufferflies d628302
add test for jobs api
bufferflies 5e3c20f
Merge branch 'master' into scheduler/jobs
bufferflies 952ff6c
address comment
bufferflies d38ae64
Merge branch 'scheduler/jobs' of github.com:bufferflies/pd into sched…
bufferflies 6e4c154
pass ut
bufferflies 4721373
decode the key range
bufferflies fd56740
address comment
bufferflies 6305880
peers
bufferflies 142d4d6
rename xx-scatter
bufferflies 20548be
update origin
bufferflies 3dd2b45
pass ut
bufferflies 1865536
scatter
bufferflies 80b4d37
Merge branch 'master' of github.com:tikv/pd into scheduler/jobs
bufferflies fb35310
address comment
bufferflies 3b72cd9
Merge branch 'master' of github.com:tikv/pd into scheduler/jobs
bufferflies 2e902a8
return earlier
bufferflies 5bd1d92
Merge branch 'master' of github.com:tikv/pd into scheduler/jobs
bufferflies cae6790
address start time
bufferflies db65e2e
Merge branch 'master' into scheduler/jobs
ti-chi-bot[bot] f2aa0fb
Merge branch 'master' into scheduler/jobs
ti-chi-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why change name by mistake?
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.
the design used the rule not role. see pingcap/tidb#59681
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.
Are there any other similar examples where "rule" is used? It would be best to standardize their terminology.
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.
The keyword 'rule' is a new syntax.https://github.com/pingcap/tidb/pull/60027/files#diff-842be04cb2c39aecf993b3654455d163e16e9603185ce63871f6842a04c04574