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

fix resolve current lock npe bug #1485

Conversation

marsishandsome
Copy link
Collaborator

@marsishandsome marsishandsome commented Jun 19, 2020

What problem does this PR solve?

close #1005

image

What is changed and how it works?

use current.getKey() instead of startKey

startKey maybe null, cause it means the start key of next region

Check List

Tests

  • No code

@marsishandsome
Copy link
Collaborator Author

/run-all-tests tikv=v4.0.1 tidb=v4.0.1 pd=v4.0.1

1 similar comment
@marsishandsome
Copy link
Collaborator Author

/run-all-tests tikv=v4.0.1 tidb=v4.0.1 pd=v4.0.1

@marsishandsome marsishandsome merged commit 2363e06 into pingcap:master Jun 22, 2020
wfxxh pushed a commit to wanfangdata/tispark that referenced this pull request Jun 30, 2023
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.

[BUG] Lock may encounter in scan
1 participant