youzan / ZanRedisDB

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

add slow logs for large collections and slow write #69

Closed absolute8511 closed 4 years ago

codecov[bot] commented 4 years ago

Codecov Report

Merging #69 into master will increase coverage by 0.08%. The diff coverage is 71.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   46.76%   46.84%   +0.08%     
==========================================
  Files         163      164       +1     
  Lines       25885    25970      +85     
==========================================
+ Hits        12104    12166      +62     
- Misses      11931    11962      +31     
+ Partials     1850     1842       -8     
Impacted Files Coverage Δ
server/httpapi.go 25.24% <7.69%> (-0.38%) :arrow_down:
rockredis/t_hash.go 59.92% <33.33%> (-0.47%) :arrow_down:
node/state_machine.go 28.73% <50.00%> (+0.50%) :arrow_up:
slow/slowlog.go 77.27% <77.27%> (ø)
node/keys.go 48.92% <100.00%> (+0.55%) :arrow_up:
node/node_cmd_reg.go 94.95% <100.00%> (+0.04%) :arrow_up:
rockredis/t_hll.go 76.55% <100.00%> (+1.48%) :arrow_up:
rockredis/t_list.go 49.42% <100.00%> (+0.09%) :arrow_up:
rockredis/t_set.go 63.22% <100.00%> (+3.40%) :arrow_up:
rockredis/t_zset.go 59.37% <100.00%> (+0.05%) :arrow_up:
... and 10 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 2f7ca63...b77f2c2. Read the comment docs.