@@ -327,7 +327,7 @@ Router public API
327
327
328
328
* ``timeout ``—a request timeout, in seconds. The timeout is for the entire request, including all its stages.
329
329
330
- ``timeout `` is the only supported option. It is applied to the entire call.
330
+ ``timeout `` is the only supported option.
331
331
332
332
.. important ::
333
333
@@ -366,7 +366,8 @@ Router public API
366
366
end
367
367
368
368
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.
370
371
Keep in mind that consistency is incompatible with rebalancing (it breaks data consistency).
371
372
Map-reduce and rebalancing are mutually exclusive, they compete for the cluster time.
372
373
Any bucket move would make the sender and receiver nodes inconsistent,
@@ -380,12 +381,12 @@ Router public API
380
381
It is incremented when a map-reduce request comes and decremented when it ends.
381
382
Storage ref pins the entire instance with all its buckets, not just a single bucket (like bucket ref).
382
383
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.
384
385
The definition of fairness depends on how long and frequent the moves and refs are.
385
386
It can be configured using storage options ``sched_move_quota `` and ``sched_ref_quota ``.
386
387
Keep in mind that the scheduler configuration may affect map-reduce requests if used a lot during rebalancing.
387
388
388
- The Reduce stage is not performed by vshard.
389
+ ** Reduce **. The Reduce stage is not performed by vshard.
389
390
It is what the user's code does with the results of ``map_callrw() ``.
390
391
391
392
.. note ::
0 commit comments