-
Notifications
You must be signed in to change notification settings - Fork 84
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: temp workaround for omg/48020 #1521
Conversation
* @param reconnectOnStuck | ||
* @return Builder | ||
*/ | ||
public Builder setReconnectOnStuck(boolean reconnectOnStuck) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to something less pleasant so no one enables it by accident? For example if the omg numbers are public, can we embed that in the name of the method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O yeah. how about ReconnectAfter10M?
all errors should fail.
...e/src/test/java/com/google/cloud/bigquery/storage/v1/it/ITBigQueryWriteManualClientTest.java
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- ## [2.9.0](v2.8.4...v2.9.0) (2022-02-08) ### Features * add a indicator of how much time a request is waiting for inflight limit ([#1514](#1514)) ([54874be](54874be)) * temp workaround for omg/48020 ([#1521](#1521)) ([ff28f65](ff28f65)) ### Bug Fixes * add a DATE type e2e test ([#1511](#1511)) ([5eaf38e](5eaf38e)) ### Documentation * **tutorials:** Add IT to JsonWriteDefaultStream tutorial ([#1522](#1522)) ([9fd7aca](9fd7aca)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This should only be used by customer who is affected by omg/48020 (connection stuck after 10MB) using JsonWriter directly, before fix finished rolling out on Friday 2/11. It can be enabled by calling JsonWriter.setReconnectOnStuck(true).
The write performance will be impacted by this change, but it can work around the stuckness.