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
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/stubs/FailoverChannel.java
+44-22Lines changed: 44 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@
45
45
* <p>Routes requests to either primary or fallback channel based on two independent failover modes:
46
46
*
47
47
* <ul>
48
-
* <li><b>Connection Status Failover:</b> If the primary channel is not ready for 10+ seconds
49
-
* (e.g., during network issues), routes to fallback channel. Switches back as soon as the
50
-
* primary channel becomes READY again.
48
+
* <li><b>Connection Status Failover:</b> If the primary channel is not ready for the configured
49
+
* wait time (e.g., during network issues), routes to fallback channel. Switches back as soon
50
+
* as the primary channel becomes READY again.
51
51
* <li><b>RPC Failover:</b> If primary channel RPCs fail continuously with transient errors
52
52
* ({@link Status.Code#UNAVAILABLE} or {@link Status.Code#UNKNOWN}), or with {@link
53
53
* Status.Code#DEADLINE_EXCEEDED} before receiving any response (indicating the connection was
@@ -61,7 +61,6 @@ public final class FailoverChannel extends ManagedChannel {
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/stubs/FailoverChannelTest.java
0 commit comments