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 — ExponentialRetryAlgorithm should use the min of initialRpc and total timeout on the first attempt · Issue #2643 · googleapis/sdk-platform-java

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

ExponentialRetryAlgorithm should use the min of initialRpc and total timeout on the first attempt #2643

Copy link
Copy link
Closed
#2641
Closed
ExponentialRetryAlgorithm should use the min of initialRpc and total timeout on the first attempt#2643
#2641
Copy link
Labels
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

@mutianf
mutianf
opened on Apr 16, 2024
Issue body actions

Currently the first ever RPC timeout is only override in Callables.retrying when retries are disabled: https://github.com/googleapis/sdk-platform-java/blob/main/gax-java/gax/src/main/java/com/google/api/gax/rpc/Callables.java#L103. If someone only configured a total timeout and it's smaller than the default initialRpcTimeout, their first ever RPC won't respect the overall deadline, which could cause the operation takes longer than desired.

Activity

  1. diegomarquezp
    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.
    on Apr 17, 2024
  2. lqiu96
    closed this as completedin #2641on Apr 18, 2024
  3. lqiu96
    added a commit that references this issue on Apr 18, 2024

    fix: first attempt should use the min of RPC timeout and total timeout (

    This issue will close once commit 0349232 is merged into the 'main' branch.
    0349232
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

    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.