Begin the transaction. Disable implicit yields until the transaction ends. Signal that writes to the write-ahead log will be deferred until the transaction ends. In effect the fiber which executes
box.begin()is starting an “active multi-request transaction”, blocking all other fibers.
- txn_isolation – transaction isolation level
- error if this operation is not permitted because there is already an active transaction.
- error if for some reason memory cannot be allocated.