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

tikv: fix panic after sending fail with ambiguous errors (#17211) #17378

Merged
merged 5 commits into from
Jun 8, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented May 25, 2020

cherry-pick #17211 to release-3.0


What problem does this PR solve?

Issue Number: close #17201

Problem Summary:

batch client cleans up request map after sending fail, but tikv have the chance to receive requests when some ambiguous error happened.

and we should get panic when tikv make responses to those ambiguous requests now

What is changed and how it works?

Proposal: xxx

What's Changed:

log instead of panic

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Integration test(need take more log in tipocket)

Side effects

  • n/a

Release note

  • Fix panic after sending fail with ambiguous errors

This change is Reviewable

@sre-bot
Copy link
Contributor Author

sre-bot commented May 25, 2020

/run-all-tests

Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 3, 2020

@jackysp, @hicqu, PTAL.

@lysu lysu added the status/LGT2 Indicates that a PR has LGTM 2. label Jun 5, 2020
@lysu
Copy link
Contributor

lysu commented Jun 5, 2020

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 5, 2020

Sorry @lysu, you don't have permission to trigger auto merge event on this branch.

@bb7133 bb7133 modified the milestones: v3.0.15, 3.0.16, v3.0.16 Jun 6, 2020
@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 7, 2020

@jackysp, @hicqu, @lysu, PTAL.

@jackysp
Copy link
Member

jackysp commented Jun 8, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 8, 2020
@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 8, 2020

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tikv status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug. type/3.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants