Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: feature parity for veneer attempt timeouts #3027

Merged
merged 4 commits into from
Jun 25, 2021

Conversation

igorbernstein2
Copy link
Collaborator

@igorbernstein2 igorbernstein2 commented Jun 22, 2021

  • add attempt timeouts for reads. java-bigtable doesnt directly support per attempt timeouts for ReadRows. This PR works around it by setting a timeout in ApiCallContext for every call. Also, it ensures that the overall timeout is still respected after customized the attempt timeout
  • re-add the ability to "disable" timeouts. java-bigtable-hbase has a USE_TIMEOUTS config, which effectively ignores user configured deadlines and forces all by scans to use a 6 minute timeout. This config is deprecated and will be removed. But during the transition to veneer, we should keep it

Depends on #3028

@igorbernstein2 igorbernstein2 requested a review from a team as a code owner June 22, 2021 18:12
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 22, 2021
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the googleapis/java-bigtable-hbase API. label Jun 22, 2021
* add attempt timeouts for reads. java-bigtable doesnt directly support per attempt timeouts for ReadRows. This PR works around it by setting a timeout in ApiCallContext for every call. Also, it ensures that the overall timeout is still respected after customized the attempt timeout
* re-add the ability to "disable" timeouts. java-bigtable-hbase has a USE_TIMEOUTS config, which effectively ignores user configured deadlines and forces all by scans to use a 6 minute timeout. This config is deprecated and will be removed. But during the transition to veneer, we should keep it
@igorbernstein2 igorbernstein2 requested a review from a team as a code owner June 23, 2021 15:39
Copy link
Contributor

@mutianf mutianf left a comment

Choose a reason for hiding this comment

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

lgtm

@igorbernstein2 igorbernstein2 merged commit 04faf79 into googleapis:master Jun 25, 2021
@igorbernstein2 igorbernstein2 deleted the attempt-timeouts branch June 25, 2021 18:37
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 googleapis/java-bigtable-hbase API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants