Skip to content

Conversation

@bhshkh
Copy link
Contributor

@bhshkh bhshkh commented Apr 4, 2025

b/368356092

  1. Used information from RetryInfo, if available, to retry requests. When server stop sending RetryInfo, use initial backoff. This is similar to grpc design

https://github.com/grpc/proposal/blob/90462b53883a0455157f9a0fd0a76b36fa567acc/A6-client-retries.md?plain=1#L209

  1. User can disable the usage of RetryInfo using DISABLE_RETRY_INFO environment variable

@product-auto-label product-auto-label bot added the api: bigtable Issues related to the Bigtable API. label Apr 4, 2025
Copy link
Contributor

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

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

just a few drive by comments

@bhshkh bhshkh force-pushed the feature/cbt-retry-info branch from 6704f90 to 74cc8ad Compare April 29, 2025 22:11
@bhshkh bhshkh marked this pull request as ready for review April 30, 2025 08:33
@bhshkh bhshkh requested review from a team as code owners April 30, 2025 08:33
@bhshkh bhshkh requested a review from igorbernstein2 April 30, 2025 08:40
@bhshkh bhshkh enabled auto-merge (squash) April 30, 2025 20:34
@bhshkh bhshkh force-pushed the feature/cbt-retry-info branch from 429b8ff to 7508529 Compare May 1, 2025 05:00
@bhshkh bhshkh force-pushed the feature/cbt-retry-info branch from 7508529 to 2a9343f Compare May 1, 2025 05:05
Comment on lines 208 to 209
defaultRetryOption = newRetryOption(clientOnlyRetry, false /* disableRetryInfo */)
defaultExecuteQueryRetryOption = newRetryOption(clientOnlyExecuteQueryRetry, false /* disableRetryInfo */)
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like disableRetryInfo is false here. Does this mean these two comments are incorrect?

Copy link
Contributor Author

@bhshkh bhshkh May 5, 2025

Choose a reason for hiding this comment

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

The comment is just to denote the argument name in function. I was trying to do something similar to https://engdoc.corp.google.com/eng/doc/devguide/cpp/styleguide.md?cl=head#Function_Argument_Comments

removed now

@bhshkh bhshkh requested a review from gkevinzheng May 5, 2025 18:55
@bhshkh bhshkh merged commit 0510711 into googleapis:main May 13, 2025
10 checks passed
@bhshkh bhshkh deleted the feature/cbt-retry-info branch May 21, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants