youzan / ZanRedisDB

Yet another distributed fault-tolerant key-value database Compatible with Redis written in Golang.
MIT License
388 stars 60 forks source link

Improve cluster stable #38

Closed absolute8511 closed 5 years ago

absolute8511 commented 5 years ago
  1. optimize snapshot transfer and apply
  2. raft synced check optimize with read index
  3. more test case for cluster
codecov[bot] commented 5 years ago

Codecov Report

Merging #38 into master will decrease coverage by 0.08%. The diff coverage is 18.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   44.04%   43.95%   -0.09%     
==========================================
  Files         151      151              
  Lines       23380    23497     +117     
==========================================
+ Hits        10298    10329      +31     
- Misses      11402    11491      +89     
+ Partials     1680     1677       -3
Impacted Files Coverage Δ
cluster/pdnode_coord/place_driver.go 12.37% <0%> (-0.19%) :arrow_down:
cluster/pdnode_coord/pd_api.go 0% <0%> (ø) :arrow_up:
node/syncer_learner.go 0% <0%> (ø) :arrow_up:
node/raft_storage.go 13.33% <0%> (-2.06%) :arrow_down:
cluster/pdnode_coord/pd_coordinator.go 0% <0%> (ø) :arrow_up:
node/state_machine.go 22.57% <0%> (ø) :arrow_up:
rockredis/rockredis.go 31.99% <0%> (ø) :arrow_up:
node/node.go 30.79% <23.07%> (-0.69%) :arrow_down:
node/util.go 36.7% <50%> (+0.27%) :arrow_up:
node/raft.go 35.32% <8.69%> (-0.63%) :arrow_down:
... and 5 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 1d2dbc6...5217753. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #38 into master will decrease coverage by 0.08%. The diff coverage is 18.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   44.04%   43.95%   -0.09%     
==========================================
  Files         151      151              
  Lines       23380    23497     +117     
==========================================
+ Hits        10298    10329      +31     
- Misses      11402    11491      +89     
+ Partials     1680     1677       -3
Impacted Files Coverage Δ
cluster/pdnode_coord/place_driver.go 12.37% <0%> (-0.19%) :arrow_down:
cluster/pdnode_coord/pd_api.go 0% <0%> (ø) :arrow_up:
node/syncer_learner.go 0% <0%> (ø) :arrow_up:
node/raft_storage.go 13.33% <0%> (-2.06%) :arrow_down:
cluster/pdnode_coord/pd_coordinator.go 0% <0%> (ø) :arrow_up:
node/state_machine.go 22.57% <0%> (ø) :arrow_up:
rockredis/rockredis.go 31.99% <0%> (ø) :arrow_up:
node/node.go 30.79% <23.07%> (-0.69%) :arrow_down:
node/util.go 36.7% <50%> (+0.27%) :arrow_up:
node/raft.go 35.32% <8.69%> (-0.63%) :arrow_down:
... and 5 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 1d2dbc6...5217753. Read the comment docs.