Skip to content

Fix ScanIterator may fail when an error encounters#63

Merged
zhexuany merged 2 commits intotikv:masterfrom
birdstorm:fix-scan-iterator
Jun 14, 2019
Merged

Fix ScanIterator may fail when an error encounters#63
zhexuany merged 2 commits intotikv:masterfrom
birdstorm:fix-scan-iterator

Conversation

@birdstorm
Copy link
Collaborator

When ScanIterator gets an Error from TiKV indicating region info needs to be refreshed, e.g., region epoch is not match, we should retry with a new client to prevent unrecoverable failure.

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
@birdstorm birdstorm force-pushed the fix-scan-iterator branch from 6305350 to 927ea1d Compare June 14, 2019 07:59
Copy link

@zhexuany zhexuany left a comment

Choose a reason for hiding this comment

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

lgtm

@zhexuany zhexuany merged commit 24ed19b into tikv:master Jun 14, 2019
Copy link
Collaborator

@ilovesoup ilovesoup left a comment

Choose a reason for hiding this comment

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

LGTM

@birdstorm birdstorm deleted the fix-scan-iterator branch September 2, 2020 07:58
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

Comments