Closed ZuLiangWang closed 1 year ago
Merging #203 (52ac80d) into main (7f1354e) will increase coverage by
21.20%
. Report is 30 commits behind head on main. The diff coverage is55.32%
.
@@ Coverage Diff @@
## main #203 +/- ##
===========================================
+ Coverage 39.66% 60.86% +21.20%
===========================================
Files 34 43 +9
Lines 4213 5359 +1146
===========================================
+ Hits 1671 3262 +1591
+ Misses 2317 1690 -627
- Partials 225 407 +182
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.52%> (ø) |
|
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% <45.00%> (-1.02%) |
:arrow_down: |
... and 19 more |
It's better to use interceptor to implements this, but this depend on https://github.com/etcd-io/etcd/issues/13468, so I plan to merge this first.
Which issue does this PR close?
Closes #
Rationale for this change
Before the cluster state is stable, it is not allowed to create and delete tables to avoid uneven distribution of tables.
What changes are included in this PR?
Are there any user-facing changes?
None.
How does this change test
Pass all unit tests and integration test.