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

tso: optimize the err handling and make their specification consistent (#2878) #2910

Closed

Conversation

ti-srebot
Copy link
Contributor

cherry-pick #2878 to release-4.0


Signed-off-by: JmPotato ghzpotato@gmail.com

What problem does this PR solve?

This PR does some optimization for the error handling by defining the error when we first meet it in tso.

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test

Related changes

Release note

  • Optimize the err handling in tso pkg.

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot ti-srebot added component/log Log. component/tso Timestamp Oracle. require-LGT1 Indicates that the PR requires an LGTM. status/LGT2 Indicates that a PR has LGTM 2. type/cherry-pick labels Sep 7, 2020
@ti-srebot ti-srebot added this to the v4.0.6 milestone Sep 7, 2020
@JmPotato JmPotato closed this Sep 7, 2020
@JmPotato JmPotato deleted the release-4.0-c7e9ecf78bf5 branch September 7, 2020 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/log Log. component/tso Timestamp Oracle. require-LGT1 Indicates that the PR requires an LGTM. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants