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 — fix: fix retry info algorithm setting by mutianf · Pull Request #2562 · googleapis/java-bigtable

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

Conversation

@mutianf

@mutianf mutianf commented Apr 23, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fix a bug in RetryInfo retry algorithm.

In the following scenario: error retry delay = 1, error retry delay = 2, error with no retry delay. Currently the client did not set retry delay duration which is default to 0 for the first attempt. This will cause all the subsequent attempts from the same error to not have any retry delay if the retry delay is not present.

The fix sets retry delay duration to be the retry delay from the last attempt. We'll decide if we want to change this behavior later.

Conformance test currently assumes that the client will reset the retry delay. So also disabling the conformance test for now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mutianf
mutianf requested review from a team April 23, 2025 20:27
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Apr 23, 2025
@mutianf
mutianf marked this pull request as draft April 23, 2025 20:28
@mutianf
mutianf marked this pull request as ready for review April 24, 2025 16:29
@mutianf
mutianf requested a review from a team April 24, 2025 16:29
andre-sampaio
andre-sampaio reviewed Apr 24, 2025
View reviewed changes
Comment thread tpc-test/src/main/java/Main.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mutianf
fix: fix retry info algorithm setting
6ab0cf4
@mutianf
mutianf force-pushed the fix branch from 848ace9 to 6ab0cf4 Compare April 24, 2025 16:43
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. and removed size: xl Pull request size is extra large. labels Apr 24, 2025
@andre-sampaio

andre-sampaio commented Apr 24, 2025

Copy link
Copy Markdown
Contributor

Is it feasible to add a test for this scenario? e.g. the actual behaviour of the retry when getting error retry delay = 1 -> error retry delay = 2 -> error with no retry delay

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mutianf

mutianf commented Apr 24, 2025

Copy link
Copy Markdown
Contributor Author

Is it feasible to add a test for this scenario? e.g. the actual behaviour of the retry when getting error retry delay = 1 -> error retry delay = 2 -> error with no retry delay

Yeah, in the conformance test once we decide what to do!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andre-sampaio
andre-sampaio approved these changes Apr 24, 2025
View reviewed changes
@andre-sampaio

andre-sampaio commented Apr 24, 2025

Copy link
Copy Markdown
Contributor

lgtm!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mutianf and others added 5 commits April 25, 2025 09:04
@mutianf
Merge branch 'main' into fix
3ebb3f7
@mutianf
Merge branch 'main' into fix
e015fd6
@andre-sampaio
Merge branch 'main' into fix
00c60e6
@mutianf
Merge branch 'fix' of github.com:mutianf/java-bigtable into fix
6d11198
@mutianf
fix format
9588e98
@mutianf mutianf added the automerge Merge the pull request once unit tests and other checks pass. label Apr 28, 2025
@mutianf
Merge branch 'main' into fix
d031df6
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit c424ccb into googleapis:main Apr 28, 2025
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 28, 2025
@release-please release-please Bot mentioned this pull request Apr 28, 2025
chore(main): release 2.58.0 #2564
Merged
@mutianf
mutianf deleted the fix branch April 28, 2025 16:34
gcf-merge-on-green Bot pushed a commit that referenced this pull request Apr 28, 2025
@release-please
chore(main): release 2.58.0 (#2564)
0af7d03
🤖 I have created a release *beep* *boop*
---


## [2.58.0](https://togithub.com/googleapis/java-bigtable/compare/v2.57.3...v2.58.0) (2025-04-28)


### Features

* Add deletion_protection support for LVs ([43c97a3](https://togithub.com/googleapis/java-bigtable/commit/43c97a3f430ee4ee90d46b3685ae50f13949831c))
* **bigtable:** Add integration tests for Materialized/Logical Views ([#2518](https://togithub.com/googleapis/java-bigtable/issues/2518)) ([4d3a7e6](https://togithub.com/googleapis/java-bigtable/commit/4d3a7e675b60ba6a3225a45b7463edff279f9bc4))


### Bug Fixes

* **deps:** Update the Java code generator (gapic-generator-java) to 2.56.2 ([43c97a3](https://togithub.com/googleapis/java-bigtable/commit/43c97a3f430ee4ee90d46b3685ae50f13949831c))
* Fix retry info algorithm setting ([#2562](https://togithub.com/googleapis/java-bigtable/issues/2562)) ([c424ccb](https://togithub.com/googleapis/java-bigtable/commit/c424ccba72a191609dc726ed67d03f0d330015fc))
* Use universe domain when creating the monitoring client ([#2570](https://togithub.com/googleapis/java-bigtable/issues/2570)) ([3b51e12](https://togithub.com/googleapis/java-bigtable/commit/3b51e1206a4f83078625705ed8d8a899839af1a9))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
@release-please release-please Bot mentioned this pull request Dec 15, 2025
chore(protobuf-4.x-rc): release 2.71.0-rc1 #2726
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@andre-sampaio andre-sampaio andre-sampaio approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mutianf @andre-sampaio
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.