Top.Mail.Ru
box.on_rollback() | Tarantool
Tarantool
Check out the new release 2.8

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 box.rollback().

The parameters and warnings are exactly the same as for box.on_commit().