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

*: add rollback for load data statement (#9444) #10862

Merged
merged 2 commits into from
Jun 24, 2019

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented Jun 19, 2019

Conflicts:
server/conn.go

What problem does this PR solve?

Cherry-pick #9444
Try to fix #10852

What is changed and how it works?

Missing rollback when StmtCommit failed in load data.
Manual test:

  1. load tpch data with 100 threads.
  2. check if there will meet an error or not.

Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

@zimulala zimulala added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 19, 2019
@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jun 24, 2019
@tiancaiamao
Copy link
Contributor

/run-all-tests tidb-test=release-2.1 tikv=release-2.1 pd=release-2.1

@jackysp jackysp merged commit 42eced8 into pingcap:release-2.1 Jun 24, 2019
@jackysp jackysp deleted the cherry-pick-load-data branch February 27, 2020 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/session status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants