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

server,util: avoid retry forever during startup upon premature shutdown #100583

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

knz
Copy link
Contributor

@knz knz commented Apr 4, 2023

Fixes #105141.
Needed for #99958.
Probably helps with #100578.

We need to have the RunIdempotentWithRetry calls abort if the surrounding server shuts down prematurely. This happens most frequently in tests that fail for another reason; and also in multitenancy tests with multiple tenant server side-by-side.

Release note: None
Epic: CRDB-28893

We need to have the `RunIdempotentWithRetry` calls abort if the
surrounding server shuts down prematurely. This happens most
frequently in tests that fail for another reason; and also
in multitenancy tests with multiple tenant server side-by-side.

Release note: None
@knz knz requested review from aliher1911 and a team April 4, 2023 12:27
@knz knz requested review from a team as code owners April 4, 2023 12:27
@blathers-crl
Copy link

blathers-crl bot commented Apr 4, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz
Copy link
Contributor Author

knz commented Apr 4, 2023

bors r=aliher1911

@craig
Copy link
Contributor

craig bot commented Apr 4, 2023

Build succeeded:

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.

server: avoid retry forever during startup upon premature shutdown
3 participants