Skip to content

Commit b2113a1

Browse files
Merge branch 'latest' into pgulutzan-gh-2185
2 parents 294b56b + c6105d1 commit b2113a1

File tree

28 files changed

+2417
-388
lines changed

28 files changed

+2417
-388
lines changed

.github/workflows/deploy-branch.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
S3_ENDPOINT_URL: ${{secrets.S3_ENDPOINT_URL}}
1414
S3_UPLOAD_PATH: ${{secrets.S3_UPLOAD_PATH}}
1515
TARANTOOL_UPDATE_KEY: ${{secrets.TARANTOOL_UPDATE_KEY}}
16-
TARANTOOL_UPDATE_URL: ${{secrets.TARANTOOL_DEV_UPDATE_URL}}
16+
TARANTOOL_UPDATE_URL: ${{secrets.TARANTOOL_DEVELOP_UPDATE_URL}}
1717
steps:
1818
- uses: actions/checkout@v2
1919
with:
@@ -39,7 +39,6 @@ jobs:
3939
- run: make build-modules
4040
- run: make json
4141
- run: make json-ru
42-
- run: curl ${{secrets.WAKEUP_URL}} --connect-timeout 300 --retry 3 --retry-delay 30 >> /dev/null
4342
- run: bash upload_output.sh
4443

4544
- name: update deployment status
@@ -49,4 +48,4 @@ jobs:
4948
token: ${{secrets.GITHUB_TOKEN}}
5049
status: ${{job.status}}
5150
deployment_id: ${{steps.deployment.outputs.deployment_id}}
52-
env_url: https://tarantool-develop.herokuapp.com/doc/${{env.BRANCH_NAME}}
51+
env_url: ${{secrets.TARANTOOL_HOST}}/doc/${{env.BRANCH_NAME}}

.github/workflows/destroy-deployment-manually.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
# onlyRemoveDeployments: true
2424

2525
- run: |
26-
curl -X DELETE -d '{"update_key":"${{secrets.TARANTOOL_UPDATE_KEY}}"}' -H "Content-Type: application/json" ${{secrets.TARANTOOL_DEV_UPDATE_URL}}${{env.DEPLOYMENT_NAME}}/
26+
curl -X DELETE -d '{"update_key":"${{secrets.TARANTOOL_UPDATE_KEY}}"}' -H "Content-Type: application/json" ${{secrets.TARANTOOL_DEVELOP_UPDATE_URL}}${{env.DEPLOYMENT_NAME}}/

.github/workflows/destroy-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
1818

1919
- run: |
20-
curl -X DELETE -d '{"update_key":"${{secrets.TARANTOOL_UPDATE_KEY}}"}' -H "Content-Type: application/json" ${{secrets.TARANTOOL_DEV_UPDATE_URL}}${{env.BRANCH_NAME}}/
20+
curl -X DELETE -d '{"update_key":"${{secrets.TARANTOOL_UPDATE_KEY}}"}' -H "Content-Type: application/json" ${{secrets.TARANTOOL_DEVELOP_UPDATE_URL}}${{env.BRANCH_NAME}}/
2121
2222
- name: Remove dev server deployment at branch-${{env.BRANCH_NAME}}
2323
uses: bobheadxi/deployments@v0.5.2

build_submodules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ CMAKE_DUMMY_WEBUI=true tarantoolctl rocks make
5858

5959
cd "${rst_src}" || exit
6060
mkdir -p "${rst_dest}"
61-
find . -iregex '.*\.\(rst\|png\)$' -exec cp -r --parents {} "${rst_dest}" \;
61+
find . -iregex '.*\.\(rst\|png\|puml\)$' -exec cp -r --parents {} "${rst_dest}" \;
6262

6363
cd "${pot_src}" || exit
6464
mkdir -p "${pot_dest}"

conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'sphinx.ext.ifconfig',
2222
'sphinx.ext.intersphinx',
2323
'sphinx.ext.extlinks',
24+
'sphinxcontrib.plantuml',
2425
'ext.custom',
2526
'ext.LuaDomain',
2627
'ext.LuaLexer',
@@ -42,6 +43,7 @@
4243
'doc-issue': ('https://github.com/tarantool/doc/issues/%s', 'doc-'),
4344
}
4445

46+
plantuml_output_format = 'svg_img'
4547
imgmath_image_format = 'svg'
4648

4749
primary_domain = 'lua'

doc/book/box/data_model.rst

Lines changed: 121 additions & 119 deletions
Large diffs are not rendered by default.

doc/book/replication/repl_sync.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ To control the behavior of synchronous transactions, there exist global
3939
box.cfg{replication_synchro_quorum = <number of instances>}
4040
4141
This option tells how many replicas should confirm the receipt of a synchronous
42-
transaction before it can finish its commit. So far this option accounts all
43-
replicas, including anonymous. As a usage example, consider this:
42+
transaction before it is committed. So far, this option accounts for all
43+
replicas including anonymous ones. As a usage example, consider this:
4444

4545
.. code-block:: lua
4646
@@ -71,7 +71,7 @@ instance confirms its receipt and successful appliance. Note that the quorum is
7171
set to 2, but the transaction was still committed even though there is only one
7272
replica. This is because the master instance itself also participates in the quorum.
7373

74-
Now if the second instance is down, the first one won't be able to commit any
74+
Now, if the second instance is down, the first one won't be able to commit any
7575
synchronous change.
7676

7777
.. code-block:: lua
@@ -116,23 +116,23 @@ When there is more than one synchronous transaction, they all wait for being
116116
replicated. Moreover, if an asynchronous transaction appears, it will
117117
also be blocked by the existing synchronous transactions. This behavior is very
118118
similar to a regular queue of asynchronous transactions because all the transactions
119-
finish their commits in the same order as they start them.
119+
are committed in the same order as they make the ``box.commit()`` call.
120120
So, here comes **the commit rule**:
121-
transactions always finish their commits in the same order as they start
122-
them -- regardless of being synchronous or asynchronous.
121+
transactions are committed in the same order as they make
122+
the ``box.commit()`` call—regardless of being synchronous or asynchronous.
123123

124124
If one of the waiting synchronous transactions times out and is rolled back, it
125125
will first roll back all the newer pending transactions. Again, just like how
126126
asynchronous transactions are rolled back when WAL write fails.
127127
So, here comes **the rollback rule:**
128-
transactions are always rolled back in the order reversed from the commit start
129-
order -- regardless of being synchronous or asynchronous.
128+
transactions are always rolled back in the order reversed from the one they
129+
make the ``box.commit()`` call—regardless of being synchronous or asynchronous.
130130

131-
One more important thing is that if an asynchronous transaction is blocked on
131+
One more important thing is that if an asynchronous transaction is blocked by
132132
a synchronous transaction, it does not become synchronous as well.
133133
This just means it will wait for the synchronous transaction to be committed.
134-
But once it is done, the asynchronous transaction will finish its commit
135-
immediately -- it won't wait for being replicated itself.
134+
But once it is done, the asynchronous transaction will be committed
135+
immediatelyit won't wait for being replicated itself.
136136

137137
--------------------------------------------------------------------------------
138138
Limitations and known problems
@@ -146,14 +146,15 @@ existing spaces, but since 2.5.2 it can be enabled by
146146
Synchronous transactions work only for master-slave topology. You can have multiple
147147
replicas, anonymous replicas, but only one node can make synchronous transactions.
148148

149-
Anonymous replicas participate in the quorum. This will change: it won't be possible
150-
for a synchronous transaction to gather quorum using anonymous replicas in future.
149+
Anonymous replicas participate in the quorum.
150+
However, this will change: it won't be possible
151+
for a synchronous transaction to gather quorum using anonymous replicas in the future.
151152

152153
--------------------------------------------------------------------------------
153154
Leader election
154155
--------------------------------------------------------------------------------
155156

156-
Starting from the version :doc:`2.6.1 </release/2.6.1>`,
157+
Starting from version :doc:`2.6.1 </release/2.6.1>`,
157158
Tarantool has the built-in functionality
158159
managing automated leader election in a replica set. For more information,
159160
refer to the :ref:`corresponding chapter <repl_leader_elect>`.
@@ -168,5 +169,5 @@ transaction will be committed by the new master. Your application logic should b
168169
ready for that.
169170

170171
Synchronous transactions are better to use with full mesh. Then the replicas can
171-
talk to each other in case of the master node's death, and still confirm some
172+
talk to each other in case of the master node's death and still confirm some
172173
pending transactions.

doc/contributing/docs.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
.. _documentation_guidelines:
22

3-
-------------------------------------------------------------------------------
4-
Documentation guidelines
5-
-------------------------------------------------------------------------------
3+
Documentation & Localization guidelines
4+
=======================================
65

76
These guidelines aim to help the team and external contributors
8-
write, publish, and collaborate on the Tarantool documentation.
7+
write, translate, publish, and collaborate on the Tarantool documentation.
98

109
The guidelines are a work in progress, and we welcome all contributions.
1110

@@ -14,6 +13,7 @@ The guidelines are a work in progress, and we welcome all contributions.
1413
:caption: Contents:
1514

1615
docs/style
16+
docs/localization
1717
docs/terms
1818
docs/markup
1919
docs/examples
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Localization
2+
============
3+
4+
This section covers the specifics of localizing Tarantool into Russian.
5+
If you are translating Tarantool docs into Russian,
6+
be sure to check out our translation guidelines.
7+
8+
.. toctree::
9+
:maxdepth: 2
10+
:caption: Contents:
11+
12+
localization/locstate
13+
localization/glossaries
14+
localization/guide
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Term [en];Term [ru];Description [en];Description [ru]
2+
;приложение на Tarantool Cartridge;;Если без предлога, то теряется смысл: читается так, как будто Tarantool Cartridge — это название приложения. А это не так.
3+
Tarantool Cartridge application;Tarantool Cartridge — это фреймворк;;" на базе которого можно разработать свое приложение."""
4+
Cartridge;Cartridge;;
5+
production environment;производственная среда;Production environment is a term used mostly by developers to describe the setting where software and other products are actually put into operation for their intended uses by end users.;
6+
failover;восстановление после сбоев;In computing and related technologies such as networking, failover is switching to a redundant or standby computer server, system, hardware component or network upon the failure or abnormal termination of the previously active application, server, system, hardware component, or network.;
7+
replicaset;набор реплик;;
8+
directory;директория;;
9+
bucket;сегмент;;
10+
check;выберите, выбрать;To select a checkbox;

0 commit comments

Comments
 (0)