Skip to content

Commit fc76e0d

Browse files
v-izmalkovlenkis
authored andcommitted
Multiple minor bug fixes (#897)
Fix gh-875 feedback: Справочник по настройке Partial Fix for gh-868 Tarantool dependency list was changed Fix gh-882 feedback: Adding instances Fix gh-890 feedback: Launching an application Fix Rus gh-890 feedback: Launching an application Fix gh-891 feedback: Вложенный модуль box.space Fix gh-880 feedback: Using a Docker image Fix gh-894 feedback: Monitoring a replica set Fix gh-885 gh-886 gh-887 gh-888 gh-889 Модуль vshard
1 parent 985d0ff commit fc76e0d

File tree

8 files changed

+42
-31
lines changed

8 files changed

+42
-31
lines changed

doc/1.10/book/app_server/launching_app.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ For example:
175175
.. code-block:: lua
176176
177177
box.cfg {
178-
listen = 3301
178+
listen = 3301,
179179
background = true,
180180
log = '1.log',
181181
pid_file = '1.pid'

doc/1.10/book/box/box_space.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,16 +1436,16 @@ Below is a list of all ``box.space`` functions and members.
14361436

14371437
.. _box_space-upsert:
14381438

1439-
.. method:: upsert(tuple_value, {{operator, field_no, value}, ...}, )
1439+
.. method:: upsert({tuple}, {{operator, field_no, value}, ...}, )
14401440

14411441
Update or insert a tuple.
14421442

1443-
If there is an existing tuple which matches the key fields of ``tuple_value``, then the
1443+
If there is an existing tuple which matches the key fields of ``tuple``, then the
14441444
request has the same effect as :ref:`space_object:update() <box_space-update>` and the
14451445
``{{operator, field_no, value}, ...}`` parameter is used.
1446-
If there is no existing tuple which matches the key fields of ``tuple_value``, then the
1446+
If there is no existing tuple which matches the key fields of ``tuple``, then the
14471447
request has the same effect as :ref:`space_object:insert() <box_space-insert>` and the
1448-
``{tuple_value}`` parameter is used. However, unlike ``insert`` or
1448+
``{tuple}`` parameter is used. However, unlike ``insert`` or
14491449
``update``, ``upsert`` will not read a tuple and perform
14501450
error checks before returning -- this is a design feature which
14511451
enhances throughput but requires more caution on the part of the user.

doc/1.10/book/getting_started/using_docker.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ options:
4040
4141
This command runs a new container named ``mytarantool``.
4242
Docker starts it from an official image named ``tarantool/tarantool:1``,
43-
with Tarantool version ``1.9`` and all external modules already installed.
43+
with Tarantool version ``1.10`` and all external modules already installed.
4444

4545
Tarantool will be accepting incoming connections on ``localhost:3301``.
4646
You may start using it as a key-value storage right away.

doc/1.10/book/replication/repl_add_instances.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ analog of the instance file that we created for the first replica in that set:
2222
-- instance file for replica #2
2323
box.cfg{
2424
listen = 3301,
25-
replication = ('replicator:[email protected]:3301', -- master URI
25+
replication = {'replicator:[email protected]:3301', -- master URI
2626
'replicator:[email protected]:3301', -- replica #1 URI
27-
'replicator:[email protected]:3301'), -- replica #2 URI
27+
'replicator:[email protected]:3301'}, -- replica #2 URI
2828
read_only = true
2929
}
3030
box.once("schema", function()
3131
box.schema.user.create('replicator', {password = 'password'})
32-
box.schema.user.grant('replicator', 'replication) -- grant replication role
32+
box.schema.user.grant('replicator', 'replication') -- grant replication role
3333
box.schema.space.create("test")
3434
box.space.test:create_index("primary")
3535
print('box.once executed on replica #2')
@@ -95,7 +95,7 @@ instances in that set:
9595
}
9696
box.once("schema", function()
9797
box.schema.user.create('replicator', {password = 'password'})
98-
box.schema.user.grant('replicator', 'replication) -- grant "replication" role
98+
box.schema.user.grant('replicator', 'replication') -- grant replication role
9999
box.schema.space.create("test")
100100
box.space.test:create_index("primary")
101101
end)

doc/1.10/book/replication/repl_monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ these instances, issue a :ref:`box.info.replication <box_info_replication>` requ
2626
peer: [email protected]:3301
2727
lag: 0
2828
downstream:
29-
vclock: {1: 31}
29+
vclock: {1: 31}
3030
3:
3131
id: 3
3232
uuid: e38ef895-5804-43b9-81ac-9f2cd872b9c4

doc/1.10/dev_guide/building_from_source.rst

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ the preferences can differ. But strategically the steps are always the same.
2525
* `ReadLine <http://www.gnu.org/software/readline/>`_ library, any version
2626
* `ncurses <https://www.gnu.org/software/ncurses/>`_ library, any version
2727
* `OpenSSL <https://www.openssl.org>`_ library, version 1.0.1+
28-
* `cURL <https://curl.haxx.se/>`_ library, version 0.725+
2928
* `LibYAML <http://pyyaml.org/wiki/LibYAML>`_ library, version 0.1.4+
3029
* `ICU <http://site.icu-project.org/download>`_ library, recent version
30+
* `Autoconf <https://www.gnu.org/software/autoconf/>`_ library, any version
31+
* `Automake <https://www.gnu.org/software/automake/>`_ library, any version
32+
* `Libtool <https://www.gnu.org/software/libtool/>`_ library, any version
33+
* `Zlib-devel <https://www.zlib.net/>`_ library, any version
3134

3235
* Python and modules. |br| Python interpreter is not necessary for building
3336
Tarantool itself, unless you intend to use the "Run the test suite"
@@ -47,8 +50,9 @@ the preferences can differ. But strategically the steps are always the same.
4750
.. code-block:: console
4851
4952
$ apt install -y build-essential cmake coreutils sed \
53+
autoconf automake libtool zlib1g-dev \
5054
libreadline-dev libncurses5-dev libyaml-dev libssl-dev \
51-
libcurl4-openssl-dev libunwind-dev libicu-dev \
55+
libunwind-dev libicu-dev \
5256
python python-pip python-setuptools python-dev \
5357
python-msgpack python-yaml python-argparse python-six python-gevent
5458
@@ -57,8 +61,9 @@ the preferences can differ. But strategically the steps are always the same.
5761
.. code-block:: console
5862
5963
$ yum install -y gcc gcc-c++ cmake coreutils sed \
64+
autoconf automake libtool zlib-devel \
6065
readline-devel ncurses-devel libyaml-devel openssl-devel \
61-
libcurl-devel libunwind-devel libicu-devel \
66+
libunwind-devel libicu-devel \
6267
python python-pip python-setuptools python-devel \
6368
python-msgpack python-yaml python-argparse python-six python-gevent
6469
@@ -69,10 +74,15 @@ the preferences can differ. But strategically the steps are always the same.
6974
.. code-block:: console
7075
7176
$ brew install cmake autoconf binutils zlib \
72-
readline ncurses libyaml openssl curl libunwind-headers icu4c \
77+
autoconf automake libtool \
78+
readline ncurses libyaml openssl libunwind-headers icu4c \
7379
&& pip install python-daemon \
7480
msgpack-python pyyaml configargparse six gevent
7581
82+
.. NOTE::
83+
84+
You can not install `zlib-devel <https://www.zlib.net/>`_ package this way.
85+
7686
Alternatively, download Apple's default Xcode toolset:
7787

7888
.. code-block:: console
@@ -85,7 +95,8 @@ the preferences can differ. But strategically the steps are always the same.
8595
.. code-block:: console
8696
8797
$ pkg install -y sudo git cmake gmake gcc coreutils \
88-
readline ncurses libyaml openssl curl libunwind icu \
98+
autoconf automake libtool \
99+
readline ncurses libyaml openssl libunwind icu \
89100
python27 py27-pip py27-setuptools py27-daemon \
90101
py27-msgpack-python py27-yaml py27-argparse py27-six py27-gevent
91102

doc/1.10/reference/reference_rock/vshard/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ A **rebalancer** is a background rebalancing process that ensures an even
263263
distribution of buckets across the shards. During rebalancing, buckets are being
264264
migrated among replica sets.
265265

266-
A replica set from which the bucket is being migrated is called a **source**; a
266+
A replica set from which the bucket is being migrated is called a **source** ; a
267267
target replica set to which the bucket is being migrated is called a **destination**.
268268

269269
A **replica set lock** makes a replica set invisible to the rebalancer. A locked

locale/ru/LC_MESSAGES/doc.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8669,14 +8669,14 @@ msgstr "Например:"
86698669
#: ../doc/1.10/book/app_server/launching_app.rst:209
86708670
msgid ""
86718671
"box.cfg {\n"
8672-
" listen = 3301\n"
8672+
" listen = 3301,\n"
86738673
" background = true,\n"
86748674
" log = '1.log',\n"
86758675
" pid_file = '1.pid'\n"
86768676
"}"
86778677
msgstr ""
86788678
"box.cfg {\n"
8679-
" listen = 3301\n"
8679+
" listen = 3301,\n"
86808680
" background = true,\n"
86818681
" log = '1.log',\n"
86828682
" pid_file = '1.pid'\n"
@@ -32010,17 +32010,17 @@ msgid ""
3201032010
"-- instance file for replica #2\n"
3201132011
"box.cfg{\n"
3201232012
" listen = 3301,\n"
32013-
" replication = ('replicator:[email protected]:3301', -- master URI"
32013+
" replication = {'replicator:[email protected]:3301', -- master URI"
3201432014
"\n"
3201532015
" 'replicator:[email protected]:3301', -- replica #1"
3201632016
" URI\n"
32017-
" 'replicator:[email protected]:3301'), -- replica #2"
32017+
" 'replicator:[email protected]:3301'}, -- replica #2"
3201832018
" URI\n"
3201932019
" read_only = true\n"
3202032020
"}\n"
3202132021
"box.once(\"schema\", function()\n"
3202232022
" box.schema.user.create('replicator', {password = 'password'})\n"
32023-
" box.schema.user.grant('replicator', 'replication) -- grant "
32023+
" box.schema.user.grant('replicator', 'replication') -- grant "
3202432024
"replication role\n"
3202532025
" box.schema.space.create(\"test\")\n"
3202632026
" box.space.test:create_index(\"primary\")\n"
@@ -32030,17 +32030,17 @@ msgstr ""
3203032030
"-- файл экземпляра для реплики №2\n"
3203132031
"box.cfg{\n"
3203232032
" listen = 3301,\n"
32033-
" replication = ('replicator:[email protected]:3301', -- URI "
32033+
" replication = {'replicator:[email protected]:3301', -- URI "
3203432034
"мастера\n"
3203532035
" 'replicator:[email protected]:3301', -- URI "
3203632036
"реплики №1\n"
32037-
" 'replicator:[email protected]:3301'), -- URI "
32037+
" 'replicator:[email protected]:3301'}, -- URI "
3203832038
"реплики №2\n"
3203932039
" read_only = true\n"
3204032040
"}\n"
3204132041
"box.once(\"schema\", function()\n"
3204232042
" box.schema.user.create('replicator', {password = 'password'})\n"
32043-
" box.schema.user.grant('replicator', 'replication) -- предоставить "
32043+
" box.schema.user.grant('replicator', 'replication') -- предоставить "
3204432044
"роль для репликации\n"
3204532045
" box.schema.space.create(\"test\")\n"
3204632046
" box.space.test:create_index(\"primary\")\n"
@@ -32178,7 +32178,7 @@ msgid ""
3217832178
"}\n"
3217932179
"box.once(\"schema\", function()\n"
3218032180
" box.schema.user.create('replicator', {password = 'password'})\n"
32181-
" box.schema.user.grant('replicator', 'replication) -- grant "
32181+
" box.schema.user.grant('replicator', 'replication') -- grant "
3218232182
"\"replication\" role\n"
3218332183
" box.schema.space.create(\"test\")\n"
3218432184
" box.space.test:create_index(\"primary\")\n"
@@ -32197,7 +32197,7 @@ msgstr ""
3219732197
"}\n"
3219832198
"box.once(\"schema\", function()\n"
3219932199
" box.schema.user.create('replicator', {password = 'password'})\n"
32200-
" box.schema.user.grant('replicator', 'replication) -- предоставить "
32200+
" box.schema.user.grant('replicator', 'replication') -- предоставить "
3220132201
"роль \"replication\"\n"
3220232202
" box.schema.space.create(\"test\")\n"
3220332203
" box.space.test:create_index(\"primary\")\n"
@@ -48024,8 +48024,8 @@ msgid ""
4802448024
"one."
4802548025
msgstr ""
4802648026
"заставит демон создания контрольных точек создавать снимок каждый час до "
48027-
"тех пор, пока не будет создано десять снимков. После этого самый старый "
48028-
"снимок (а также любые связанные с ним WAL-файлы) перед созданием нового "
48027+
"тех пор, пока не будет создано десять снимков. Затем самый старый "
48028+
"снимок удаляется (а также любые связанные с ним WAL-файлы) после создания нового "
4802948029
"снимка."
4803048030

4803148031
#: ../doc/1.10/reference/configuration/cfg_snapshot_daemon.rst:93
@@ -67755,7 +67755,7 @@ msgstr ""
6775567755
#: ../doc/1.10/reference/reference_rock/vshard/index.rst:300
6775667756
msgid ""
6775767757
"A replica set from which the bucket is being migrated is called a "
67758-
"**source**; a target replica set to which the bucket is being migrated is"
67758+
"**source** ; a target replica set to which the bucket is being migrated is"
6775967759
" called a **destination**."
6776067760
msgstr ""
6776167761
"Набор реплик, из которого переносится сегмент, называется **исходный** "
@@ -79339,7 +79339,7 @@ msgstr "Fedora 22, Ubuntu Vivid"
7933979339
#~ ":ref:`box.commit() <box-commit>`."
7934079340

7934179341
#~ msgid "Create the first :ref:`index <index-box_index>` (named 'primary'):"
79342-
#~ msgstr "Создайте первый :ref:`индекс <index-box_index>` (с именем 'primary):"
79342+
#~ msgstr "Создайте первый :ref:`индекс <index-box_index>` (с именем 'primary'):"
7934379343

7934479344
#~ msgid "This is a primary index based on the 'id' field of each tuple."
7934579345
#~ msgstr "Это первичный индекс по полю 'id' в каждом кортеже."

0 commit comments

Comments
 (0)