Skip to content

feat: support circuit breaker#228

Merged
dk-lockdown merged 1 commit into
CECTC:devfrom
dk-lockdown:feat/breaker
Aug 12, 2022
Merged

feat: support circuit breaker#228
dk-lockdown merged 1 commit into
CECTC:devfrom
dk-lockdown:feat/breaker

Conversation

@dk-lockdown
Copy link
Copy Markdown
Collaborator

ref: #182

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 5, 2022

Codecov Report

Merging #228 (900f16e) into dev (606ebc7) will increase coverage by 0.46%.
The diff coverage is 68.38%.

❗ Current head 900f16e differs from pull request most recent head f67a9b5. Consider uploading reports for the commit f67a9b5 to get more accurate results

@@            Coverage Diff             @@
##              dev     #228      +/-   ##
==========================================
+ Coverage   42.69%   43.16%   +0.46%     
==========================================
  Files          82       84       +2     
  Lines        9785     9911     +126     
==========================================
+ Hits         4178     4278     +100     
- Misses       5172     5194      +22     
- Partials      435      439       +4     
Impacted Files Coverage Δ
pkg/executor/sharding.go 0.00% <0.00%> (ø)
pkg/filter/dt/filter_http.go 15.59% <0.00%> (ø)
pkg/filter/dt/filter_mysql.go 1.60% <0.00%> (ø)
pkg/executor/read_write_splitting.go 47.74% <50.00%> (+1.25%) ⬆️
pkg/executor/single_db.go 51.21% <50.00%> (+1.80%) ⬆️
pkg/filter/breaker/breaker.go 61.53% <61.53%> (ø)
pkg/filter/rate/limiter.go 82.19% <82.19%> (ø)

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

@dk-lockdown dk-lockdown force-pushed the feat/breaker branch 3 times, most recently from 7de88cf to b2e88ef Compare August 12, 2022 06:39
@dk-lockdown dk-lockdown merged commit 7a1a977 into CECTC:dev Aug 12, 2022
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants