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

Merge branch 'master' into new-hotspot-scheduler #1709

Merged
merged 10 commits into from
Aug 27, 2019

Conversation

jiyingtk
Copy link
Contributor

What problem does this PR solve?

Merge branch 'master' into new-hotspot-scheduler

rleungx and others added 10 commits August 19, 2019 15:41
Signed-off-by: Ryan Leung <rleungx@gmail.com>
* test: fix region syncer test

Signed-off-by: disksing <i@disksing.com>
Signed-off-by: cwen0 <cwenyin0@gmail.com>
Signed-off-by: disksing <i@disksing.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
…#1659)

* schedule: Do not send an operator of a region wth a stale epoch

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* schedule: check the version changed by the operator self

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* schedule: fix unit test

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* schedule: fix to avoid dispatching a stale opstep

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* dispatch: refactor "ConsumeConfVer() int" to "ExpectConfVerChange() bool"

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* dispatch: fix typo in comment

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* fix typo

Co-Authored-By: Ryan Leung <rleungx@gmail.com>

* dispatch: fix unittest

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>

* dispatch: refine format

Signed-off-by: Shafreeck Sea <shafreeck@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: jiyingtk <jiyingtk@mail.ustc.edu.cn>
@codecov-io
Copy link

Codecov Report

Merging #1709 into new-hotspot-scheduler will increase coverage by 0.02%.
The diff coverage is 84.05%.

Impacted file tree graph

@@                    Coverage Diff                    @@
##           new-hotspot-scheduler    #1709      +/-   ##
=========================================================
+ Coverage                  75.77%   75.79%   +0.02%     
=========================================================
  Files                        157      158       +1     
  Lines                      15857    15941      +84     
=========================================================
+ Hits                       12015    12083      +68     
- Misses                      2809     2829      +20     
+ Partials                    1033     1029       -4
Impacted Files Coverage Δ
server/core/store.go 78.85% <ø> (ø) ⬆️
server/config/config.go 83.18% <ø> (-0.15%) ⬇️
server/util.go 60.27% <0%> (-5.4%) ⬇️
server/checker/merge_checker.go 77.04% <0%> (-1.29%) ⬇️
server/schedulers/balance_leader.go 96.66% <100%> (ø) ⬆️
server/schedulers/balance_region.go 84.79% <100%> (ø) ⬆️
server/core/region.go 93.15% <100%> (-0.1%) ⬇️
server/schedule/range_cluster.go 91.42% <100%> (+0.95%) ⬆️
server/api/region.go 68.54% <100%> (ø) ⬆️
server/cluster.go 82.84% <100%> (+0.34%) ⬆️
... and 26 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 ddfc8fa...673a149. Read the comment docs.

@Luffbee Luffbee merged commit 3c4fd92 into tikv:new-hotspot-scheduler Aug 27, 2019
@sre-bot sre-bot added the contribution This PR is from a community contributor. label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants