Skip to content

fix: respect deadlines for column family operations #687

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

Conversation

igorbernstein2
Copy link
Contributor

This is a very small fix to specifically address a blocker for a customer. This does not try to address the wider issue of timeouts.

The root of the problem is described here:
googleapis/gapic-generator-python#1477

The tldr is that the default timeouts in base.py are applied by default across all of our RPCs. The only exceptions are ReadRows and MutateRows (and after this PR column operations).

Fixing the broader problem will require coordination with:
googleapis/python-api-core#462

We also need to to flesh out a design for overriding deadlines per method and/or rpc.

…n families

As a sideeffect this also fixes a bug where the default deadlines were not applied.
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/python-bigtable API. labels Oct 20, 2022
@igorbernstein2 igorbernstein2 marked this pull request as ready for review October 20, 2022 19:16
@igorbernstein2 igorbernstein2 requested review from a team as code owners October 20, 2022 19:16
@igorbernstein2 igorbernstein2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 20, 2022
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 20, 2022
@igorbernstein2 igorbernstein2 merged commit df2e64a into googleapis:main Oct 20, 2022
@igorbernstein2 igorbernstein2 deleted the overrideable-column-family-deadline branch October 20, 2022 20:31
gcf-merge-on-green bot pushed a commit that referenced this pull request Oct 20, 2022
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/python-bigtable API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants