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 — BigQuery insertAll always retries operation · Issue #3321 · googleapis/google-cloud-java

BigQuery insertAll always retries operation #3321

New issue
Copy link
New issue
Copy link
Closed
#4165
Closed
BigQuery insertAll always retries operation#3321
#4165
Copy link
Assignees
andreamlinJesseLovelace
Labels
🚨 criticalP0 critical issue. Requires immediate fixapi: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@neuromantik33
neuromantik33
opened on May 29, 2018
Issue body actions

Hi. First time reporter here.
I wanted to report a small but perhaps inconvenient bug in BigQuery, specifically regarding streaming inserts using an InsertAllRequest. It seems for some reason unknown to me that inserts are retried using the client's RetrySettings whenever row ids are supplied for deduplication.
When the current implementation always attempts a retry (which I discovered during these odd retry errors) due to the fact that Lists.transform() is strictly lazy.
Anyhow the fix is minor and I corrected it on my branch but I'm unsure how to write the necessary tests in order to validate my claim. My commit is here: neuromantik33@984b5bb, and after proper review I can submit a pull request.

Thanks in advance for any feedback.

Activity

  1. yihanzhen
    added
    type: questionRequest for information or clarification. Not an issue.
    api: bigqueryIssues related to the BigQuery API.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 30, 2018
  2. andreamlin commented on Jun 4, 2018

    @andreamlin
    andreamlin
    on Jun 4, 2018
    Contributor
    More actions

    Hi @neuromantik33,

    Thanks for catching this issue! Would you mind turning your commit into a pull request? For testing, one option could be to add a unit test to BigQueryImplTest.java, set a spy on the BigQueryOptions options (see line 274), and assert that getRetrySettings() is called on that spy object when BigQueryImpl.insertAll is run or not run.

  3. andreamlin
    self-assigned this
    on Jun 5, 2018
  4. JustinBeckwith
    assigned
    JesseLovelace
    on Oct 17, 2018
  5. JustinBeckwith
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    on Nov 25, 2018
  6. sduskis
    removed
    🚨 criticalP0 critical issue. Requires immediate fix
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Dec 3, 2018
  7. ajaaym
    added a commit that references this issue on Dec 3, 2018

    fix googleapis#3321 BigQuery insertAll always retries operation

    This issue will close once commit 79705d7 is merged into the 'master' branch.
    79705d7
  8. sduskis
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Dec 4, 2018
  9. JustinBeckwith
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    on Dec 4, 2018
  10. ajaaym
    closed this as completedin #4165on Dec 4, 2018
  11. ajaaym
    added a commit that references this issue on Dec 4, 2018

    BigQuery: insertAll always retries operation (#4165)

    This issue will close once commit 174e62d is merged into the 'main' branch.
    174e62d
  12. snehashah16
    added a commit that references this issue on Feb 3, 2019

    Merge request (#4436)

    This issue will close once commit 47c840e is merged into the 'main' branch.
    47c840e
  13. suztomo
    added a commit that references this issue on Mar 9, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-bigtable…

    05804ae
  14. chingor13
    added 4 commits that reference this issue on Mar 24, 2026

    feat: Update Gapic-Generator to generate libraries using `java.time` …

    82bc610

    chore(main): release 2.50.0 (#3327)

    97dfec7

    refactor: add internal data structures for transactional connection s…

    27e55f2

    chore: Update generation configuration at Sat Oct 4 02:23:16 UTC 2025 (…

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

Metadata

Metadata

Assignees

  • @JesseLovelace
    JesseLovelace
  • @andreamlin
    andreamlin

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.