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

tools: fix panic when using stores show limit (#1807) #1808

Merged
merged 2 commits into from Oct 17, 2019

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Oct 16, 2019

cherry-pick #1807 to release-3.0


What problem does this PR solve?

If we firstly use stores remove-tombstone and then calling stores show limit in pd-ctl. It will panic due to the nil pointer.

What is changed and how it works?

This PR fixes it by removing the store limit when removing a tombstone store.

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch
  • Need to be included in the release notes

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@sre-bot sre-bot added area/pdctl status/can-merge Indicates a PR has been approved by a committer. type/bug The issue is confirmed as a bug. labels Oct 16, 2019
@lhy1024
Copy link
Contributor

lhy1024 commented Oct 16, 2019

/run-all-tests

@nolouch
Copy link
Contributor

nolouch commented Oct 16, 2019

/merge

@nolouch nolouch closed this Oct 16, 2019
@nolouch nolouch reopened this Oct 16, 2019
@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 16, 2019

/run-all-tests

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 16, 2019

@sre-bot merge failed.

@rleungx
Copy link
Member

rleungx commented Oct 17, 2019

/run-all-tests

@rleungx
Copy link
Member

rleungx commented Oct 17, 2019

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 17, 2019

/run-all-tests

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 17, 2019

@sre-bot merge failed.

@rleungx
Copy link
Member

rleungx commented Oct 17, 2019

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 17, 2019

/run-all-tests

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 17, 2019

@sre-bot merge failed.

@rleungx rleungx merged commit c75a54c into tikv:release-3.0 Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants