apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.
https://horaedb.apache.org
Apache License 2.0
27 stars 15 forks source link

feat: add http API #223

Closed ZuLiangWang closed 1 year ago

ZuLiangWang commented 1 year ago

Rationale

Add a new API for deleting node shards and get register nodes

Detailed Changes

Test Plan

Pass all unit tests and integration test.

codecov[bot] commented 1 year ago

Codecov Report

Merging #223 (35d7450) into main (7f1354e) will increase coverage by 21.48%. Report is 29 commits behind head on main. The diff coverage is 65.14%.

@@             Coverage Diff             @@
##             main     #223       +/-   ##
===========================================
+ Coverage   39.66%   61.14%   +21.48%     
===========================================
  Files          34       43        +9     
  Lines        4213     5338     +1125     
===========================================
+ Hits         1671     3264     +1593     
+ Misses       2317     1674      -643     
- Partials      225      400      +175     
Files Changed Coverage Δ
pkg/coderr/code.go 0.00% <ø> (ø)
server/cluster/metadata/types.go 0.00% <0.00%> (ø)
server/coordinator/procedure/util.go 0.00% <ø> (ø)
server/storage/meta.go 0.00% <ø> (ø)
server/storage/storage_impl.go 57.21% <0.00%> (-5.10%) :arrow_down:
server/member/watch_leader.go 40.62% <20.00%> (-2.71%) :arrow_down:
server/cluster/manager.go 38.96% <23.18%> (ø)
server/coordinator/factory.go 76.68% <27.27%> (+72.22%) :arrow_up:
.../operation/transferleader/batch_transfer_leader.go 33.80% <33.80%> (ø)
server/member/member.go 47.70% <47.82%> (-1.02%) :arrow_down:
... and 21 more

... and 1 file with indirect coverage changes

ShiKaiWi commented 1 year ago

@ZuLiangWang This pr is outdated, how about making a rebase to resolve the conflicts?

ZuLiangWang commented 1 year ago

This PR has expired and is used by other interfaces.