coolbeevip commented on issue #582: omega执行补偿命令失败,alpha命令状态处于pending状态,无法自愈自动重试吗 URL: https://github.com/apache/servicecomb-pack/issues/582#issuecomment-549274167 > omega的补偿命令本身是可能执行失败的,alpha端命令的状态处于pending状态,此时服务端不会重新下发命令,但是客户端执行失败是有可能整个服务crash,最后也无法本地重试。最后会导致整个补偿事务一直pending。 我印象中补偿注解 @Compensable 有一个参数 retries 可以控制重试次数,非状态机模式下我没有验证过。 在状态机模式下应该是超过重试次数后会吧这笔事物设置成挂起状态。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
