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

roachtest: ensure c2c/shutdown tests start destination tenant with online node #110334

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

msbutler
Copy link
Collaborator

@msbutler msbutler commented Sep 11, 2023

An earlier patch #110033 introduced a change that starts the destination tenant from any destination node, but did not consider if that node was shut down. If the driver attempts to connect to the shut down node, the roachtest fails. This patch ensures that the tenant is started on a node that will be online.

Fixes #110317

Release note: None

@msbutler msbutler self-assigned this Sep 11, 2023
@msbutler msbutler requested a review from a team as a code owner September 11, 2023 13:17
@msbutler msbutler requested review from rachitgsrivastava and DarrylWong and removed request for a team, rachitgsrivastava and DarrylWong September 11, 2023 13:17
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@msbutler msbutler changed the title roachtest: ensure c2c/shutdown tests start destination tenant with on… roachtest: ensure c2c/shutdown tests start destination tenant with online node Sep 11, 2023
@msbutler msbutler marked this pull request as draft September 11, 2023 13:27
@msbutler
Copy link
Collaborator Author

there's a bug here. lemme fix.

…line node

An earlier patch cockroachdb#110033 introduced a change that starts the destination tenant
from any destination node, but did not consider if that node was shut down.  If
the driver attempts to connect to the shut down node, the roachtest fails. This
patch ensures that the tenant is started on a node that will be online.

Fixes cockroachdb#110317

Release note: None
@msbutler msbutler force-pushed the butler-c2c-deflake-start-tenant branch from e14ee50 to f951f56 Compare September 11, 2023 14:04
@msbutler msbutler marked this pull request as ready for review September 11, 2023 14:04
@msbutler
Copy link
Collaborator Author

ok, PTAL!

@msbutler
Copy link
Collaborator Author

unrelated flake

@msbutler
Copy link
Collaborator Author

TFTR!

bors r=stevendanna

@craig craig bot merged commit 40dd180 into cockroachdb:master Sep 12, 2023
8 checks passed
@craig
Copy link
Contributor

craig bot commented Sep 12, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

roachtest: c2c/shutdown/dest/coordinator failed
3 participants