Skip to content

Commit 636af76

Browse files
committed
Add small fixes
1 parent 9131155 commit 636af76

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/platform/sharding/vshard_admin.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,9 @@ In this case:
593593
When re-executing this request without additional check, the operation may be applied twice.
594594

595595
A write request can be executed repeatedly without a check in two cases:
596+
596597
- The request is idempotent.
598+
597599
- It's known for sure that the previous request raised an error before executing any write operations.
598600
For example, ER_READONLY was thrown by the server.
599601
In this case, we know that the request couldn't complete due to server in read-only mode.

doc/reference/reference_rock/vshard/vshard_router.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Router public API
138138
``timeout > request_timeout``.
139139

140140
The ``timeout`` parameter controls how much time a single request attempt may take.
141-
When this time is over (the ``TimedOut`` error is raised), router retries the request on the next replica as long
141+
When this time is over (the ``TimedOut`` error is raised), the router retries this request on the next replica as long
142142
as the ``timeout`` value is not elapsed.
143143

144144
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
@@ -222,7 +222,7 @@ Router public API
222222
It is necessary to pass the ``request_timeout`` and ``timeout`` parameters together, with the following requirement:
223223
``timeout > request_timeout``.
224224
The ``timeout`` parameter controls how much time a single request attempt may take.
225-
When this time is over (the ``TimedOut`` error is raised), router retries the request on the next replica as long
225+
When this time is over (the ``TimedOut`` error is raised), the router retries this request on the next replica as long
226226
as the ``timeout`` value is not elapsed.
227227

228228
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
@@ -301,7 +301,7 @@ Router public API
301301
It is necessary to pass the ``request_timeout`` and ``timeout`` parameters together, with the following requirement:
302302
``timeout > request_timeout``.
303303
The ``timeout`` parameter controls how much time a single request attempt may take.
304-
When this time is over (the ``TimedOut`` error is raised), router retries the request on the next replica as long
304+
When this time is over (the ``TimedOut`` error is raised), the router retries this request on the next replica as long
305305
as the ``timeout`` value is not elapsed.
306306

307307
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,

0 commit comments

Comments
 (0)