Skip to content

fix(bigquery): limit ssl error workaround to insert_rows - #18295

Open
daniel-sanche wants to merge 5 commits into
mainfrom
fix_bigquery_retries
Open

daniel-sanche wants to merge 5 commits into
mainfrom
fix_bigquery_retries

Conversation

@daniel-sanche

Copy link
Copy Markdown
Contributor

Reduces the scope of #17489. Previously, all SSLErrors were marked as non-retryable. Now, this is only the case for insert_rows requests

Fixes #18178

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new default retry configuration specifically for streaming inserts, DEFAULT_INSERT_ROWS_RETRY, which avoids retrying on SSLError (often indicating schema mismatches in streaming inserts). Meanwhile, the standard DEFAULT_RETRY is updated to allow retrying on SSLError for other API calls. The insert_rows_json method is updated to use this new retry configuration by default and to properly handle wrapped RetryError exceptions. Corresponding unit and system tests have been added and updated. There are no review comments, so I have no feedback to provide.

@daniel-sanche
daniel-sanche marked this pull request as ready for review September 4, 2026 21:19
@daniel-sanche
daniel-sanche requested review from a team as code owners September 4, 2026 21:19
@daniel-sanche
daniel-sanche requested review from shuoweil and removed request for a team September 4, 2026 21:19
@daniel-sanche daniel-sanche added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 20, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 27, 2026
daniel-sanche and others added 2 commits October 29, 2026 17:25
Removed default retry assignment for insert rows.
@daniel-sanche
daniel-sanche requested review from a team as code owners October 30, 2026 22:38
@snippet-bot

snippet-bot Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

…ry in system test; document DEFAULT_INSERT_ROWS_RETRY
@daniel-sanche daniel-sanche added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 31, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 31, 2026

This branch has not been deployed

No deployments
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.

bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resets

2 participants