sentinel-golang
sentinel-golang copied to clipboard
DRAFT: cluster flow control based on redis POC
Describe what this PR does / why we need it
cluster flow control implementation based on redis
refer: https://www.yuque.com/ximu/sentinel-golang/em55x6
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews
POC,, NOT Reday
Codecov Report
Merging #369 (42e1a7c) into master (c059530) will decrease coverage by
0.61%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## master #369 +/- ##
==========================================
- Coverage 50.20% 49.58% -0.62%
==========================================
Files 70 72 +2
Lines 4089 4140 +51
==========================================
Hits 2053 2053
- Misses 1759 1810 +51
Partials 277 277
Impacted Files | Coverage Δ | |
---|---|---|
cluster/server/redis.go | 0.00% <0.00%> (ø) |
|
util/mutex.go | 0.00% <0.00%> (ø) |
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 c059530...42e1a7c. Read the comment docs.
Codecov Report
Merging #369 (42e1a7c) into master (89ef54d) will decrease coverage by
3.55%
. The diff coverage is0.00%
.
:exclamation: Current head 42e1a7c differs from pull request most recent head eabdd0c. Consider uploading reports for the commit eabdd0c to get more accurate results
@@ Coverage Diff @@
## master #369 +/- ##
==========================================
- Coverage 53.14% 49.58% -3.56%
==========================================
Files 91 72 -19
Lines 5897 4140 -1757
==========================================
- Hits 3134 2053 -1081
+ Misses 2415 1810 -605
+ Partials 348 277 -71
Impacted Files | Coverage Δ | |
---|---|---|
cluster/server/redis.go | 0.00% <0.00%> (ø) |
|
util/mutex.go | 0.00% <0.00%> (ø) |
|
core/log/metric/aggregator.go | 25.86% <0.00%> (-53.31%) |
:arrow_down: |
core/base/block_error.go | 17.64% <0.00%> (-28.01%) |
:arrow_down: |
core/log/metric/writer.go | 0.00% <0.00%> (-26.91%) |
:arrow_down: |
core/base/result.go | 26.53% <0.00%> (-17.66%) |
:arrow_down: |
core/stat/base/metric_bucket.go | 71.42% <0.00%> (-12.36%) |
:arrow_down: |
api/slot_chain.go | 76.47% <0.00%> (-11.03%) |
:arrow_down: |
api/tracer.go | 28.57% <0.00%> (-8.93%) |
:arrow_down: |
core/circuitbreaker/circuit_breaker.go | 67.55% <0.00%> (-7.12%) |
:arrow_down: |
... and 84 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 89ef54d...eabdd0c. Read the comment docs.