Skip to content
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

tp: separate balance scheduler to basic and balance #5842

Merged
merged 6 commits into from
Jun 13, 2022

Conversation

overvenus
Copy link
Member

What problem does this PR solve?

Issue Number: ref #4757

What is changed and how it works?

Separate balance scheduler to basic and balance

Check List

Tests

  • Unit test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

None

Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@overvenus overvenus added component/scheduler TiCDC inner scheduler component. area/ticdc Issues or PRs related to TiCDC. labels Jun 13, 2022
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Jun 13, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • 3AceShowHand

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 13, 2022
Signed-off-by: Neil Shen <overvenus@gmail.com>
@@ -93,8 +93,8 @@ func newBurstBalanceMoveTables(
}

for tableID, rep := range replications {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks that newBurstBalanceMoveTables , the parameter currentTables is not used.

overvenus and others added 2 commits June 13, 2022 16:47
Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 13, 2022
@3AceShowHand 3AceShowHand merged commit 3daf68a into pingcap:fb/latency Jun 13, 2022
3AceShowHand added a commit to 3AceShowHand/tiflow that referenced this pull request Jun 14, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 21, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 21, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 23, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 23, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 24, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 24, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 24, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
overvenus added a commit to overvenus/ticdc that referenced this pull request Jun 24, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
ti-chi-bot pushed a commit that referenced this pull request Jun 24, 2022
* tp: clean up stale capture table metrics

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: refine balance scheduler

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp: seperate balance scheduler to basic and balance

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix tests

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>

* address comments

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ling Jin <7138436+3AceShowHand@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. component/scheduler TiCDC inner scheduler component. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants