Skip to content

Multiple minor bug fixes from feedback #897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Sep 9, 2019
2 changes: 1 addition & 1 deletion doc/1.10/book/app_server/launching_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ For example:
.. code-block:: lua

box.cfg {
listen = 3301
listen = 3301,
background = true,
log = '1.log',
pid_file = '1.pid'
Expand Down
8 changes: 4 additions & 4 deletions doc/1.10/book/box/box_space.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1436,16 +1436,16 @@ Below is a list of all ``box.space`` functions and members.

.. _box_space-upsert:

.. method:: upsert(tuple_value, {{operator, field_no, value}, ...}, )
.. method:: upsert({tuple}, {{operator, field_no, value}, ...}, )

Update or insert a tuple.

If there is an existing tuple which matches the key fields of ``tuple_value``, then the
If there is an existing tuple which matches the key fields of ``tuple``, then the
request has the same effect as :ref:`space_object:update() <box_space-update>` and the
``{{operator, field_no, value}, ...}`` parameter is used.
If there is no existing tuple which matches the key fields of ``tuple_value``, then the
If there is no existing tuple which matches the key fields of ``tuple``, then the
request has the same effect as :ref:`space_object:insert() <box_space-insert>` and the
``{tuple_value}`` parameter is used. However, unlike ``insert`` or
``{tuple}`` parameter is used. However, unlike ``insert`` or
``update``, ``upsert`` will not read a tuple and perform
error checks before returning -- this is a design feature which
enhances throughput but requires more caution on the part of the user.
Expand Down
2 changes: 1 addition & 1 deletion doc/1.10/book/getting_started/using_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ options:

This command runs a new container named ``mytarantool``.
Docker starts it from an official image named ``tarantool/tarantool:1``,
with Tarantool version ``1.9`` and all external modules already installed.
with Tarantool version ``1.10`` and all external modules already installed.

Tarantool will be accepting incoming connections on ``localhost:3301``.
You may start using it as a key-value storage right away.
Expand Down
8 changes: 4 additions & 4 deletions doc/1.10/book/replication/repl_add_instances.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ analog of the instance file that we created for the first replica in that set:
-- instance file for replica #2
box.cfg{
listen = 3301,
replication = ('replicator:[email protected]:3301', -- master URI
replication = {'replicator:[email protected]:3301', -- master URI
'replicator:[email protected]:3301', -- replica #1 URI
'replicator:[email protected]:3301'), -- replica #2 URI
'replicator:[email protected]:3301'}, -- replica #2 URI
read_only = true
}
box.once("schema", function()
box.schema.user.create('replicator', {password = 'password'})
box.schema.user.grant('replicator', 'replication) -- grant replication role
box.schema.user.grant('replicator', 'replication') -- grant replication role
box.schema.space.create("test")
box.space.test:create_index("primary")
print('box.once executed on replica #2')
Expand Down Expand Up @@ -95,7 +95,7 @@ instances in that set:
}
box.once("schema", function()
box.schema.user.create('replicator', {password = 'password'})
box.schema.user.grant('replicator', 'replication) -- grant "replication" role
box.schema.user.grant('replicator', 'replication') -- grant replication role
box.schema.space.create("test")
box.space.test:create_index("primary")
end)
Expand Down
2 changes: 1 addition & 1 deletion doc/1.10/book/replication/repl_monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ these instances, issue a :ref:`box.info.replication <box_info_replication>` requ
peer: [email protected]:3301
lag: 0
downstream:
vclock: {1: 31}
vclock: {1: 31}
3:
id: 3
uuid: e38ef895-5804-43b9-81ac-9f2cd872b9c4
Expand Down
21 changes: 16 additions & 5 deletions doc/1.10/dev_guide/building_from_source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ the preferences can differ. But strategically the steps are always the same.
* `ReadLine <http://www.gnu.org/software/readline/>`_ library, any version
* `ncurses <https://www.gnu.org/software/ncurses/>`_ library, any version
* `OpenSSL <https://www.openssl.org>`_ library, version 1.0.1+
* `cURL <https://curl.haxx.se/>`_ library, version 0.725+
* `LibYAML <http://pyyaml.org/wiki/LibYAML>`_ library, version 0.1.4+
* `ICU <http://site.icu-project.org/download>`_ library, recent version
* `Autoconf <https://www.gnu.org/software/autoconf/>`_ library, any version
* `Automake <https://www.gnu.org/software/automake/>`_ library, any version
* `Libtool <https://www.gnu.org/software/libtool/>`_ library, any version
* `Zlib-devel <https://www.zlib.net/>`_ library, any version

* Python and modules. |br| Python interpreter is not necessary for building
Tarantool itself, unless you intend to use the "Run the test suite"
Expand All @@ -47,8 +50,9 @@ the preferences can differ. But strategically the steps are always the same.
.. code-block:: console

$ apt install -y build-essential cmake coreutils sed \
autoconf automake libtool zlib1g-dev \
libreadline-dev libncurses5-dev libyaml-dev libssl-dev \
libcurl4-openssl-dev libunwind-dev libicu-dev \
libunwind-dev libicu-dev \
python python-pip python-setuptools python-dev \
python-msgpack python-yaml python-argparse python-six python-gevent

Expand All @@ -57,8 +61,9 @@ the preferences can differ. But strategically the steps are always the same.
.. code-block:: console

$ yum install -y gcc gcc-c++ cmake coreutils sed \
autoconf automake libtool zlib-devel \
readline-devel ncurses-devel libyaml-devel openssl-devel \
libcurl-devel libunwind-devel libicu-devel \
libunwind-devel libicu-devel \
python python-pip python-setuptools python-devel \
python-msgpack python-yaml python-argparse python-six python-gevent

Expand All @@ -69,10 +74,15 @@ the preferences can differ. But strategically the steps are always the same.
.. code-block:: console

$ brew install cmake autoconf binutils zlib \
readline ncurses libyaml openssl curl libunwind-headers icu4c \
autoconf automake libtool \
readline ncurses libyaml openssl libunwind-headers icu4c \
&& pip install python-daemon \
msgpack-python pyyaml configargparse six gevent

.. NOTE::

You can not install `zlib-devel <https://www.zlib.net/>`_ package this way.

Alternatively, download Apple's default Xcode toolset:

.. code-block:: console
Expand All @@ -85,7 +95,8 @@ the preferences can differ. But strategically the steps are always the same.
.. code-block:: console

$ pkg install -y sudo git cmake gmake gcc coreutils \
readline ncurses libyaml openssl curl libunwind icu \
autoconf automake libtool \
readline ncurses libyaml openssl libunwind icu \
python27 py27-pip py27-setuptools py27-daemon \
py27-msgpack-python py27-yaml py27-argparse py27-six py27-gevent

Expand Down
2 changes: 1 addition & 1 deletion doc/1.10/reference/reference_rock/vshard/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ A **rebalancer** is a background rebalancing process that ensures an even
distribution of buckets across the shards. During rebalancing, buckets are being
migrated among replica sets.

A replica set from which the bucket is being migrated is called a **source**; a
A replica set from which the bucket is being migrated is called a **source** ; a
target replica set to which the bucket is being migrated is called a **destination**.

A **replica set lock** makes a replica set invisible to the rebalancer. A locked
Expand Down
28 changes: 14 additions & 14 deletions locale/ru/LC_MESSAGES/doc.po
Original file line number Diff line number Diff line change
Expand Up @@ -8669,14 +8669,14 @@ msgstr "Например:"
#: ../doc/1.10/book/app_server/launching_app.rst:209
msgid ""
"box.cfg {\n"
" listen = 3301\n"
" listen = 3301,\n"
" background = true,\n"
" log = '1.log',\n"
" pid_file = '1.pid'\n"
"}"
msgstr ""
"box.cfg {\n"
" listen = 3301\n"
" listen = 3301,\n"
" background = true,\n"
" log = '1.log',\n"
" pid_file = '1.pid'\n"
Expand Down Expand Up @@ -32010,17 +32010,17 @@ msgid ""
"-- instance file for replica #2\n"
"box.cfg{\n"
" listen = 3301,\n"
" replication = ('replicator:[email protected]:3301', -- master URI"
" replication = {'replicator:[email protected]:3301', -- master URI"
"\n"
" 'replicator:[email protected]:3301', -- replica #1"
" URI\n"
" 'replicator:[email protected]:3301'), -- replica #2"
" 'replicator:[email protected]:3301'}, -- replica #2"
" URI\n"
" read_only = true\n"
"}\n"
"box.once(\"schema\", function()\n"
" box.schema.user.create('replicator', {password = 'password'})\n"
" box.schema.user.grant('replicator', 'replication) -- grant "
" box.schema.user.grant('replicator', 'replication') -- grant "
"replication role\n"
" box.schema.space.create(\"test\")\n"
" box.space.test:create_index(\"primary\")\n"
Expand All @@ -32030,17 +32030,17 @@ msgstr ""
"-- файл экземпляра для реплики №2\n"
"box.cfg{\n"
" listen = 3301,\n"
" replication = ('replicator:[email protected]:3301', -- URI "
" replication = {'replicator:[email protected]:3301', -- URI "
"мастера\n"
" 'replicator:[email protected]:3301', -- URI "
"реплики №1\n"
" 'replicator:[email protected]:3301'), -- URI "
" 'replicator:[email protected]:3301'}, -- URI "
"реплики №2\n"
" read_only = true\n"
"}\n"
"box.once(\"schema\", function()\n"
" box.schema.user.create('replicator', {password = 'password'})\n"
" box.schema.user.grant('replicator', 'replication) -- предоставить "
" box.schema.user.grant('replicator', 'replication') -- предоставить "
"роль для репликации\n"
" box.schema.space.create(\"test\")\n"
" box.space.test:create_index(\"primary\")\n"
Expand Down Expand Up @@ -32178,7 +32178,7 @@ msgid ""
"}\n"
"box.once(\"schema\", function()\n"
" box.schema.user.create('replicator', {password = 'password'})\n"
" box.schema.user.grant('replicator', 'replication) -- grant "
" box.schema.user.grant('replicator', 'replication') -- grant "
"\"replication\" role\n"
" box.schema.space.create(\"test\")\n"
" box.space.test:create_index(\"primary\")\n"
Expand All @@ -32197,7 +32197,7 @@ msgstr ""
"}\n"
"box.once(\"schema\", function()\n"
" box.schema.user.create('replicator', {password = 'password'})\n"
" box.schema.user.grant('replicator', 'replication) -- предоставить "
" box.schema.user.grant('replicator', 'replication') -- предоставить "
"роль \"replication\"\n"
" box.schema.space.create(\"test\")\n"
" box.space.test:create_index(\"primary\")\n"
Expand Down Expand Up @@ -48024,8 +48024,8 @@ msgid ""
"one."
msgstr ""
"заставит демон создания контрольных точек создавать снимок каждый час до "
"тех пор, пока не будет создано десять снимков. После этого самый старый "
"снимок (а также любые связанные с ним WAL-файлы) перед созданием нового "
"тех пор, пока не будет создано десять снимков. Затем самый старый "
"снимок удаляется (а также любые связанные с ним WAL-файлы) после создания нового "
"снимка."

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

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

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