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

feat: Add CANCELLED to StreamWriter retryable error code #1725

Merged
merged 5 commits into from
Aug 1, 2022
Merged

feat: Add CANCELLED to StreamWriter retryable error code #1725

merged 5 commits into from
Aug 1, 2022

Conversation

yirutang
Copy link
Contributor

@yirutang yirutang commented Aug 1, 2022

Customer hitting a general grpc channel cancelled error due to server side cancel the channel:
throwable com.google.cloud.bigquery.storage.v1.Exceptions$StreamWriterClosedException: FAILED_PRECONDITION: Connection is closed due to com.google.api.gax.rpc.CancelledException: io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.

Since we have user_closed flag to guard writer close, it is fine to retry on Cancelled error, so user side saw less error.

@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Aug 1, 2022

🤖 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 size: xs Pull request size is extra small. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Aug 1, 2022
@yirutang yirutang requested a review from gnanda August 1, 2022 20:07
@yirutang yirutang marked this pull request as ready for review August 1, 2022 20:08
@yirutang yirutang requested a review from a team August 1, 2022 20:08
@yirutang yirutang changed the title feat:Add CANCELLED to StreamWriter retryable error code feat: Add CANCELLED to StreamWriter retryable error code Aug 1, 2022
@yirutang yirutang added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@yirutang yirutang added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@yirutang yirutang added kokoro:run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Aug 1, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@yirutang yirutang requested a review from a team as a code owner August 1, 2022 20:28
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
@yirutang yirutang merged commit 6d4c004 into googleapis:main Aug 1, 2022
gcf-merge-on-green bot pushed a commit that referenced this pull request Aug 5, 2022
🤖 I have created a release *beep* *boop*
---


## [2.19.0](v2.18.0...v2.19.0) (2022-08-05)


### Features

* Add CANCELLED to StreamWriter retryable error code ([#1725](#1725)) ([6d4c004](6d4c004))
* remove a dummy WriterClosedException ([0b3018d](0b3018d))


### Bug Fixes

* Switch integration test onto v1 write api ([#1731](#1731)) ([2ccb96e](2ccb96e))


### Documentation

* **owlbot-java:** explaining why not using formatter in pom.xml ([#1511](#1511)) ([#1723](#1723)) ([eabfa93](eabfa93)), closes [#1502](#1502)


### Dependencies

* update arrow.version to v9 (major) ([#1728](#1728)) ([3694243](3694243))
* update dependency com.google.cloud:google-cloud-bigquery to v2.14.1 ([#1721](#1721)) ([e27a9e9](e27a9e9))
* update dependency com.google.cloud:google-cloud-bigquery to v2.14.2 ([#1734](#1734)) ([0115e98](0115e98))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#1718](#1718)) ([940c613](940c613))
* update dependency org.apache.arrow:arrow-memory-netty to v9 ([#1729](#1729)) ([297ee99](297ee99))
* update dependency org.apache.arrow:arrow-vector to v9 ([#1730](#1730)) ([6010b42](6010b42))
* update dependency org.apache.avro:avro to v1.11.1 ([#1719](#1719)) ([754296f](754296f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants