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

tidb: update statement history in retry() #5207

Merged
merged 2 commits into from
Nov 24, 2017

Conversation

tiancaiamao
Copy link
Contributor

cherry pick from #5202

Fix a bug in this order:
1. transaction commit meet schema change
2. retry and meet retryable error
3. retry again and success

It would insert stale data, because statement history is not updated,
we may using the wrong schema.
@tiancaiamao
Copy link
Contributor Author

/run-all-tests tidb-test=release-1.0

@shenli
Copy link
Member

shenli commented Nov 24, 2017

LGTM

@shenli
Copy link
Member

shenli commented Nov 24, 2017

@coocood PTAL

Copy link
Member

@coocood coocood left a comment

Choose a reason for hiding this comment

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

LGTM

@coocood coocood merged commit 039cf7a into pingcap:release-1.0 Nov 24, 2017
ti-chi-bot pushed a commit that referenced this pull request Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants