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

schedule: fix panic caused by removing tombstone (#2015) #2037

Merged
merged 1 commit into from
Dec 18, 2019

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Dec 18, 2019

What problem does this PR solve?

cherry-pick #2015 to release-3.1 branch

What is changed and how it works?

This PR fixes the panic problem by resetting the attached function when removing the store limit.

Check List

Tests

  • Unit test

Related changes

  • Need to be included in the release notes

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx
Copy link
Member Author

rleungx commented Dec 18, 2019

/run-all-tests

@nolouch nolouch added this to the v3.1.0-beta milestone Dec 18, 2019
@rleungx
Copy link
Member Author

rleungx commented Dec 18, 2019

/run-all-tests

2 similar comments
@rleungx
Copy link
Member Author

rleungx commented Dec 18, 2019

/run-all-tests

@rleungx
Copy link
Member Author

rleungx commented Dec 18, 2019

/run-all-tests

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (release-3.1@d1570bf). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff               @@
##             release-3.1    #2037   +/-   ##
==============================================
  Coverage               ?   69.47%           
==============================================
  Files                  ?      171           
  Lines                  ?    16819           
  Branches               ?        0           
==============================================
  Hits                   ?    11685           
  Misses                 ?     4152           
  Partials               ?      982
Impacted Files Coverage Δ
server/schedule/operator_controller.go 87.19% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1570bf...37545a7. Read the comment docs.

@nolouch nolouch merged commit 58ed361 into tikv:release-3.1 Dec 18, 2019
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.

4 participants