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 oom cause missing data bug #2010

Conversation

marsishandsome
Copy link
Collaborator

@marsishandsome marsishandsome commented Apr 9, 2021

What problem does this PR solve?

oom during calling client.coprocess will cause missing data bug!

What is changed and how it works?

should not set eof = true if oom occures during calling client.coprocess

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to update the tidb-ansible repository
  • Need to be included in the release note

@marsishandsome marsishandsome added needs-cherry-pick-2.1 needs-cherry-pick-master PR which needs to be cherry-picked to master needs-cherry-pick-release-2.4 PR which needs to be cherry-picked to release-2.4 labels Apr 9, 2021
@marsishandsome
Copy link
Collaborator Author

/run-all-tests

@marsishandsome marsishandsome merged commit ad6abe4 into pingcap:release-2.3 Apr 9, 2021
@ti-srebot
Copy link
Collaborator

cherry pick to release-2.1 in PR #2012

@ti-srebot
Copy link
Collaborator

cherry pick to release-2.4 in PR #2013

@ti-srebot
Copy link
Collaborator

cherry pick to master in PR #2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-master PR which needs to be cherry-picked to master needs-cherry-pick-release-2.4 PR which needs to be cherry-picked to release-2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants