Skip to content

Commit 0664102

Browse files
authored
Feedback fixes (#3565)
Fixes #3260, #3247, #2535, #2441, #2210, #2090, #1787
1 parent 6c889b2 commit 0664102

File tree

10 files changed

+67
-86
lines changed

10 files changed

+67
-86
lines changed

doc/archive/tdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ going forward one line at a time, backtracing, and showing information about
1010
fibers. The display features include: using different colors for different
1111
situations, including line numbers, and adding hints.
1212

13-
It is not supplied as part of the Tarantool repository; it must be installed
13+
It is not supplied as part of the Tarantool repository; it must b\e installed
1414
separately. Here is the usual way:
1515

1616
.. code-block:: console

doc/book/admin/modules.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Installing a module from deb/rpm
3535
Follow these steps:
3636

3737
1. Install Tarantool as recommended on the
38-
`download page <http://tarantool.org/download.html>`_.
38+
`download page <https://tarantool.io/download.html>`_.
3939

4040
2. Install the module you need. Look up the module's name on
41-
`Tarantool rocks page <http://tarantool.org/rocks.html>`_ and put the prefix
41+
`Tarantool rocks page <https://tarantool.io/rocks.html>`_ and put the prefix
4242
"tarantool-" before the module name to avoid ambiguity:
4343

4444
.. code-block:: console
@@ -50,11 +50,11 @@ Follow these steps:
5050
$ sudo yum install tarantool-<module-name>
5151
5252
For example, to install the module
53-
`shard <http://github.com/tarantool/shard>`_ on Ubuntu, say:
53+
`vshard <http://github.com/tarantool/vshard>`_ on Ubuntu, say:
5454

5555
.. code-block:: console
5656
57-
$ sudo apt-get install tarantool-shard
57+
$ sudo apt-get install tarantool-vshard
5858
5959
Once these steps are complete, you can:
6060

@@ -68,7 +68,7 @@ Once these steps are complete, you can:
6868

6969
.. code-block:: tarantoolsession
7070
71-
tarantool> shard = require('shard')
71+
tarantool> vshard = require('vshard')
7272
7373
* search locally for installed modules using ``package.path`` (Lua) or
7474
``package.cpath`` (C):

doc/concepts/sharding/vshard_architecture.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ distribution of buckets across the shards. During rebalancing, buckets are being
201201
migrated among replica sets.
202202

203203
The rebalancer "wakes up" periodically and redistributes data from the most
204-
loaded nodes to less loaded nodes. Rebalancing starts if the **disbalance threshold**
204+
loaded nodes to less loaded nodes. Rebalancing starts if the **replicaset disbalance**
205205
of a replica set exceeds a disbalance threshold specified in the configuration.
206206

207-
The disbalance threshold is calculated as follows:
207+
The replicaset disbalance is calculated as follows:
208208

209209
.. code-block:: none
210210

doc/dev_guide/reference_capi/tuple.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@
7474
7575
:param box_tuple_t* tuple: a tuple
7676
77-
:return: -1 on error
78-
:return: 0 otherwise
79-
8077
See also: :ref:`box_tuple_ref()<c_api-tuple-box_tuple_ref>`
8178
8279
.. _c_api-tuple-box_tuple_field_count:

doc/reference/reference_lua/yaml.rst

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -278,36 +278,27 @@ different results:
278278
---
279279
...
280280
281-
tarantool> yaml.encode(setmetatable({'A', 'B'}, { __serialize="sequence"}))
281+
tarantool> print(yaml.encode(setmetatable({'A', 'B'}, { __serialize="sequence"})))
282282
---
283-
- '---
284-
285-
- A
286-
287-
- B
288-
289-
...
290-
291-
'
283+
- A
284+
- B
292285
...
293286
294-
tarantool> yaml.encode(setmetatable({'A', 'B'}, { __serialize="seq"}))
295287
---
296-
- '--- [''A'', ''B'']
297-
298-
...
288+
...
299289
300-
'
290+
tarantool> print(yaml.encode(setmetatable({'A', 'B'}, { __serialize="seq"})))
291+
--- ['A', 'B']
301292
...
302293
303-
tarantool> yaml.encode({setmetatable({f1 = 'A', f2 = 'B'}, { __serialize="map"})})
304294
---
305-
- '---
306-
307-
- {''f2'': ''B'', ''f1'': ''A''}
295+
...
308296
309-
...
297+
tarantool> print(yaml.encode({setmetatable({f1 = 'A', f2 = 'B'}, { __serialize="map"})}))
298+
---
299+
- {'f2': 'B', 'f1': 'A'}
300+
...
310301
311-
'
302+
---
312303
...
313304

doc/reference/reference_rock/vshard/vshard_ref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Basic parameters
117117
.. confval:: rebalancer_disbalance_threshold
118118

119119
A maximum bucket disbalance threshold, in percent.
120-
The threshold is calculated for each replica set using the following formula:
120+
The disbalance is calculated for each replica set using the following formula:
121121

122122
.. code-block:: none
123123

doc/reference/reference_rock/vshard/vshard_router.rst

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ Router public API
130130
:param argument_list: an array of the function's arguments
131131
:param options:
132132

133-
* ``timeout``—a request timeout, in seconds. If the ``router`` cannot identify a
134-
shard with the specified ``bucket_id``, the operation will be repeated until the
135-
timeout is reached.
133+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
134+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
136135

137136
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
138137
``buffer``, ``on_push`` are also supported.
@@ -198,9 +197,8 @@ Router public API
198197
:param argument_list: an array of the function's arguments
199198
:param options:
200199

201-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
202-
shard with the bucket id, the operation will be repeated until the
203-
timeout is reached.
200+
* ``timeout`` — a request timeout, in seconds.If the ``router`` cannot identify a
201+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
204202

205203
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
206204
``buffer``, ``on_push`` are also supported.
@@ -232,9 +230,8 @@ Router public API
232230
:param argument_list: an array of the function's arguments
233231
:param options:
234232

235-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
236-
shard with the bucket id, the operation will be repeated until the
237-
timeout is reached.
233+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
234+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
238235

239236
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
240237
``buffer``, ``on_push`` are also supported.
@@ -268,9 +265,8 @@ Router public API
268265
:param argument_list: an array of the function's arguments
269266
:param options:
270267

271-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
272-
shard with the bucket id, the operation will be repeated until the
273-
timeout is reached.
268+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
269+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
274270

275271
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
276272
``buffer``, ``on_push`` are also supported.
@@ -867,9 +863,8 @@ Router public API
867863
:param argument_list: array of the function's arguments
868864
:param options:
869865

870-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
871-
shard with the bucket id, the operation will be repeated until the
872-
timeout is reached.
866+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
867+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
873868

874869
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
875870
``buffer``, ``on_push`` are also supported.
@@ -895,9 +890,8 @@ Router public API
895890
:param argument_list: array of the function's arguments
896891
:param options:
897892

898-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
899-
shard with the bucket id, the operation will be repeated until the
900-
timeout is reached.
893+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
894+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
901895

902896
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
903897
``buffer``, ``on_push`` are also supported.
@@ -934,9 +928,8 @@ Router public API
934928
:param argument_list: array of the function's arguments
935929
:param options:
936930

937-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
938-
shard with the bucket id, the operation will be repeated until the
939-
timeout is reached.
931+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
932+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
940933

941934
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
942935
``buffer``, ``on_push`` are also supported.
@@ -963,9 +956,8 @@ Router public API
963956
:param argument_list: array of the function's arguments
964957
:param options:
965958

966-
* ``timeout``—a request timeout, in seconds. In case the ``router`` cannot identify a
967-
shard with the bucket id, the operation will be repeated until the
968-
timeout is reached.
959+
* ``timeout`` — a request timeout, in seconds. If the ``router`` cannot identify a
960+
shard with the specified ``bucket_id``, it will retry until the timeout is reached.
969961

970962
* other :ref:`net.box options <net_box-options>`, such as ``is_async``,
971963
``buffer``, ``on_push`` are also supported.

doc/reference/reference_rock/vshard/vshard_storage.rst

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,26 @@ Storage public API
8080
8181
tarantool> vshard.storage.info()
8282
---
83-
- buckets:
84-
2995:
85-
status: active
86-
id: 2995
87-
2997:
88-
status: active
89-
id: 2997
90-
2999:
91-
status: active
92-
id: 2999
93-
replicasets:
94-
2dd0a343-624e-4d3a-861d-f45efc571cd3:
95-
uuid: 2dd0a343-624e-4d3a-861d-f45efc571cd3
83+
- replicasets:
84+
c862545d-d966-45ff-93ad-763dce4a9723:
85+
uuid: c862545d-d966-45ff-93ad-763dce4a9723
9686
master:
97-
state: active
98-
uri: storage:[email protected]:3301
99-
uuid: 2ec29309-17b6-43df-ab07-b528e1243a79
100-
c7ad642f-2cd8-4a8c-bb4e-4999ac70bba1:
101-
uuid: c7ad642f-2cd8-4a8c-bb4e-4999ac70bba1
87+
uri: admin@localhost:3302
88+
1990be71-f06e-4d9a-bcf9-4514c4e0c889:
89+
uuid: 1990be71-f06e-4d9a-bcf9-4514c4e0c889
10290
master:
103-
state: active
104-
uri: storage:[email protected]:3303
105-
uuid: 810d85ef-4ce4-4066-9896-3c352fec9e64
91+
uri: admin@localhost:3304
92+
bucket:
93+
receiving: 0
94+
active: 15000
95+
total: 15000
96+
garbage: 0
97+
pinned: 0
98+
sending: 0
99+
status: 0
100+
replication:
101+
status: master
102+
alerts: []
106103
...
107104
108105
.. _storage_api-call:

locale/ru/LC_MESSAGES/book/admin/modules.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ msgstr ""
7070
"$ sudo yum install tarantool-<module-name>"
7171

7272
msgid ""
73-
"For example, to install the module `shard "
74-
"<http://github.com/tarantool/shard>`_ on Ubuntu, say:"
73+
"For example, to install the module `vshard "
74+
"<http://github.com/tarantool/vshard>`_ on Ubuntu, say:"
7575
msgstr ""
76-
"Например, чтобы установить модуль `shard "
77-
"<http://github.com/tarantool/shard>`_ на Ubuntu, введите:"
76+
"Например, чтобы установить модуль `vshard "
77+
"<http://github.com/tarantool/vshard>`_ на Ubuntu, введите:"
7878

79-
msgid "$ sudo apt-get install tarantool-shard"
80-
msgstr "$ sudo apt-get install tarantool-shard"
79+
msgid "$ sudo apt-get install tarantool-vshard"
80+
msgstr "$ sudo apt-get install tarantool-vshard"
8181

8282
msgid "Once these steps are complete, you can:"
8383
msgstr "Теперь можно:"
@@ -91,8 +91,8 @@ msgstr "tarantool> name = require('module-name')"
9191
msgid "for example:"
9292
msgstr "например:"
9393

94-
msgid "tarantool> shard = require('shard')"
95-
msgstr "tarantool> shard = require('shard')"
94+
msgid "tarantool> vshard = require('vshard')"
95+
msgstr "tarantool> vshard = require('vshard')"
9696

9797
msgid ""
9898
"search locally for installed modules using ``package.path`` (Lua) or "

locale/ru/LC_MESSAGES/concepts/sharding/index.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ msgid ""
1414
" which implies that a dataset is partitioned and distributed over multiple "
1515
"servers."
1616
msgstr ""
17+
"**Шардирование** -- это архитектурый принцип баз данных, который позволяет их `горизонтально масштабировать "
18+
"<https://en.wikipedia.org/wiki/Scalability#Horizontal_(scale_out)_and_vertical_scaling_(scale_up)>`_,"
19+
" что означает разбиение набора даных на части и распределение их по нескольким "
20+
"серверам."
1721

1822
msgid ""
1923
"With Tarantool's `vshard <https://github.com/tarantool/vshard>`_ module, the"

0 commit comments

Comments
 (0)