apache / kvrocks-controller

Apache Kvrocks Controller is a cluster management tool for Apache Kvrocks.
https://kvrocks.apache.org/
Apache License 2.0
84 stars 42 forks source link

Add the support of the failover config #111

Closed uds5501 closed 1 year ago

uds5501 commented 1 year ago

Introduce Config driven failover constants

Fixes : #108

codecov-commenter commented 1 year ago

Codecov Report

Merging #111 (93cf61e) into unstable (ae8fadf) will increase coverage by 0.36%. Report is 2 commits behind head on unstable. The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@             Coverage Diff              @@
##           unstable     #111      +/-   ##
============================================
+ Coverage     25.69%   26.05%   +0.36%     
============================================
  Files            31       31              
  Lines          2608     2621      +13     
============================================
+ Hits            670      683      +13     
  Misses         1845     1845              
  Partials         93       93              
Flag Coverage Δ
unittests 26.05% <100.00%> (+0.36%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
config/config.go 85.45% <100.00%> (ø)
server/server.go 20.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

git-hulk commented 1 year ago

@uds5501 Thanks for your contribution.