KEMBAR78
fix: remove FAILED_PRECONDITION from connection retry code by yirutang · Pull Request #2214 · googleapis/java-bigquerystorage · GitHub
Skip to content

Conversation

@yirutang
Copy link
Contributor

After the backend change here:
https://critique.corp.google.com/cl/483521407/depot/google3/cloud/helix/vortex/frontend/base/vortex_error_util.cc

We will filter out all random backend FAILED_PRECONDITION except for the case of multiple client trying to attach to the same exclusive stream case.

Dataflow side doesn't want this to be retried, they would prefer to just recreate the stream in case of a failure.

The algorithm of the race case is that the new one will always succeed, so in this case, it seems the old one shouldn't retry anyway (otherwise there could be more races).

@yirutang yirutang requested a review from a team as a code owner July 27, 2023 19:49
@yirutang yirutang requested a review from farhan0102 July 27, 2023 19:49
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Jul 27, 2023

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jul 27, 2023
@yirutang yirutang requested a review from GaoleMeng July 27, 2023 19:49
@product-auto-label product-auto-label bot added the api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. label Jul 27, 2023
@yirutang yirutang changed the title Remove FAILED_PRECONDITION from connection retry code. fix: Remove FAILED_PRECONDITION from connection retry code. Jul 27, 2023
@yirutang yirutang changed the title fix: Remove FAILED_PRECONDITION from connection retry code. fix: remove FAILED_PRECONDITION from connection retry code. Jul 27, 2023
@yirutang yirutang changed the title fix: remove FAILED_PRECONDITION from connection retry code. fix: remove FAILED_PRECONDITION from connection retry code Jul 27, 2023
@yirutang yirutang added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 28, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 28, 2023
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner July 28, 2023 18:22
@yirutang yirutang merged commit b8e8a24 into googleapis:main Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants