Skip to content

spanconfig: capture context error in reconciliation job resumer#167477

Open
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:oncall-reconciliation-capture-context
Open

spanconfig: capture context error in reconciliation job resumer#167477
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:oncall-reconciliation-capture-context

Conversation

@bghal
Copy link
Copy Markdown
Contributor

@bghal bghal commented Apr 3, 2026

The retrier can break on a context cancellation which is not propagated
out. This change captures those errors and exposes that context error.

Epic: none
Fixes: #167061

Release note: None

@bghal bghal requested a review from a team as a code owner April 3, 2026 15:00
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io bot commented Apr 3, 2026

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Apr 3, 2026

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

The retrier can break on a context cancellation which is not propagated
out. This change captures those errors and exposes that context error.

Epic: none
Fixes: cockroachdb#167061

Release note: None
@bghal bghal force-pushed the oncall-reconciliation-capture-context branch from d553ddb to 4c2032f Compare April 3, 2026 15:17
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.

spanconfig: reconciliation job failure loses error cause when lastErr is nil

2 participants