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
16
16
== Fail over
17
17
18
18
When 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
20
20
21
21
[source,csharp]
22
22
----
@@ -104,7 +104,7 @@ audit = await audit.TraceCall(
104
104
);
105
105
----
106
106
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.
108
108
109
109
IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110
110
a *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
9
9
/**[[falling-over]]
10
10
* == Fail over
11
11
* 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
13
13
*/
14
14
15
15
[ U ]
@@ -104,7 +104,7 @@ public async Task Http504FallsOver()
104
104
}
105
105
106
106
/**
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.
108
108
*
109
109
* IMPORTANT: Different requests may have different status codes that are deemed valid. For example,
110
110
* 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