upon successful completion of the block a commit is performed whereas otherwise a rollback is performed.