You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bigtable): prevent ClientConfigurationManagerTest from wedging on… (#13907)
… failed initial fetch
Also harden ClientConfigurationManager.onClose to always terminate the
fetch future: if the stream closes cleanly without ever delivering a
config, complete it exceptionally instead of leaving the caller blocked
on start().get(). For the current unary RPC gRPC already surfaces a
missing response as a non-OK status, so this is defensive, but it keeps
the Listener->CompletableFuture bridge correct regardless of that
invariant.
Copy file name to clipboardExpand all lines: java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/util/ClientConfigurationManager.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -337,6 +337,17 @@ public void onMessage(ClientConfiguration cfg) {
Copy file name to clipboardExpand all lines: java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/internal/util/ClientConfigurationManagerTest.java
0 commit comments