Skip to content

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

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20230404-stopper-quiesce
Apr 4, 2023
Merged

server,util: avoid retry forever during startup upon premature shutdown#100583
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20230404-stopper-quiesce

Conversation

@knz
Copy link
Copy Markdown
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 a team and aliher1911 April 4, 2023 12:27
@knz knz requested review from a team as code owners April 4, 2023 12:27
@blathers-crl
Copy link
Copy Markdown

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
Copy Markdown
Member

This change is Reviewable

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Apr 4, 2023

bors r=aliher1911

@craig
Copy link
Copy Markdown
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