what process exactly happens when rollback is called in transaction