Closed
Description
Product: Tarantool
Root document:
- https://www.tarantool.io/en/doc/latest/book/box/triggers/
- https://www.tarantool.io/ru/doc/latest/book/box/triggers/
SME: @ alyapunov
Details
The paragraph in question:
Triggers must work within the event context. However, effects are undefined if a function contains requests which normally could not occur immediately after the event, but only before the return from the event. For example, putting os.exit() or box.rollback() in a trigger function would be bringing in requests outside the event context.
From the feedback:
<…>rollback() в триггерной функции, запросы не будут выполняться в |контексте события|.
Триггеры можно заменять. Запрос на «замену триггера» подразуме<…>
Вообще не понятно, что написано в этом абзаце
ToDo
- First, check if the info in the English version is correct and sufficient. If not, rewrite and add details.
- In any case, check the Russian translation and, if necessary, correct it.