However, the compensation logic is added when the cancellation happens.
但在取消时添加了补偿逻辑。
This allows releasing locks once an enclosed activity completes, but one has to run compensation logic to undo already completed actions.
它允许在包括的活动完成后释放锁,但您必须运行补偿逻辑来撤销已完成的操作。
Thus, any transactional request applications using these classes will have to be carefully designed and adequate compensation logic utilized to ensure a consistent outcome.
因而,必须仔细设计任何使用这些类的事务请求应用程序,并且利用足够的补偿逻辑(compensation logic )确保一致的结果。
应用推荐