File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/client-concepts/connection-pooling/failover
src/Tests/ClientConcepts/ConnectionPooling/Failover Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ please modify the original csharp file found at the link and submit the PR with
1616== Fail over
1717
1818When using connection pooling and the pool has sufficient nodes a request will be retried if
19- the call to a node throws an exception or returns a 502 or 503
19+ the call to a node throws an exception or returns a 502, 503 or 504
2020
2121[source,csharp]
2222----
@@ -104,7 +104,7 @@ audit = await audit.TraceCall(
104104);
105105----
106106
107- If a call returns a valid http status code other than 502 or 503 , the request won't be retried.
107+ If a call returns a valid http status code other than 502, 503 or 504 , the request won't be retried.
108108
109109IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110110a *404 Not Found* response is a valid status code for an index exists request
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public class FallingOver
99 /**[[falling-over]]
1010 * == Fail over
1111 * When using connection pooling and the pool has sufficient nodes a request will be retried if
12- * the call to a node throws an exception or returns a 502 or 503
12+ * the call to a node throws an exception or returns a 502, 503 or 504
1313 */
1414
1515 [ U ]
@@ -104,7 +104,7 @@ public async Task Http504FallsOver()
104104 }
105105
106106 /**
107- * If a call returns a valid http status code other than 502 or 503 , the request won't be retried.
107+ * If a call returns a valid http status code other than 502, 503 or 504 , the request won't be retried.
108108 *
109109 * IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110110 * a *404 Not Found* response is a valid status code for an index exists request
You can’t perform that action at this time.
0 commit comments