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

*: update the error dependency and do the corresponding changes #2760

Merged
merged 4 commits into from
Aug 19, 2020

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Aug 13, 2020

What problem does this PR solve?

Related to #2704.

What is changed and how it works?

This PR updates the way to define an error and uses Wrap and FastGenWithCause to output the internal error.

Check List

Tests

  • Unit test

Release note

@rleungx rleungx added the component/log Log. label Aug 13, 2020
@rleungx rleungx added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 13, 2020
@rleungx rleungx force-pushed the update-error-format branch 2 times, most recently from 5a4872d to cd4036b Compare August 14, 2020 10:22
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 19, 2020
Copy link
Contributor

@Yisaer Yisaer left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot
Copy link
Contributor

@Yisaer,Thanks for your review. However, LGTM is restricted to Reviewers or higher roles.See the corresponding SIG page for more information. Related SIGs: scheduling(slack).

Copy link
Member

@JmPotato JmPotato left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot
Copy link
Contributor

@JmPotato,Thanks for your review. However, LGTM is restricted to Reviewers or higher roles.See the corresponding SIG page for more information. Related SIGs: scheduling(slack).

@nolouch
Copy link
Contributor

nolouch commented Aug 19, 2020

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Aug 19, 2020
@nolouch
Copy link
Contributor

nolouch commented Aug 19, 2020

/merge

@ti-srebot
Copy link
Contributor

@nolouch Oops! This PR requires at least 2 LGTMs to merge. The current number of LGTM is 1.

@nolouch
Copy link
Contributor

nolouch commented Aug 19, 2020

/merge

@ti-srebot
Copy link
Contributor

@nolouch Oops! This PR requires at least 2 LGTMs to merge. The current number of LGTM is 1.

@nolouch nolouch added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Aug 19, 2020
@nolouch
Copy link
Contributor

nolouch commented Aug 19, 2020

/merge

@ti-srebot
Copy link
Contributor

@nolouch Oops! This PR requires at least 2 LGTMs to merge. The current number of LGTM is 1.

@nolouch nolouch added the require-LGT1 Indicates that the PR requires an LGTM. label Aug 19, 2020
@nolouch
Copy link
Contributor

nolouch commented Aug 19, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Aug 19, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot
Copy link
Contributor

@rleungx merge failed.

@rleungx
Copy link
Member Author

rleungx commented Aug 19, 2020

/merge

@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 5a8ed09 into tikv:master Aug 19, 2020
ZenoTan pushed a commit to ZenoTan/pd that referenced this pull request Aug 24, 2020
…#2760)

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
jyz0309 pushed a commit to jyz0309/pd that referenced this pull request Aug 24, 2020
jyz0309 pushed a commit to jyz0309/pd that referenced this pull request Aug 24, 2020
@nolouch nolouch added the needs-cherry-pick-release-4.0 The PR needs to cherry pick to release-4.0 branch. label Sep 4, 2020
@nolouch
Copy link
Contributor

nolouch commented Sep 4, 2020

/run-cherry-picker

ti-srebot pushed a commit to ti-srebot/pd that referenced this pull request Sep 4, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #2902

nolouch pushed a commit that referenced this pull request Sep 4, 2020
… (#2902)

* cherry pick #2760 to release-4.0

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/log Log. needs-cherry-pick-release-4.0 The PR needs to cherry pick to release-4.0 branch. require-LGT1 Indicates that the PR requires an LGTM. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants