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

optimize transfer leader #32

Merged
merged 15 commits into from
Dec 20, 2017
Merged

optimize transfer leader #32

merged 15 commits into from
Dec 20, 2017

Conversation

absolute8511
Copy link
Owner

Optimize the cluster change to avoid read/write on non-ready raft node. This can reduce some errors while cluster is changed by network or node restarting.

@codecov
Copy link

codecov bot commented Dec 5, 2017

Codecov Report

Merging #32 into master will decrease coverage by 0.23%.
The diff coverage is 38.03%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
- Coverage   48.02%   47.78%   -0.24%     
==========================================
  Files         104      103       -1     
  Lines       17351    17491     +140     
==========================================
+ Hits         8332     8358      +26     
- Misses       7665     7771     +106     
- Partials     1354     1362       +8
Impacted Files Coverage Δ
common/util.go 0% <ø> (ø) ⬆️
common/type.go 23.84% <ø> (ø) ⬆️
transport/rafthttp/peer.go 75.57% <ø> (-1.53%) ⬇️
cluster/pdnode_coord/place_driver.go 13.6% <0%> (ø) ⬆️
cluster/pdnode_coord/pd_coordinator.go 0% <0%> (ø) ⬆️
wal/decoder.go 88.37% <100%> (ø) ⬆️
transport/rafthttp/http.go 78.12% <100%> (+2.51%) ⬆️
server/httpapi.go 14.1% <16.66%> (+0.06%) ⬆️
node/namespace.go 36.66% <18.75%> (-1.05%) ⬇️
wal/wal.go 57.97% <23.07%> (-2.35%) ⬇️
... and 8 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 2bd4bc2...213d3b9. Read the comment docs.

@absolute8511 absolute8511 merged commit 1a2bf57 into master Dec 20, 2017
absolute8511 added a commit that referenced this pull request Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant