Tarantool CE/EE Documentation portal logo
Support
Updated at October 21, 2026   10:46 AM

box.on_rollback()

box.on_rollback(trigger-function [, old-trigger-function])

Define a trigger for execution when a transaction ends due to an event such as /reference/reference_lua/box_txn_management/rollback.

The parameters and warnings are exactly the same as for /reference/reference_lua/box_txn_management/on_commit.