Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: replace gofail with the new failpoint implementation #10184

Merged
merged 6 commits into from
Apr 22, 2019
Merged

*: replace gofail with the new failpoint implementation #10184

merged 6 commits into from
Apr 22, 2019

Conversation

lonng
Copy link
Contributor

@lonng lonng commented Apr 18, 2019

Signed-off-by: Lonng [email protected]

What problem does this PR solve?

Replace gofail with the new failpoint implementation failpoint

What is changed and how it works?

Replace all dependencies and failpoints trigger condition.

Check List

Tests

  • Unit test
  • Integration test

Code changes

Side effects

Related changes

@lonng
Copy link
Contributor Author

lonng commented Apr 18, 2019

/rebuild

@lonng lonng changed the title [WIP] *: replace gofail with the new failpoint implementation *: replace gofail with the new failpoint implementation Apr 18, 2019
@lonng
Copy link
Contributor Author

lonng commented Apr 18, 2019

ddl/index.go Outdated Show resolved Hide resolved
ddl/reorg.go Outdated Show resolved Hide resolved
@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 21, 2019
Signed-off-by: Lonng <[email protected]>
@codecov
Copy link

codecov bot commented Apr 21, 2019

Codecov Report

Merging #10184 into master will decrease coverage by 0.001%.
The diff coverage is 86.4661%.

@@               Coverage Diff                @@
##             master     #10184        +/-   ##
================================================
- Coverage   77.9586%   77.9576%   -0.0011%     
================================================
  Files           407        407                
  Lines         83171      83285       +114     
================================================
+ Hits          64839      64927        +88     
- Misses        13528      13551        +23     
- Partials       4804       4807         +3

@lonng
Copy link
Contributor Author

lonng commented Apr 21, 2019

/run-all-tests

@siddontang
Copy link
Member

@nolouch

Please introduce to PD.

@siddontang
Copy link
Member

@disksing

do we need to use in go-client?

@disksing
Copy link
Contributor

@siddontang No plan now. The current intend is based on mock-tikv to inject errors.

Copy link
Contributor

@winkyao winkyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zz-jason zz-jason added status/LGT2 Indicates that a PR has LGTM 2. component/test and removed component/test status/LGT1 Indicates that a PR has LGTM 1. labels Apr 22, 2019
@pingcap pingcap deleted a comment from winkyao Apr 22, 2019
@lonng
Copy link
Contributor Author

lonng commented Apr 22, 2019

/run-all-tests

@lonng lonng merged commit 27a5618 into pingcap:master Apr 22, 2019
@lonng lonng deleted the failpoint branch April 22, 2019 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants