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!: remove a dummy WriterClosedException #1726

Merged
merged 4 commits into from
Aug 4, 2022
Merged

feat!: remove a dummy WriterClosedException #1726

merged 4 commits into from
Aug 4, 2022

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.

None yet

4 participants