That Either You Roll 那要么你滚
Either commit or roll back your transaction before resubmitting the request.
在重新提交请求之前要提交或回滚事务。
If either the database update or the MQ enqueuing fails, then the entire transaction should roll back.
无论是数据库更新或是 MQ 队列产生错误,整个事务都应被取消。
In a write transaction, all changes must either all commit or all roll back.
在写事务中,所有的变更必须全部提交或者全部回滚。
应用推荐