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: source/client-backpressure/client-backpressure.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,9 @@ rules:
129
129
4. A token can be consumed from the token bucket.
130
130
5. The command is a write and [retryWrites](../retryable-writes/retryable-writes.md#retrywrites) is enabled or the
131
131
command is a read and [retryReads](../retryable-reads/retryable-reads.md#retryreads) is enabled.
132
+
- To retry `runCommand`, both [retryWrites](../retryable-writes/retryable-writes.md#retrywrites) and
133
+
[retryReads](../retryable-reads/retryable-reads.md#retryreads) must be enabled. See
134
+
[Why must both `retryWrites` and `retryReads` be enabled to retry runCommand?](client-backpressure.md#why-must-both-retrywrites-and-retryreads-be-enabled-to-retry-runcommand)
132
135
6. A retry attempt consumes 1 token from the token bucket.
133
136
7. If the request is eligible for retry (as outlined in step 5), the client MUST apply exponential backoff according to
134
137
the following formula: `backoff = jitter * min(MAX_BACKOFF, BASE_BACKOFF * 2^(attempt - 1))`
@@ -150,6 +153,8 @@ rules:
150
153
described in the [retryable reads](../retryable-reads/retryable-reads.md),
151
154
[retryable writes](../retryable-writes/retryable-writes.md) and the
0 commit comments