apache / incubator-horaedb-meta

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

refactor: fsm of create table #201

Closed baojinri closed 1 year ago

baojinri commented 1 year ago

Which issue does this PR close?

part of #199

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

How does this change test

codecov[bot] commented 1 year ago

Codecov Report

Merging #201 (25a9ba1) into main (7f1354e) will increase coverage by 21.01%. The diff coverage is 53.03%.

@@             Coverage Diff             @@
##             main     #201       +/-   ##
===========================================
+ Coverage   39.66%   60.68%   +21.01%     
===========================================
  Files          34       41        +7     
  Lines        4213     4891      +678     
===========================================
+ Hits         1671     2968     +1297     
+ Misses       2317     1555      -762     
- Partials      225      368      +143     
Impacted Files Coverage Δ
pkg/coderr/code.go 0.00% <ø> (ø)
server/cluster/metadata/types.go 0.00% <0.00%> (ø)
server/coordinator/procedure/util.go 0.00% <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 39.02% <23.07%> (ø)
...ure/ddl/droppartitiontable/drop_partition_table.go 50.25% <40.00%> (-0.48%) :arrow_down:
server/member/member.go 47.39% <45.00%> (-1.32%) :arrow_down:
server/coordinator/scheduler/scheduler_manager.go 53.96% <47.36%> (ø)
... and 18 more

... and 3 files with indirect coverage changes