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

*: remove functions which are not useful anymore #4110

Merged
merged 2 commits into from
Sep 13, 2021

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Sep 13, 2021

What problem does this PR solve?

Just as the title says.

What is changed and how it works?

  • remove GetLeaderSchedulePolicy
  • remove adjustBalanceLimit

Check List

Tests

  • Unit test

Release note

None

@rleungx rleungx added the component/misc Some other things. label Sep 13, 2021
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Sep 13, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • disksing
  • nolouch

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 the release-note-none Denotes a PR that doesn't merit a release note. label Sep 13, 2021
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 13, 2021
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@codecov
Copy link

codecov bot commented Sep 13, 2021

Codecov Report

Merging #4110 (1ae8bdc) into master (3f53f1e) will increase coverage by 0.08%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4110      +/-   ##
==========================================
+ Coverage   74.53%   74.62%   +0.08%     
==========================================
  Files         258      258              
  Lines       26323    26314       -9     
==========================================
+ Hits        19621    19637      +16     
+ Misses       4963     4939      -24     
+ Partials     1739     1738       -1     
Flag Coverage Δ
unittests 74.62% <75.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
server/cluster/cluster.go 82.20% <ø> (ø)
server/core/basic_cluster.go 91.27% <ø> (ø)
server/core/hot_region_storage.go 74.34% <ø> (ø)
server/schedule/checker/priority_checker.go 78.94% <ø> (ø)
server/schedule/operator_controller.go 84.66% <ø> (-0.89%) ⬇️
server/schedulers/hot_region.go 83.10% <ø> (ø)
server/schedulers/utils.go 94.58% <ø> (-0.10%) ⬇️
server/grpc_service.go 47.05% <50.00%> (+0.22%) ⬆️
server/schedulers/balance_leader.go 91.55% <100.00%> (ø)
server/election/leadership.go 84.61% <0.00%> (-3.30%) ⬇️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f53f1e...1ae8bdc. Read the comment docs.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 13, 2021
@nolouch
Copy link
Contributor

nolouch commented Sep 13, 2021

/merge

@ti-chi-bot
Copy link
Member

@nolouch: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

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.

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 42d319d

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 13, 2021
@ti-chi-bot ti-chi-bot merged commit 5b1896e into tikv:master Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/misc Some other things. release-note-none Denotes a PR that doesn't merit a release note. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants