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

storage: Eagerly GC dormant replicas when decommissioning #17304

Merged
merged 1 commit into from
Jul 30, 2017

Conversation

a-robinson
Copy link
Contributor

Fixes #17288

The ideal test for this is to add on to the acceptance test in #17272 to

  1. Kill a node
  2. Decommission it while it's down
  3. Bring it back up and wait for decommissioning to finish

Without this patch, it gets stuck because the replicas don't get GC'ed. With this patch, it finishes quickly. Want me to write the test and add it on top of #17272?

@a-robinson a-robinson requested a review from tbg July 29, 2017 18:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member

tbg commented Jul 29, 2017

:lgtm_strong: & thanks! Yep, feel free to add a patch to #17272. I don't have any local changes and will hold off.


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@a-robinson a-robinson merged commit 386e566 into cockroachdb:master Jul 30, 2017
a-robinson added a commit to tbg/cockroach that referenced this pull request Aug 1, 2017
tbg pushed a commit to tbg/cockroach that referenced this pull request Aug 3, 2017
tbg pushed a commit to tbg/cockroach that referenced this pull request Aug 4, 2017
tbg pushed a commit to tbg/cockroach that referenced this pull request Aug 4, 2017
@a-robinson a-robinson deleted the decomdormant branch May 18, 2018 20:30
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