-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: remove fail
field from TxnState (#8712)
#8764
Conversation
Originally, fail is added to simplify error handling, avoiding large changes on the Txn() interface API. But it turns out that fail introduces complexity. So this commit removes the fail and makes an API refactoring.
/run-all-tests tidb-test=pr/708 |
/run-all-tests tidb-test=pr/708 |
1 similar comment
/run-all-tests tidb-test=pr/708 |
6e6ef27
to
3b44646
Compare
/run-all-tests tidb-test=pr/708 |
/rebuild |
/run-all-tests tidb-test=pr/708 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests tidb-test=release-2.0 tikv=release-2.0 pd=release-2.0 |
/run-integration-ddl-test tidb-test=pr/708 tikv=release-2.0 pd=release-2.0 |
This reverts commit 305a083.
cherry pick from #8712
Please review session.go carefully.
@lysu @winkyao @jackysp
This change is