File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,16 @@ that Context deadline for the operation. If the context does not have a
245
245
deadline, the driver derives a new Context from the given Context using
246
246
the ``Timeout`` option set on the ``Client``.
247
247
248
+ .. note:: Retries under Timeout Specification
249
+
250
+ With default settings, if you set a ``Timeout`` option on your ``Client``
251
+ and your operation requires a retry, the driver retries the operation
252
+ as many times as possible before the timeout expires. Once the timeout
253
+ expires, the driver returns a timeout error. Versions 1.1 and later
254
+ of the {+driver-short+} enable retryable reads and writes by default.
255
+ See the Server manual for more information about :ref:`retryable
256
+ reads <retryable-reads>` and :manual:`retryable writes </core/retryable-writes/>`.
257
+
248
258
The following code shows how to set the ``Timeout`` option on a ``Client``
249
259
with the ``SetTimeout`` option:
250
260
You can’t perform that action at this time.
0 commit comments