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

roachprod: set COCKROACH_CONNECT_TIMEOUT to 1200s during start #100182

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

msbutler
Copy link
Collaborator

Previously the sql cmds invoked within roachprod start had an infinite timeout. This patch reduces the timeout to 10 minutes -- if a node can't start within 10 minutes because a roachprod client can't connect to the new crdb node, there's likely a problem.

We decided to make this change after a roachtest with a 10 hr time out hung for 10 hours due to an internal start cmd. See #99280.

Informs #99280

Release note: none

Previously the sql cmds invoked within roachprod start had an infinite timeout.
This patch reduces the timeout to 10 minutes -- if a node can't start within 10
minutes because a roachprod client can't connect to the new crdb node, there's
likely a problem.

We decided to make this change after a roachtest with a 10 hr time out hung for
10 hours due to an internal start cmd. See cockroachdb#99280.

Informs cockroachdb#99280

Release note: none
@msbutler msbutler added the T-testeng TestEng Team label Mar 30, 2023
@msbutler msbutler requested review from jbowens and renatolabs March 30, 2023 18:10
@msbutler msbutler self-assigned this Mar 30, 2023
@msbutler msbutler requested a review from a team as a code owner March 30, 2023 18:10
@msbutler msbutler requested review from srosenberg and removed request for a team March 30, 2023 18:10
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@jbowens jbowens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Nice, thanks!

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @renatolabs and @srosenberg)

Copy link
Contributor

@renatolabs renatolabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@msbutler
Copy link
Collaborator Author

TFTRs!!

bors r=renatolabs, jbowens

@msbutler msbutler added the backport-23.1.x Flags PRs that need to be backported to 23.1 label Mar 30, 2023
@craig
Copy link
Contributor

craig bot commented Mar 30, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1 T-testeng TestEng Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants