radondb / xenon

The MySQL Cluster Autopilot Management with GTID and Raft
GNU General Public License v3.0
693 stars 162 forks source link

Log pos in config #153

Closed acekingke closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #153 (8aa8cf7) into master (bfa9c07) will increase coverage by 1%. The diff coverage is 66%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #153    +/-   ##
======================================
+ Coverage      68%    69%    +1%     
======================================
  Files          48     51     +3     
  Lines        3734   4601   +867     
======================================
+ Hits         2544   3182   +638     
- Misses        958   1166   +208     
- Partials      232    253    +21     
Impacted Files Coverage Δ
src/mysql/api.go 66% <ø> (+5%) :arrow_up:
src/mysql/mysql.go 67% <0%> (+1%) :arrow_up:
src/mysql/mysqlbase.go 86% <0%> (-1%) :arrow_down:
src/raft/peer.go 94% <ø> (+<1%) :arrow_up:
src/ctl/v1/xenon.go 53% <53%> (ø)
src/ctl/v1/cluster.go 65% <65%> (ø)
src/ctl/v1/raft.go 66% <66%> (ø)
src/server/server.go 56% <80%> (+4%) :arrow_up:
src/xbase/xrpc/xrpc.go 85% <84%> (+1%) :arrow_up:
src/config/config.go 83% <100%> (+2%) :arrow_up:
... and 49 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 bfa9c07...8aa8cf7. Read the comment docs.

runkecheng commented 2 years ago

Radondb mysql's Clone init feature requires this PR merged and pushed image to take effect. @andyli029

andyli029 commented 2 years ago

LGTM.

andyli029 commented 2 years ago
curl -i -H 'Authorization: Basic cm9vdDp0ZXN0' http:/127.0.0.1:6601/v1/raft/status 
curl -u "root:test" http:/127.0.0.1:6601/v1/raft/status user