Skip to content

spanconfig: capture context error in reconciliation job resumer#167477

Merged
trunk-io[bot] merged 1 commit intocockroachdb:masterfrom
bghal:oncall-reconciliation-capture-context
Apr 10, 2026
Merged

spanconfig: capture context error in reconciliation job resumer#167477
trunk-io[bot] merged 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

😎 Merged successfully - details.

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

@spilchen spilchen left a comment

Choose a reason for hiding this comment

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

:lgtm:

@spilchen reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on bghal).

@bghal
Copy link
Copy Markdown
Contributor Author

bghal commented Apr 10, 2026

/trunk merge

@trunk-io trunk-io Bot merged commit c697963 into cockroachdb:master Apr 10, 2026
37 of 38 checks passed
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.

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

3 participants