KEMBAR78
feat!: remove a dummy WriterClosedException by yirutang · Pull Request #1726 · googleapis/java-bigquerystorage · GitHub
Skip to content

Conversation

@yirutang
Copy link
Contributor

@yirutang yirutang commented Aug 1, 2022

Remove a dummy WriterClosedException. Because we now have StreamWriterClosedException, remove the WriterClosedException to avoid confusion.

The WriterClosedException is used as a place holder when we cleanup Inflight request. In call cases, we should have gotten a not null connectionFinalStatus in WaitForDoneCallback:
https://github.com/googleapis/java-bigquerystorage/blob/main/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java#L533

So no user should be able to get this exception.

BEGIN_COMMIT_OVERRIDE
feat: remove a dummy WriterClosedException
END_COMMIT_OVERRIDE

@yirutang yirutang requested a review from a team August 1, 2022 23:06
@yirutang yirutang requested a review from a team as a code owner August 1, 2022 23:06
@yirutang yirutang requested a review from Neenu1995 August 1, 2022 23:06
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Aug 1, 2022
@yirutang yirutang changed the title feat! remove a dummy WriterClosedException feat!: remove a dummy WriterClosedException 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 gnanda August 1, 2022 23:15
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
Copy link
Contributor

@shollyman shollyman left a comment

Choose a reason for hiding this comment

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

I think you can revert the README changes, otherwise LGTM.

@shollyman shollyman added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 4, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 4, 2022
@yirutang yirutang merged commit 0b3018d into googleapis:main Aug 4, 2022
@Neenu1995 Neenu1995 added the release-please:force-run To run release-please label Aug 5, 2022
@release-please release-please bot removed the release-please:force-run To run release-please label Aug 5, 2022
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: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants