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

pump.Storage: fix possible panic if start ts is greater than max commit ts when pull binlog #759

Merged
merged 1 commit into from
Sep 30, 2019

Conversation

WangXiangUSTC
Copy link
Contributor

What problem does this PR solve?

in pull binlog, if start ts is greater than max commit ts, pump may panic because goleveldb's bug syndtr/goleveldb#224

What is changed and how it works?

copy some code from #758

@WangXiangUSTC
Copy link
Contributor Author

/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0

Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

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

LGTM

@IANTHEREAL
Copy link
Collaborator

LGTM

@WangXiangUSTC WangXiangUSTC merged commit fe336ff into release-2.1 Sep 30, 2019
@IANTHEREAL IANTHEREAL deleted the xiang/cherry_pick_leveldb_panic branch September 30, 2019 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants