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

fix: retry PDML on EOS on DATA error #5238

Merged
merged 2 commits into from
Sep 7, 2020

Conversation

skuruppu
Copy link
Contributor

@skuruppu skuruppu commented Aug 7, 2020

For long-running PDML queries (>= 30mins), there's a possibility that the gRPC connection is terminated with an error "Received unexpected EOS on DATA frame from server".

We now retry the same transaction on this error.

Fixes #5209

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 7, 2020
For long-running PDML queries (>= 30mins), there's a possibility that
the gRPC connection is terminated with an error "Received unexpected EOS
on DATA frame from server".

We now retry the same transaction on this error.

Fixes googleapis#5209
@skuruppu skuruppu marked this pull request as ready for review September 2, 2020 04:13
@skuruppu skuruppu requested a review from a team as a code owner September 2, 2020 04:13
@skuruppu skuruppu requested a review from jskeet September 2, 2020 04:13
@skuruppu
Copy link
Contributor Author

skuruppu commented Sep 2, 2020

Thanks for the quick review @jskeet.

@thiagotnunes are you able to checkout out this branch and run your test? You can use the Docker container by following the instructions here. Happy to chat more about it tomorrow.

If you don't have the cycles, all good as well. I will try to do it next week.

@skuruppu skuruppu added the api: spanner Issues related to the Spanner API. label Sep 3, 2020
@thiagotnunes
Copy link

@skuruppu the test completed successfully, thanks for the fix!

@skuruppu
Copy link
Contributor Author

skuruppu commented Sep 7, 2020

Woohoo thanks for verifying the fix @thiagotnunes 🙇‍♀️

@skuruppu skuruppu merged commit 0272d4e into googleapis:master Sep 7, 2020
jskeet added a commit to jskeet/google-cloud-dotnet that referenced this pull request Sep 10, 2020
Changes since 3.1.0:

- [Commit 0272d4e](googleapis@0272d4e): fix: retry PDML on EOS on DATA error ([issue 5238](googleapis#5238))
- [Commit b43315c](googleapis@b43315c): feat: add NUMERIC support ([issue 5057](googleapis#5057))
jskeet added a commit that referenced this pull request Sep 10, 2020
Changes since 3.1.0:

- [Commit 0272d4e](0272d4e): fix: retry PDML on EOS on DATA error ([issue 5238](#5238))
- [Commit b43315c](b43315c): feat: add NUMERIC support ([issue 5057](#5057))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spanner-client: Retry PDML on "Received unexpected EOS on DATA frame from server"
3 participants