Skip to content

Commit 705e32f

Browse files
committed
Update map_callrw
1 parent 8924334 commit 705e32f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/reference/reference_rock/vshard/vshard-router.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Router public API
327327

328328
* ``timeout``—a request timeout, in seconds. The timeout is for the entire request, including all its stages.
329329

330-
``timeout`` is the only supported option. It is applied to the entire call.
330+
``timeout`` is the only supported option.
331331

332332
.. important::
333333

@@ -366,7 +366,8 @@ Router public API
366366
end
367367
368368
Map-Reduce in vshard can be divided into three stages: Ref, Map, and Reduce.
369-
The first stage ensures data consistency while executing the user's function (``function_name``) on all nodes.
369+
370+
**Ref**. The Ref stage ensures data consistency while executing the user's function (``function_name``) on all nodes.
370371
Keep in mind that consistency is incompatible with rebalancing (it breaks data consistency).
371372
Map-reduce and rebalancing are mutually exclusive, they compete for the cluster time.
372373
Any bucket move would make the sender and receiver nodes inconsistent,
@@ -380,12 +381,12 @@ Router public API
380381
It is incremented when a map-reduce request comes and decremented when it ends.
381382
Storage ref pins the entire instance with all its buckets, not just a single bucket (like bucket ref).
382383

383-
Te scheduler shares storage time between bucket moves and storage refs fairly.
384+
The scheduler shares storage time between bucket moves and storage refs fairly.
384385
The definition of fairness depends on how long and frequent the moves and refs are.
385386
It can be configured using storage options ``sched_move_quota`` and ``sched_ref_quota``.
386387
Keep in mind that the scheduler configuration may affect map-reduce requests if used a lot during rebalancing.
387388

388-
The Reduce stage is not performed by vshard.
389+
**Reduce**. The Reduce stage is not performed by vshard.
389390
It is what the user's code does with the results of ``map_callrw()``.
390391

391392
.. note::

0 commit comments

Comments
 (0)