GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Streaming inserts are not retried when a timeout occurs · Issue #779 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Streaming inserts are not retried when a timeout occurs #779

Copy link
Copy link
Closed
Closed
Streaming inserts are not retried when a timeout occurs#779
Copy link
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.

Description

@quentin-sommer
quentin-sommer
opened on Jul 19, 2021
Issue body actions

Expected behaviour: streaming inserts are retried on timeout

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Jul 19, 2021
  2. tswast
    added
    type: questionRequest for information or clarification. Not an issue.
    on Jul 19, 2021
  3. tswast commented on Jul 19, 2021

    @tswast
    tswast
    on Jul 19, 2021
    Contributor
    More actions

    @quentin-sommer Can you share some more context? A stack trace and a code sample reproducing this issue would be very helpful in determining if modifying the retry behavior is the right approach.

  4. quentin-sommer commented on Jul 19, 2021

    @quentin-sommer
    quentin-sommer
    on Jul 19, 2021
    Author
    More actions

    Hi,
    Unfortunately since the error is a timeout returned by the BQ service I can't really reproduce it. I've seen it happen once in production in June but I don't have access to the logs anymore.
    I'm basing the PR on this documentation. What do you think about it?

  5. tswast commented on Aug 24, 2021

    @tswast
    tswast
    on Aug 24, 2021
    Contributor
    More actions

    I noticed in the implementation of #896 that we currently aren't retrying client-side timeouts, but unless you explicitly set a timeout I don't think this 100% solves the situation.

    I also recently learned about the X-Server-Timeout header. It might be possible to set this header value to something small enough that we're able to reproduce the server-side error you saw.

  6. gcf-merge-on-green
    added a commit that references this issue on Aug 25, 2021

    fix: populate default `timeout` and retry after client-side timeout (#…

    b508809
  7. tswast commented on Aug 30, 2021

    @tswast
    tswast
    on Aug 30, 2021
    Contributor
    More actions

    If this timeout was actually a client-side timeout, this was fixed in #896. I'll close this for now, but if you do see the issue again and have more information so we can better identify the circumstances (or better yet reproduce it), please let us know.

    Reacted by Quentin Sommer
  8. tswast
    closed this as completedon Aug 30, 2021
  9. tswast
    added a commit that references this issue on Sep 9, 2021

    chore: sync v3 branch with main (#947)

    2cb1c21
  10. parthea
    added a commit that references this issue on Mar 6, 2026

    fix: populate default `timeout` and retry after client-side timeout (#…

    4745e0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.