box.on_rollback() | Tarantool

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

Found what you were looking for?
Feedback