Skip to content

Commit 3b5cdbe

Browse files
authored
fix: Make EOS Matching more robust (#1128)
fix: Make EOS Matching more robust Clients are seeing a different variant now: Received unexpected EOS on empty DATA frame from server Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigquerystorage/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> ☕️
1 parent aea80e9 commit 3b5cdbe

File tree

1 file changed

+1
-1
lines changed
  • google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/util

1 file changed

+1
-1
lines changed

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/util/Errors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static boolean isRetryableInternalStatus(Status status) {
3131
String description = status.getDescription();
3232
return status.getCode() == Status.Code.INTERNAL
3333
&& description != null
34-
&& (description.contains("Received unexpected EOS on DATA frame from server")
34+
&& (description.contains("Received unexpected EOS ")
3535
|| description.contains(" Rst ")
3636
|| description.contains("RST_STREAM")
3737
|| description.contains("Connection closed with unknown cause")

0 commit comments

Comments
 (0)