Skip to content
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

Correct the Streams article #2735

Merged
merged 6 commits into from
Mar 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions locale/ru/LC_MESSAGES/book/box/stream.po
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ msgstr ""
"целиком в рамках одного запроса. ``begin``, ``commit`` и другие TX-"
"инструкции могут быть отправлены и выполнены в разных запросах."

msgid "New features"
msgstr "Новые функциональные возможности"
msgid "Features"
msgstr "Функциональные возможности"

msgid ""
"The primary purpose of :term:`streams <stream>` is to execute transactions "
Expand Down Expand Up @@ -80,6 +80,15 @@ msgstr ""
"поддержкой стримов. Используя стримы с пользовательским коннектором, "
"необходимо передавать ``stream_id`` через протокол iproto."

msgid ""
"Streams only work if the ``box.cfg{}`` option :ref:`memtx_use_mvcc_engine "
patiencedaur marked this conversation as resolved.
Show resolved Hide resolved
"<cfg_basic-memtx_use_mvcc_engine>` is enabled on the server: "
"``memtx_use_mvcc_engine = true``."
msgstr ""
"Для работы стримов необходимо включить параметр ``box.cfg{}`` :ref: "
"`memtx_use_mvcc_engine <cfg_basic-memtx_use_mvcc_engine>` на сервере: "
"``memtx_use_mvcc_engine = true``."

msgid "Interaction between streams and transactions"
msgstr "Взаимодействие между стримами и транзакциями"

Expand Down Expand Up @@ -122,15 +131,15 @@ msgid ""
"\n"
"-- Begin transaction over an iproto stream:\n"
"stream:begin()\n"
"space:replace({1})\n"
"stream_space:replace({1})\n"
"\n"
"-- Empty select, the transaction was not committed.\n"
"-- You can't see it from the requests that do not belong to the\n"
"-- transaction.\n"
"conn_space:select{}\n"
"\n"
"-- Select returns the previously inserted tuple,\n"
"-- because this select belongs to the transaction:\n"
"conn_space:select{}\n"
"stream_space:select({})\n"
"\n"
"-- Commit transaction:\n"
Expand All @@ -146,7 +155,7 @@ msgstr ""
"\n"
"-- Начать транзакцию через поток iproto:\n"
"stream:begin()\n"
"space:replace({1})\n"
"stream_space:replace({1})\n"
"\n"
"-- Пустой select, коммит транзакции не выполнен.\n"
"-- Ее нельзя увидеть из запросов, не относящихся\n"
Expand Down