roachtest: fix decommission/randomize#55809
Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom Oct 27, 2020
Merged
Conversation
Member
Member
Author
|
Draft because I stressed this locally and it's still whack. Probably will be able to spot the problem via a self-review. |
Member
Author
|
The problem is (I assume) that the test wants to see the decommissioned nodes in the |
The test could end up using fully decommissioned nodes for cli commands, which does not work as of cockroachdb#55286. Additionally, decommissioned nodes now become non-live after a short while, so various cli output checks had to be adjusted. Fixes cockroachdb#55581. Release note: None
Member
Author
|
Finally good to go, got 50 consecutive iterations in. |
irfansharif
approved these changes
Oct 27, 2020
| // Partially decommission then recommission n1, from another | ||
| // random node. Run a couple of status checks while doing so. | ||
| // We hard-code n1 to guard against the hypothetical case in which | ||
| // targetNode has no replicas (yet) to begin with, which would make |
Contributor
There was a problem hiding this comment.
I wonder how long till we'll want to to support a way for operators to only mark a node as decommissioning (and not fully decommissioned). Then we'll have come full circle.
Member
Author
|
TFTR! bors r=irfansharif |
Contributor
|
Build failed (retrying...): |
Contributor
|
Build succeeded: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The test could end up using fully decommissioned nodes for cli commands,
which does not work as of #55286.
Fixes #55581.
Release note: None