Skip to content

Commit ae9aaf0

Browse files
authored
Add a note about truncate bug resolution (#3098)
Resolves #2599 Thanks to Alexander Turenko for suggesting to add this improvement.
1 parent 4fd14d6 commit ae9aaf0

File tree

2 files changed

+8
-3
lines changed
  • doc/reference/reference_lua/box_space
  • locale/ru/LC_MESSAGES/reference/reference_lua/box_space

2 files changed

+8
-3
lines changed

doc/reference/reference_lua/box_space/truncate.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ space_object:truncate()
2424
Read more about `setuid` functions in the reference for
2525
:doc:`/reference/reference_lua/box_schema/func_create`.
2626

27-
The ``truncate`` method cannot be called from within a transaction.
27+
.. note::
28+
29+
Do not call this method within a transaction in
30+
Tarantool older than :tarantool-release:`2.10.0`. See :tarantool-issue:`6123` for details.
2831

2932
**Example:**
3033

locale/ru/LC_MESSAGES/reference/reference_lua/box_space/truncate.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ msgstr ""
3939
"`setuid` можно получить в справочнике по for "
4040
":doc:`/reference/reference_lua/box_schema/func_create`."
4141

42-
msgid "The ``truncate`` method cannot be called from within a transaction."
43-
msgstr "Метод ``truncate`` нельзя вызвать из транзакции."
42+
msgid "Do not call this method within a transaction in "
43+
"Tarantool older than :tarantool-release:`2.10.0`. See :tarantool-issue:`6123` for details."
44+
msgstr "В версиях Tarantool старше :tarantool-release:`2.10.0` "
45+
"не следует вызывать ``truncate`` из транзакции. Подробности в тикете :tarantool-issue:`6123`."
4446

4547
msgid "**Example:**"
4648
msgstr "**Пример:**"

0 commit comments

Comments
 (0)